[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 069/100] target/arm: Split out formats for 2 vectors + 1 index
From: |
Richard Henderson |
Subject: |
[PATCH v2 069/100] target/arm: Split out formats for 2 vectors + 1 index |
Date: |
Wed, 17 Jun 2020 21:26:13 -0700 |
Currently only used by FMUL, but will shortly be used more.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/sve.decode | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/target/arm/sve.decode b/target/arm/sve.decode
index 5815ba9b1c..a121e55f07 100644
--- a/target/arm/sve.decode
+++ b/target/arm/sve.decode
@@ -67,6 +67,7 @@
&rri_esz rd rn imm esz
&rrri_esz rd rn rm imm esz
&rrr_esz rd rn rm esz
+&rrx_esz rd rn rm index esz
&rpr_esz rd pg rn esz
&rpr_s rd pg rn s
&rprr_s rd pg rn rm s
@@ -245,6 +246,14 @@
@rpri_scatter_store ....... msz:2 .. imm:5 ... pg:3 rn:5 rd:5 \
&rpri_scatter_store
+# Two registers and a scalar by index
+@rrx_h ........ 0. . .. rm:3 ...... rn:5 rd:5 \
+ &rrx_esz index=%index3_22_19 esz=1
+@rrx_s ........ 10 . index:2 rm:3 ...... rn:5 rd:5 \
+ &rrx_esz esz=2
+@rrx_d ........ 11 . index:1 rm:4 ...... rn:5 rd:5 \
+ &rrx_esz esz=3
+
###########################################################################
# Instruction patterns. Grouped according to the SVE encodingindex.xhtml.
@@ -792,10 +801,9 @@ FMLA_zzxz 01100100 111 index:1 rm:4 00000 sub:1 rn:5
rd:5 \
### SVE FP Multiply Indexed Group
# SVE floating-point multiply (indexed)
-FMUL_zzx 01100100 0.1 .. rm:3 001000 rn:5 rd:5 \
- index=%index3_22_19 esz=1
-FMUL_zzx 01100100 101 index:2 rm:3 001000 rn:5 rd:5 esz=2
-FMUL_zzx 01100100 111 index:1 rm:4 001000 rn:5 rd:5 esz=3
+FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_h
+FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_s
+FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_d
### SVE FP Fast Reduction Group
--
2.25.1
- [PATCH v2 058/100] target/arm: Implement SVE2 HISTCNT, HISTSEG, (continued)
- [PATCH v2 058/100] target/arm: Implement SVE2 HISTCNT, HISTSEG, Richard Henderson, 2020/06/18
- [PATCH v2 059/100] target/arm: Implement SVE2 XAR, Richard Henderson, 2020/06/18
- [PATCH v2 060/100] target/arm: Implement SVE2 scatter store insns, Richard Henderson, 2020/06/18
- [PATCH v2 063/100] target/arm: Implement SVE2 SPLICE, EXT, Richard Henderson, 2020/06/18
- [PATCH v2 062/100] target/arm: Implement SVE2 FMMLA, Richard Henderson, 2020/06/18
- [PATCH v2 064/100] target/arm: Fix sve_uzp_p vs odd vector lengths, Richard Henderson, 2020/06/18
- [PATCH v2 061/100] target/arm: Implement SVE2 gather load insns, Richard Henderson, 2020/06/18
- [PATCH v2 065/100] target/arm: Fix sve_zip_p vs odd vector lengths, Richard Henderson, 2020/06/18
- [PATCH v2 066/100] target/arm: Fix sve_punpk_p vs odd vector lengths, Richard Henderson, 2020/06/18
- [PATCH v2 067/100] target/arm: Pass separate addend to {U, S}DOT helpers, Richard Henderson, 2020/06/18
- [PATCH v2 069/100] target/arm: Split out formats for 2 vectors + 1 index,
Richard Henderson <=
- [PATCH v2 068/100] target/arm: Pass separate addend to FCMLA helpers, Richard Henderson, 2020/06/18
- [PATCH v2 070/100] target/arm: Split out formats for 3 vectors + 1 index, Richard Henderson, 2020/06/18
- [PATCH v2 071/100] target/arm: Implement SVE2 integer multiply (indexed), Richard Henderson, 2020/06/18
- [PATCH v2 072/100] target/arm: Use helper_gvec_mul_idx_* for aa64 advsimd, Richard Henderson, 2020/06/18
- [PATCH v2 075/100] target/arm: Implement SVE2 saturating multiply-add high (indexed), Richard Henderson, 2020/06/18
- [PATCH v2 079/100] target/arm: Implement SVE2 signed saturating doubling multiply high, Richard Henderson, 2020/06/18
- [PATCH v2 076/100] target/arm: Implement SVE2 saturating multiply-add (indexed), Richard Henderson, 2020/06/18
- [PATCH v2 078/100] target/arm: Implement SVE2 saturating multiply (indexed), Richard Henderson, 2020/06/18
- [PATCH v2 074/100] target/arm: Use helper_gvec_ml{a, s}_idx_* for aa64 advsimd, Richard Henderson, 2020/06/18
- [PATCH v2 073/100] target/arm: Implement SVE2 integer multiply-add (indexed), Richard Henderson, 2020/06/18