On 9/23/22 21:47, Lucas Mateus Castro(alqotel) wrote:
+static void gen_VADDCUW(unsigned vece, TCGv_vec t, TCGv_vec a, TCGv_vec b) +{ + tcg_gen_not_vec(vece, a, a); + tcg_gen_cmp_vec(TCG_COND_LTU, vece, t, a, b); + tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(t, vece, 1)); +}
I wondered about negate instead of masking the low bit, but either works. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~