target/arm: Implement VFP fp16 for VABS, VNEG, VSQRT
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 18:33:17 +0000 (19:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Sep 2020 10:19:32 +0000 (11:19 +0100)
commitce2d65a5d191380756cdac7a1fd1ba76bd1621cf
tree8500244499efa7a7ed32162a935703c71347494e
parent009a07335b8ff492d940e1eb229a1b0d302c2512
target/arm: Implement VFP fp16 for VABS, VNEG, VSQRT

Implement VFP fp16 for VABS, VNEG and VSQRT. This is all
the fp16 insns that use the DO_VFP_2OP macro, because there
is no fp16 version of VMOV_reg.

Notes:
 * the gen_helper_vfp_negh already exists as we needed to create
   it for the fp16 multiply-add insns
 * as usual we need to use the f16 version of the fp_status;
   this is only relevant for VSQRT

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200828183354.27913-9-peter.maydell@linaro.org
target/arm/helper.h
target/arm/translate-vfp.c.inc
target/arm/vfp.decode
target/arm/vfp_helper.c