OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac4fb24
)
target/arm: Use TRANS_FEAT for do_clast_general
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 27 May 2022 18:18:15 +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-63-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
21c2bd0
..
f5453e9
100644
(file)
--- a/
target/arm/translate-sve.c
+++ b/
target/arm/translate-sve.c
@@
-2575,15
+2575,8
@@
static bool do_clast_general(DisasContext *s, arg_rpr_esz *a, bool before)
return true;
}
-static bool trans_CLASTA_r(DisasContext *s, arg_rpr_esz *a)
-{
- return do_clast_general(s, a, false);
-}
-
-static bool trans_CLASTB_r(DisasContext *s, arg_rpr_esz *a)
-{
- return do_clast_general(s, a, true);
-}
+TRANS_FEAT(CLASTA_r, aa64_sve, do_clast_general, a, false)
+TRANS_FEAT(CLASTB_r, aa64_sve, do_clast_general, a, true)
/* Compute LAST for a scalar. */
static TCGv_i64 do_last_scalar(DisasContext *s, int esz,