]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: Use constant fields in simple_index operands
authorAlice Carlotti <alice.carlotti@arm.com>
Fri, 3 Oct 2025 04:50:44 +0000 (05:50 +0100)
committerAlice Carlotti <alice.carlotti@arm.com>
Fri, 10 Oct 2025 00:14:06 +0000 (01:14 +0100)
commitb421344f419911bf046c1f414ea2b9d25aaa3e97
tree92454c0801b7331bbc46c99c496f5bd84fc2d3ae
parent6c8bca7bc224fcce9f2da8c73c9880d341c19653
aarch64: Use constant fields in simple_index operands

Update aarch64_{ins|ext}_simple_index to use constant fields, and swap
the order of the index and regno fields, so that the regno occupies the
last five bits.  (Splitting/combining a variable length value and a
fixed length value is easiest if the fixed length value occupies the
least significant bits.)
opcodes/aarch64-asm.c
opcodes/aarch64-dis.c
opcodes/aarch64-opc-2.c
opcodes/aarch64-opc.c
opcodes/aarch64-opc.h
opcodes/aarch64-tbl.h