On 2/22/22 04:36, matheus.fe...@eldorado.org.br wrote:
+ tcg_gen_and_i64(tmp, mask, xb); + tcg_gen_movcond_i64(TCG_COND_EQ, all_true, tmp, + mask, all_true, zero); + + tcg_gen_andc_i64(tmp, mask, xb); + tcg_gen_movcond_i64(TCG_COND_EQ, all_false, tmp, + mask, all_false, zero);
I would unroll this and use fewer conditions. t0 = mask & xb[0] t1 = mask & xb[1] o2 = t0 | t1 a2 = t0 & t1 o2 = (o2 == 0) << 1 a2 = (a2 == mask) << 3 crf = o2 | a2 r~