]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: Fix sve2p1 dupq instruction operands.
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Tue, 25 Jun 2024 10:27:23 +0000 (11:27 +0100)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Tue, 25 Jun 2024 12:38:48 +0000 (13:38 +0100)
commitf5f38efc0a20cb50105da4fd2f656cda4561ccc2
treecb938e82dc5a9326ba5d7c15b593eba902e7f2e8
parent8e018c070ce41fe83f09b4fde8c2b2d9ad473e25
aarch64: Fix sve2p1 dupq instruction operands.

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
15 files changed:
gas/testsuite/gas/aarch64/sve2p1-1.d
gas/testsuite/gas/aarch64/sve2p1-2-invalid.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2p1-2-invalid.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2p1-2-invalid.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2p1-2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2p1-2.s [new file with mode: 0644]
include/opcode/aarch64.h
opcodes/aarch64-asm-2.c
opcodes/aarch64-asm.c
opcodes/aarch64-asm.h
opcodes/aarch64-dis-2.c
opcodes/aarch64-dis.c
opcodes/aarch64-dis.h
opcodes/aarch64-opc-2.c
opcodes/aarch64-tbl.h