aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-03-30 11:09:04 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2023-03-30 11:09:04 +0100
commitc888354c611953575d7d6734779f7dfd7bc77e5f (patch)
tree84af437ebb41522d3407a00a862a17dafddcb7b1 /include
parent575c497a4acde05bc67da24ae2d3af5288e8f763 (diff)
downloadfsf-binutils-gdb-c888354c611953575d7d6734779f7dfd7bc77e5f.zip
fsf-binutils-gdb-c888354c611953575d7d6734779f7dfd7bc77e5f.tar.gz
fsf-binutils-gdb-c888354c611953575d7d6734779f7dfd7bc77e5f.tar.bz2
aarch64: Make indexed_za use 64-bit immediates
A later patch moves the range checking for ZA vector select offsets from gas to libopcodes. That in turn requires the immediate field to be big enough to support all parsed values. This shouldn't be a particularly size-sensitive structure, so there should be no memory problems with doing this.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/aarch64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index 4a554df..aeb3d9a 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -1115,7 +1115,7 @@ struct aarch64_indexed_za
struct
{
int regno; /* <Wv> */
- int imm; /* <imm> */
+ int64_t imm; /* <imm> */
} index;
unsigned v : 1; /* <HV> horizontal or vertical vector indicator. */
};