[binutils-gdb] Arm64: correct uzp{1,2} mnemonics

Jan Beulich jbeulich@sourceware.org
Fri Jan 3 09:17:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c45011acd7a589c306e74563d00fb3fa5c14bbd

commit 8c45011acd7a589c306e74563d00fb3fa5c14bbd
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 3 10:13:31 2020 +0100

    Arm64: correct uzp{1,2} mnemonics
    
    According to the specification, and in line with the pre-existing
    predicate forms, the mnemonics do not include an 'i'.

Diff:
---
 gas/ChangeLog                     | 5 +++++
 gas/testsuite/gas/aarch64/f64mm.d | 8 ++++----
 gas/testsuite/gas/aarch64/f64mm.s | 8 ++++----
 opcodes/ChangeLog                 | 6 ++++++
 opcodes/aarch64-dis-2.c           | 4 ++--
 opcodes/aarch64-tbl.h             | 4 ++--
 6 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 933c17e..8a6470f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
 2020-01-03  Jan Beulich  <jbeulich@suse.com>
 
+	* testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
+	* testsuite/gas/aarch64/f64mm.d: Adjust expectations.
+
+2020-01-03  Jan Beulich  <jbeulich@suse.com>
+
 	* testsuite/gas/aarch64/f64mm.d,
 	testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
 
diff --git a/gas/testsuite/gas/aarch64/f64mm.d b/gas/testsuite/gas/aarch64/f64mm.d
index b2aa861..e9ec694 100644
--- a/gas/testsuite/gas/aarch64/f64mm.d
+++ b/gas/testsuite/gas/aarch64/f64mm.d
@@ -52,10 +52,10 @@ Disassembly of section \.text:
  *[0-9a-f]+:	05a00000 	zip1	z0\.q, z0\.q, z0\.q
  *[0-9a-f]+:	05a506b1 	zip2	z17\.q, z21\.q, z5\.q
  *[0-9a-f]+:	05a00400 	zip2	z0\.q, z0\.q, z0\.q
- *[0-9a-f]+:	05a50ab1 	uzip1	z17\.q, z21\.q, z5\.q
- *[0-9a-f]+:	05a00800 	uzip1	z0\.q, z0\.q, z0\.q
- *[0-9a-f]+:	05a50eb1 	uzip2	z17\.q, z21\.q, z5\.q
- *[0-9a-f]+:	05a00c00 	uzip2	z0\.q, z0\.q, z0\.q
+ *[0-9a-f]+:	05a50ab1 	uzp1	z17\.q, z21\.q, z5\.q
+ *[0-9a-f]+:	05a00800 	uzp1	z0\.q, z0\.q, z0\.q
+ *[0-9a-f]+:	05a50eb1 	uzp2	z17\.q, z21\.q, z5\.q
+ *[0-9a-f]+:	05a00c00 	uzp2	z0\.q, z0\.q, z0\.q
  *[0-9a-f]+:	05a51ab1 	trn1	z17\.q, z21\.q, z5\.q
  *[0-9a-f]+:	05a01800 	trn1	z0\.q, z0\.q, z0\.q
  *[0-9a-f]+:	05a51eb1 	trn2	z17\.q, z21\.q, z5\.q
diff --git a/gas/testsuite/gas/aarch64/f64mm.s b/gas/testsuite/gas/aarch64/f64mm.s
index fcf662b..cfe6b17 100644
--- a/gas/testsuite/gas/aarch64/f64mm.s
+++ b/gas/testsuite/gas/aarch64/f64mm.s
@@ -60,10 +60,10 @@ zip1 z0.q, z0.q, z0.q
 zip2 z17.q, z21.q, z5.q
 zip2 z0.q, z0.q, z0.q
 
-uzip1 z17.q, z21.q, z5.q
-uzip1 z0.q, z0.q, z0.q
-uzip2 z17.q, z21.q, z5.q
-uzip2 z0.q, z0.q, z0.q
+uzp1 z17.q, z21.q, z5.q
+uzp1 z0.q, z0.q, z0.q
+uzp2 z17.q, z21.q, z5.q
+uzp2 z0.q, z0.q, z0.q
 
 trn1 z17.q, z21.q, z5.q
 trn1 z0.q, z0.q, z0.q
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index bf031a7..ec64512 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,11 @@
 2020-01-03  Jan Beulich  <jbeulich@suse.com>
 
+	* opcodes/aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
+	uzip{1,2}.
+	* opcodes/aarch64-dis-2.c: Re-generate.
+
+2020-01-03  Jan Beulich  <jbeulich@suse.com>
+
 	* opcodes/aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
 	FMMLA encoding.
 	* opcodes/aarch64-dis-2.c: Re-generate.
diff --git a/opcodes/aarch64-dis-2.c b/opcodes/aarch64-dis-2.c
index 950a5f2..23f32e9 100644
--- a/opcodes/aarch64-dis-2.c
+++ b/opcodes/aarch64-dis-2.c
@@ -9913,7 +9913,7 @@ aarch64_opcode_lookup_1 (uint32_t word)
                                                                   /* 33222222222211111111110000000000
                                                                      10987654321098765432109876543210
                                                                      000001x1101xxxxx000010xxxxxxxxxx
-                                                                     uzip1.  */
+                                                                     uzp1.  */
                                                                   return 2409;
                                                                 }
                                                               else
@@ -9943,7 +9943,7 @@ aarch64_opcode_lookup_1 (uint32_t word)
                                                                   /* 33222222222211111111110000000000
                                                                      10987654321098765432109876543210
                                                                      000001x1101xxxxx000011xxxxxxxxxx
-                                                                     uzip2.  */
+                                                                     uzp2.  */
                                                                   return 2410;
                                                                 }
                                                               else
diff --git a/opcodes/aarch64-tbl.h b/opcodes/aarch64-tbl.h
index 8a74777..3128d84 100644
--- a/opcodes/aarch64-tbl.h
+++ b/opcodes/aarch64-tbl.h
@@ -5084,8 +5084,8 @@ struct aarch64_opcode aarch64_opcode_table[] =
   F64MATMUL_SVE_INSN ("ld1rod",  0xa5a02000, 0xfff0e000, sve_misc, OP3 (SVE_ZtxN, SVE_Pg3, SVE_ADDR_RI_S4x32), OP_SVE_DZU, F_OD(1), 0),
   F64MATMUL_SVE_INSN ("zip1",    0x05a00000, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
   F64MATMUL_SVE_INSN ("zip2",    0x05a00400, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
-  F64MATMUL_SVE_INSN ("uzip1",   0x05a00800, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
-  F64MATMUL_SVE_INSN ("uzip2",   0x05a00c00, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
+  F64MATMUL_SVE_INSN ("uzp1",    0x05a00800, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
+  F64MATMUL_SVE_INSN ("uzp2",    0x05a00c00, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
   F64MATMUL_SVE_INSN ("trn1",    0x05a01800, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
   F64MATMUL_SVE_INSN ("trn2",    0x05a01c00, 0xffe0fc00, sve_misc, OP3 (SVE_Zd, SVE_Zn, SVE_Zm_16), OP_SVE_QQQ, 0, 0),
   /* Matrix Multiply advanced SIMD instructions.  */



More information about the Binutils-cvs mailing list