projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0b37e
)
target/arm: Use TRANS_FEAT for FMLA
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 27 May 2022 18:18:36 +0000
(11:18 -0700)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 30 May 2022 16:05:09 +0000
(17:05 +0100)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id:
20220527181907
.189259-84-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-sve.c
patch
|
blob
|
history
diff --git
a/target/arm/translate-sve.c
b/target/arm/translate-sve.c
index 6e8d8d54bfe189d5f62aadaa25d1ece21a739e55..5aa3e477cfb2d7d88c0339e53675854446ab4304 100644
(file)
--- a/
target/arm/translate-sve.c
+++ b/
target/arm/translate-sve.c
@@
-3521,15
+3521,8
@@
static bool do_FMLA_zzxz(DisasContext *s, arg_rrxr_esz *a, bool sub)
a->esz == MO_16 ? FPST_FPCR_F16 : FPST_FPCR);
}
-static bool trans_FMLA_zzxz(DisasContext *s, arg_FMLA_zzxz *a)
-{
- return do_FMLA_zzxz(s, a, false);
-}
-
-static bool trans_FMLS_zzxz(DisasContext *s, arg_FMLA_zzxz *a)
-{
- return do_FMLA_zzxz(s, a, true);
-}
+TRANS_FEAT(FMLA_zzxz, aa64_sve, do_FMLA_zzxz, a, false)
+TRANS_FEAT(FMLS_zzxz, aa64_sve, do_FMLA_zzxz, a, true)
/*
*** SVE Floating Point Multiply Indexed Group