|
From: | Richard Henderson |
Subject: | Re: [PATCH 05/12] target/ppc: Move VPRTYB[WDQ] to decodetree and use gvec |
Date: | Sat, 24 Sep 2022 14:29:11 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/23/22 21:47, Lucas Mateus Castro(alqotel) wrote:
+ /* MO_32 is 2, so 2 iteractions for MO_32 and 3 for MO_64 */ + for (i = 0; i < vece; i++) { + tcg_gen_shri_vec(vece, tmp, b, (4 << (vece - i))); + tcg_gen_xor_vec(vece, b, tmp, b); + } + tcg_gen_dupi_vec(vece, tmp, 1); + tcg_gen_and_vec(vece, t, b, tmp);
tcg_constant_vec_matching. With that, Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Also, could implement the .fni4 and .fni8 functions.
[Prev in Thread] | Current Thread | [Next in Thread] |