[Qemu-devel] [PATCH v2 22/32] arm/translate-a64: add FP16 FNEG/FABS to simd_two_reg_misc_fp16
As these operations doesn't use the fpstatus pointer we can be smarter about allocating it. The negh can also be done with a bitwise xor rather than calling a helper. Signed-off-by: Alex Bennée --- target/arm/translate-a64.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/tar
Re: [Qemu-devel] [PATCH v2 22/32] arm/translate-a64: add FP16 FNEG/FABS to simd_two_reg_misc_fp16
On 02/08/2018 09:31 AM, Alex Bennée wrote: > +case 0x2f: /* FABS */ > +gen_helper_advsimd_absh(tcg_res, tcg_op); > +break; > +case 0x6f: /* FNEG */ > +tcg_gen_xori_i32(tcg_res, tcg_op, 0x8000); > +break; Why is