summaryrefslogtreecommitdiffstats
path: root/target/arm/translate-sve.c
diff options
context:
space:
mode:
authorPeter Maydell2020-08-28 20:33:10 +0200
committerPeter Maydell2020-09-01 12:19:32 +0200
commitb684e49a17da39539b0ac6e4c4c98b28b38feb76 (patch)
tree8b07f5808911ad675ad1252d9ad49ccea9ac78d6 /target/arm/translate-sve.c
parentMerge remote-tracking branch 'remotes/kraxel/tags/usb-20200831-pull-request' ... (diff)
downloadqemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.tar.gz
qemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.tar.xz
qemu-b684e49a17da39539b0ac6e4c4c98b28b38feb76.zip
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 15ad6c7d32..e4cd6b6251 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)