On 01/17/2014 10:44 AM, Peter Maydell wrote:
> +            /* AND, BIC, ORR, ORN */
> +            if (extract32(size, 0, 1)) {
> +                tcg_gen_not_i64(tcg_op2, tcg_op2);
> +            }
> +            if (extract32(size, 1, 1)) {
> +                tcg_gen_or_i64(tcg_res[pass], tcg_op1, tcg_op2);
> +            } else {
> +                tcg_gen_and_i64(tcg_res[pass], tcg_op1, tcg_op2);
> +            }

It would be worthwhile to generate andc and orc directly instead
of a separate not.


r~

Reply via email to