[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 037/100] target/arm: Implement SVE2 bitwise shift and insert
From: |
Richard Henderson |
Subject: |
[PATCH v2 037/100] target/arm: Implement SVE2 bitwise shift and insert |
Date: |
Wed, 17 Jun 2020 21:25:41 -0700 |
Signed-off-by: Richard Henderson <richard.henderson@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 7783e9f0d3..90a9d6552a 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 3dcc67740f..2bc20503e7 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -5994,3 +5994,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.25.1
- [PATCH v2 029/100] target/arm: Tidy SVE tszimm shift formats, (continued)
- [PATCH v2 029/100] target/arm: Tidy SVE tszimm shift formats, Richard Henderson, 2020/06/18
- [PATCH v2 027/100] target/arm: Implement SVE2 integer multiply long, Richard Henderson, 2020/06/18
- [PATCH v2 028/100] target/arm: Implement PMULLB and PMULLT, Richard Henderson, 2020/06/18
- [PATCH v2 030/100] target/arm: Implement SVE2 bitwise shift left long, Richard Henderson, 2020/06/18
- [PATCH v2 033/100] target/arm: Implement SVE2 complex integer add, Richard Henderson, 2020/06/18
- [PATCH v2 034/100] target/arm: Implement SVE2 integer absolute difference and accumulate long, Richard Henderson, 2020/06/18
- [PATCH v2 035/100] target/arm: Implement SVE2 integer add/subtract long with carry, Richard Henderson, 2020/06/18
- [PATCH v2 036/100] target/arm: Implement SVE2 bitwise shift right and accumulate, Richard Henderson, 2020/06/18
- [PATCH v2 031/100] target/arm: Implement SVE2 bitwise exclusive-or interleaved, Richard Henderson, 2020/06/18
- [PATCH v2 032/100] target/arm: Implement SVE2 bitwise permute, Richard Henderson, 2020/06/18
- [PATCH v2 037/100] target/arm: Implement SVE2 bitwise shift and insert,
Richard Henderson <=
- [PATCH v2 038/100] target/arm: Implement SVE2 integer absolute difference and accumulate, Richard Henderson, 2020/06/18
- [PATCH v2 039/100] target/arm: Implement SVE2 saturating extract narrow, Richard Henderson, 2020/06/18
- [PATCH v2 040/100] target/arm: Implement SVE2 floating-point pairwise, Richard Henderson, 2020/06/18
- [PATCH v2 041/100] target/arm: Implement SVE2 SHRN, RSHRN, Richard Henderson, 2020/06/18
- [PATCH v2 042/100] target/arm: Implement SVE2 SQSHRUN, SQRSHRUN, Richard Henderson, 2020/06/18
- [PATCH v2 043/100] target/arm: Implement SVE2 UQSHRN, UQRSHRN, Richard Henderson, 2020/06/18
- [PATCH v2 044/100] target/arm: Implement SVE2 SQSHRN, SQRSHRN, Richard Henderson, 2020/06/18
- [PATCH v2 045/100] target/arm: Implement SVE2 WHILEGT, WHILEGE, WHILEHI, WHILEHS, Richard Henderson, 2020/06/18
- [PATCH v2 046/100] target/arm: Implement SVE2 WHILERW, WHILEWR, Richard Henderson, 2020/06/18
- [PATCH v2 048/100] target/arm: Implement SVE2 MATCH, NMATCH, Richard Henderson, 2020/06/18