Re: [Qemu-devel] [PATCH] target/s390x: Use tcg_gen_gvec_bitsel

2019-06-04 Thread David Hildenbrand
On 03.06.19 23:59, Richard Henderson wrote: > On 6/3/19 2:41 PM, David Hildenbrand wrote: >>> -static void gen_sel_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b, >>> -TCGv_vec c) >>> -{ >>> -TCGv_vec t = tcg_temp_new_vec_matching(d); >>> - >>> -tcg_gen_andc_v

Re: [Qemu-devel] [PATCH] target/s390x: Use tcg_gen_gvec_bitsel

2019-06-03 Thread Richard Henderson
On 6/3/19 2:41 PM, David Hildenbrand wrote: >> -static void gen_sel_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b, >> -TCGv_vec c) >> -{ >> -TCGv_vec t = tcg_temp_new_vec_matching(d); >> - >> -tcg_gen_andc_vec(vece, t, b, c); >> -tcg_gen_and_vec(vece, d,

Re: [Qemu-devel] [PATCH] target/s390x: Use tcg_gen_gvec_bitsel

2019-06-03 Thread David Hildenbrand
On 03.06.19 18:57, Richard Henderson wrote: > This replaces the target-specific implementations for VSEL. > > Signed-off-by: Richard Henderson > --- > target/s390x/translate_vx.inc.c | 38 ++--- > 1 file changed, 6 insertions(+), 32 deletions(-) > > diff --git a/targ

[Qemu-devel] [PATCH] target/s390x: Use tcg_gen_gvec_bitsel

2019-06-03 Thread Richard Henderson
This replaces the target-specific implementations for VSEL. Signed-off-by: Richard Henderson --- target/s390x/translate_vx.inc.c | 38 ++--- 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.