[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 044/114] target/arm: Implement SVE2 bitwise shift and insert
From: |
Peter Maydell |
Subject: |
[PULL 044/114] target/arm: Implement SVE2 bitwise shift and insert |
Date: |
Tue, 25 May 2021 16:02:14 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210525010358.152808-23-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/sve.decode | 5 +++++
target/arm/translate-sve.c | 10 ++++++++++
2 files changed, 15 insertions(+)
diff --git a/target/arm/sve.decode b/target/arm/sve.decode
index d3c4ec6dd12..695a16551e7 100644
--- a/target/arm/sve.decode
+++ b/target/arm/sve.decode
@@ -1261,3 +1261,8 @@ SSRA 01000101 .. 0 ..... 1110 00 ..... .....
@rd_rn_tszimm_shr
USRA 01000101 .. 0 ..... 1110 01 ..... ..... @rd_rn_tszimm_shr
SRSRA 01000101 .. 0 ..... 1110 10 ..... ..... @rd_rn_tszimm_shr
URSRA 01000101 .. 0 ..... 1110 11 ..... ..... @rd_rn_tszimm_shr
+
+## SVE2 bitwise shift and insert
+
+SRI 01000101 .. 0 ..... 11110 0 ..... ..... @rd_rn_tszimm_shr
+SLI 01000101 .. 0 ..... 11110 1 ..... ..... @rd_rn_tszimm_shl
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index 1f93b1e3fe3..5e42ba350e6 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -6428,3 +6428,13 @@ static bool trans_URSRA(DisasContext *s, arg_rri_esz *a)
{
return do_sve2_fn2i(s, a, gen_gvec_ursra);
}
+
+static bool trans_SRI(DisasContext *s, arg_rri_esz *a)
+{
+ return do_sve2_fn2i(s, a, gen_gvec_sri);
+}
+
+static bool trans_SLI(DisasContext *s, arg_rri_esz *a)
+{
+ return do_sve2_fn2i(s, a, gen_gvec_sli);
+}
--
2.20.1
- [PULL 041/114] target/arm: Implement SVE2 integer absolute difference and accumulate long, (continued)
- [PULL 041/114] target/arm: Implement SVE2 integer absolute difference and accumulate long, Peter Maydell, 2021/05/25
- [PULL 049/114] target/arm: Implement SVE2 SQSHRUN, SQRSHRUN, Peter Maydell, 2021/05/25
- [PULL 046/114] target/arm: Implement SVE2 saturating extract narrow, Peter Maydell, 2021/05/25
- [PULL 050/114] target/arm: Implement SVE2 UQSHRN, UQRSHRN, Peter Maydell, 2021/05/25
- [PULL 053/114] target/arm: Implement SVE2 WHILERW, WHILEWR, Peter Maydell, 2021/05/25
- [PULL 052/114] target/arm: Implement SVE2 WHILEGT, WHILEGE, WHILEHI, WHILEHS, Peter Maydell, 2021/05/25
- [PULL 055/114] target/arm: Implement SVE2 MATCH, NMATCH, Peter Maydell, 2021/05/25
- [PULL 042/114] target/arm: Implement SVE2 integer add/subtract long with carry, Peter Maydell, 2021/05/25
- [PULL 057/114] target/arm: Implement SVE2 saturating multiply-add high, Peter Maydell, 2021/05/25
- [PULL 061/114] target/arm: Implement SVE2 RADDHNB, RADDHNT, Peter Maydell, 2021/05/25
- [PULL 044/114] target/arm: Implement SVE2 bitwise shift and insert,
Peter Maydell <=
- [PULL 043/114] target/arm: Implement SVE2 bitwise shift right and accumulate, Peter Maydell, 2021/05/25
- [PULL 035/114] target/arm: Implement SVE2 integer multiply long, Peter Maydell, 2021/05/25
- [PULL 048/114] target/arm: Implement SVE2 SHRN, RSHRN, Peter Maydell, 2021/05/25
- [PULL 045/114] target/arm: Implement SVE2 integer absolute difference and accumulate, Peter Maydell, 2021/05/25
- [PULL 051/114] target/arm: Implement SVE2 SQSHRN, SQRSHRN, Peter Maydell, 2021/05/25
- [PULL 056/114] target/arm: Implement SVE2 saturating multiply-add long, Peter Maydell, 2021/05/25
- [PULL 054/114] target/arm: Implement SVE2 bitwise ternary operations, Peter Maydell, 2021/05/25
- [PULL 058/114] target/arm: Implement SVE2 integer multiply-add long, Peter Maydell, 2021/05/25
- [PULL 060/114] target/arm: Implement SVE2 ADDHNB, ADDHNT, Peter Maydell, 2021/05/25
- [PULL 063/114] target/arm: Implement SVE2 RSUBHNB, RSUBHNT, Peter Maydell, 2021/05/25