aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate-sve.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-08-28 19:33:10 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-09-01 11:19:32 +0100
commitb684e49a17da39539b0ac6e4c4c98b28b38feb76 (patch)
tree8b07f5808911ad675ad1252d9ad49ccea9ac78d6 /target/arm/translate-sve.c
parent2f4c51c0f384d7888a04b4815861e6d5fd244d75 (diff)
downloadqemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.zip
qemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.tar.gz
qemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.tar.bz2
target/arm: Remove local definitions of float constants
In several places the target/arm code defines local float constants for 2, 3 and 1.5, which are also provided by include/fpu/softfloat.h. Remove the unnecessary local duplicate versions. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200828183354.27913-2-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/translate-sve.c')
-rw-r--r--target/arm/translate-sve.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index 15ad6c7..e4cd6b6 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -3803,10 +3803,6 @@ static bool trans_##NAME##_zpzi(DisasContext *s, arg_rpri_esz *a) \
return true; \
}
-#define float16_two make_float16(0x4000)
-#define float32_two make_float32(0x40000000)
-#define float64_two make_float64(0x4000000000000000ULL)
-
DO_FP_IMM(FADD, fadds, half, one)
DO_FP_IMM(FSUB, fsubs, half, one)
DO_FP_IMM(FMUL, fmuls, half, two)