summaryrefslogtreecommitdiffstats
path: root/target/arm/helper-a64.h
diff options
context:
space:
mode:
authorAlex Bennée2018-05-15 15:58:43 +0200
committerPeter Maydell2018-05-15 15:58:43 +0200
commit7a1929256ea1a03df12625e75ed571c60dca5bfb (patch)
tree464828ef5adb80c4c9533afb5c03bd4ac1b83caa /target/arm/helper-a64.h
parenttarget/arm: Implement FP data-processing (3 source) for fp16 (diff)
downloadqemu-7a1929256ea1a03df12625e75ed571c60dca5bfb.tar.gz
qemu-7a1929256ea1a03df12625e75ed571c60dca5bfb.tar.xz
qemu-7a1929256ea1a03df12625e75ed571c60dca5bfb.zip
target/arm: Implement FCMP for fp16
These where missed out from the rest of the half-precision work. Cc: qemu-stable@nongnu.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180512003217.9105-9-richard.henderson@linaro.org [rth: Diagnose lack of FP16 before fp_access_check] Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/helper-a64.h')
-rw-r--r--target/arm/helper-a64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/helper-a64.h b/target/arm/helper-a64.h
index b8028ac98c..9d3a907049 100644
--- a/target/arm/helper-a64.h
+++ b/target/arm/helper-a64.h
@@ -19,6 +19,8 @@
DEF_HELPER_FLAGS_2(udiv64, TCG_CALL_NO_RWG_SE, i64, i64, i64)
DEF_HELPER_FLAGS_2(sdiv64, TCG_CALL_NO_RWG_SE, s64, s64, s64)
DEF_HELPER_FLAGS_1(rbit64, TCG_CALL_NO_RWG_SE, i64, i64)
+DEF_HELPER_3(vfp_cmph_a64, i64, f16, f16, ptr)
+DEF_HELPER_3(vfp_cmpeh_a64, i64, f16, f16, ptr)
DEF_HELPER_3(vfp_cmps_a64, i64, f32, f32, ptr)
DEF_HELPER_3(vfp_cmpes_a64, i64, f32, f32, ptr)
DEF_HELPER_3(vfp_cmpd_a64, i64, f64, f64, ptr)