[PATCH v3 02/11] [Binutils] aarch64: Fix sve2p1 dupq instruction operands.
Srinath Parvathaneni
srinath.parvathaneni@arm.com
Fri Jun 21 11:36:45 GMT 2024
Hi,
This patch fixes the syntax of sve2p1 "dupq" instruction by modifying the way
2nd operand does the encoding and decoding using the [<imm>] value.
dupq makes use of already existing aarch64_ins_sve_index and aarch64_ext_sve_index
inserter and extractor functions. The definitions of aarch64_ins_sve_index_imm (inserter)
and aarch64_ext_sve_index_imm (extractor) is removed in this patch.
This issues was reported here:
https://sourceware.org/pipermail/binutils/2024-February/132408.html
Regression testing for aarch64-none-elf target and found no regressions.
Ok for binutils master?
Regards,
Srinath.
---
gas/testsuite/gas/aarch64/sve2p1-1.d | 14 +++---
gas/testsuite/gas/aarch64/sve2p1-2-invalid.d | 3 ++
gas/testsuite/gas/aarch64/sve2p1-2-invalid.l | 47 ++++++++++++++++++++
gas/testsuite/gas/aarch64/sve2p1-2-invalid.s | 10 +++++
gas/testsuite/gas/aarch64/sve2p1-2.d | 34 ++++++++++++++
gas/testsuite/gas/aarch64/sve2p1-2.s | 28 ++++++++++++
include/opcode/aarch64.h | 2 +-
opcodes/aarch64-asm.c | 19 +-------
opcodes/aarch64-asm.h | 1 -
opcodes/aarch64-dis.c | 36 ++-------------
opcodes/aarch64-dis.h | 1 -
opcodes/aarch64-tbl.h | 11 ++---
12 files changed, 141 insertions(+), 65 deletions(-)
create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.d
create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.l
create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2-invalid.s
create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2.d
create mode 100644 gas/testsuite/gas/aarch64/sve2p1-2.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0002-Binutils-aarch64-Fix-sve2p1-dupq-instruction-oper.patch
Type: text/x-patch
Size: 13480 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240621/5205d123/attachment-0001.bin>
More information about the Binutils
mailing list