mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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
This commit is contained in:
parent
009a07335b
commit
ce2d65a5d1
4 changed files with 55 additions and 0 deletions
|
@ -128,8 +128,10 @@ DEF_HELPER_3(vfp_minnumd, f64, f64, f64, ptr)
|
|||
DEF_HELPER_1(vfp_negh, f16, f16)
|
||||
DEF_HELPER_1(vfp_negs, f32, f32)
|
||||
DEF_HELPER_1(vfp_negd, f64, f64)
|
||||
DEF_HELPER_1(vfp_absh, f16, f16)
|
||||
DEF_HELPER_1(vfp_abss, f32, f32)
|
||||
DEF_HELPER_1(vfp_absd, f64, f64)
|
||||
DEF_HELPER_2(vfp_sqrth, f16, f16, env)
|
||||
DEF_HELPER_2(vfp_sqrts, f32, f32, env)
|
||||
DEF_HELPER_2(vfp_sqrtd, f64, f64, env)
|
||||
DEF_HELPER_3(vfp_cmps, void, f32, f32, env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue