diff options
author | Peter Maydell | 2020-08-28 20:33:40 +0200 |
---|---|---|
committer | Peter Maydell | 2020-09-01 12:37:51 +0200 |
commit | cf722d75b329ef3f86b869e7e68cbfb1607b3bde (patch) | |
tree | 0e89c4302fc0ac3c46ef46e7d84ce3e4c5b606f5 /target/arm/helper.h | |
parent | target/arm: Implement fp16 for Neon VMLA, VMLS operations (diff) | |
download | qemu-cf722d75b329ef3f86b869e7e68cbfb1607b3bde.tar.gz qemu-cf722d75b329ef3f86b869e7e68cbfb1607b3bde.tar.xz qemu-cf722d75b329ef3f86b869e7e68cbfb1607b3bde.zip |
target/arm: Implement fp16 for Neon VFMA, VMFS
Convert the neon floating-point vector operations VFMA and VFMS
to use a gvec helper, and use this to implement the fp16 case.
This is the last use of do_3same_fp() so we can now delete
that function.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200828183354.27913-32-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/helper.h')
-rw-r--r-- | target/arm/helper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/arm/helper.h b/target/arm/helper.h index 6f6c96711b..e6f65c7461 100644 --- a/target/arm/helper.h +++ b/target/arm/helper.h @@ -665,6 +665,12 @@ DEF_HELPER_FLAGS_5(gvec_fmla_s, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_5(gvec_fmls_h, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_5(gvec_fmls_s, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5(gvec_vfma_h, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5(gvec_vfma_s, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) + +DEF_HELPER_FLAGS_5(gvec_vfms_h, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5(gvec_vfms_s, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) + DEF_HELPER_FLAGS_5(gvec_ftsmul_h, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_5(gvec_ftsmul_s, TCG_CALL_NO_RWG, |