On 9/20/21 1:04 AM, WANG Xuerui wrote:
+    case INDEX_op_andc_i32:
+    case INDEX_op_andc_i64:
+        tcg_out_opc_andn(s, a0, a1, a2);
+        break;

You may want to add the constant case here, implemented with andi, with the constant inverted, similarly to the negation of the N constraint. We do not (but probably should) canonicalize andc/orc/eqv constants to and/or/xor during optimization...

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to