projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c673404
)
target/arm: Use TRANS_FEAT for do_last_fp
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 27 May 2022 18:18:16 +0000
(11:18 -0700)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 30 May 2022 16:05:08 +0000
(17:05 +0100)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id:
20220527181907
.189259-64-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 f5453e99e1568b2d8d4ae1f38627ba1550101e5a..841c1b564490ed41d100f6d38b344e1983a99501 100644
(file)
--- a/
target/arm/translate-sve.c
+++ b/
target/arm/translate-sve.c
@@
-2608,15
+2608,8
@@
static bool do_last_fp(DisasContext *s, arg_rpr_esz *a, bool before)
return true;
}
-static bool trans_LASTA_v(DisasContext *s, arg_rpr_esz *a)
-{
- return do_last_fp(s, a, false);
-}
-
-static bool trans_LASTB_v(DisasContext *s, arg_rpr_esz *a)
-{
- return do_last_fp(s, a, true);
-}
+TRANS_FEAT(LASTA_v, aa64_sve, do_last_fp, a, false)
+TRANS_FEAT(LASTB_v, aa64_sve, do_last_fp, a, true)
/* Compute LAST for a Xreg. */
static bool do_last_general(DisasContext *s, arg_rpr_esz *a, bool before)