Files
binutils-gdb/opcodes
Jens Remus 6f3cf71845 aarch64: Treat operand "SME list of ZA tiles" as immediate (PR 31561)
The AArch64 instruction table (aarch64-tbl.h) defines the operand
"SME list of ZA tiles" (SME_list_of_64bit_tiles) as immediate. During
assembly it is correctly encoded as immediate value (imm.value) in
parse_operands. During disassembly it is first correctly decoded as
immediate value (imm.value) in aarch64_ext_imm called by
aarch64_extract_operand, but then erroneously treated as register
number (reg.regno) in aarch64_print_operand.

This resolves the assembler test case "SME extension (ZERO)" to
erroneously fail on s390. On AArch64 - being little-endian - the struct
aarch64_opnd_info union fields reg.regno and imm.value share their
least-significant bits. On s390 - being big-endian - they do not.

opcodes/
	PR binutils/31561
	* aarch64-opc.c: Treat operand "SME list of ZA tiles" as
	immediate.

Bug: https://sourceware.org/PR31561
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Acked-by: Nick Clifton <nickc@redhat.com>
2024-04-09 17:21:53 +02:00
..
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2024-04-07 17:28:25 +08:00
2023-12-28 11:41:45 +00:00
2024-03-28 11:47:59 +01:00
2024-01-05 09:28:52 +01:00
2024-04-07 17:28:25 +08:00
2024-04-07 17:28:25 +08:00
2024-04-07 17:28:25 +08:00
2024-04-07 17:28:25 +08:00
2024-03-13 18:23:26 +00:00
2024-03-13 18:23:26 +00:00
2024-02-29 21:07:04 +10:30