Re: [Qemu-devel] [PATCH v1 06/23] s390x/tcg: Implement VECTOR FP COMPARE (EQUAL|HIGH|HIGH OR EQUAL)

2019-05-31 Thread David Hildenbrand
On 31.05.19 18:53, Richard Henderson wrote: > On 5/31/19 5:44 AM, David Hildenbrand wrote: >> +static int vfc64(S390Vector *v1, const S390Vector *v2, const S390Vector *v3, >> + CPUS390XState *env, bool s, bool test_equal, bool >> test_high, >> + uintptr_t retaddr) >

Re: [Qemu-devel] [PATCH v1 06/23] s390x/tcg: Implement VECTOR FP COMPARE (EQUAL|HIGH|HIGH OR EQUAL)

2019-05-31 Thread Richard Henderson
On 5/31/19 5:44 AM, David Hildenbrand wrote: > +static int vfc64(S390Vector *v1, const S390Vector *v2, const S390Vector *v3, > + CPUS390XState *env, bool s, bool test_equal, bool test_high, > + uintptr_t retaddr) > +{ > +uint8_t vxc, vec_exc = 0; > +S390Vecto

[Qemu-devel] [PATCH v1 06/23] s390x/tcg: Implement VECTOR FP COMPARE (EQUAL|HIGH|HIGH OR EQUAL)

2019-05-31 Thread David Hildenbrand
Provide for all three instructions all four combinations of cc bit and s bit. Signed-off-by: David Hildenbrand --- target/s390x/helper.h | 12 target/s390x/insn-data.def | 6 ++ target/s390x/translate_vx.inc.c | 51 +++ target/s390x/vec_fpu_helper.c | 107 ++