diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:05 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:05 +0100 |
commit | ff60bcbfbec4f88195ae5cee544c2a7c749169b0 (patch) | |
tree | 87af7a706fb9a93d0d9aecaa92726da62e00953a /README-maintainer-mode | |
parent | 1d597b88c85ee3f667e91dd6d282203dd9f41a4c (diff) | |
download | binutils-gdb-ff60bcbfbec4f88195ae5cee544c2a7c749169b0.tar.gz |
aarch64: Move ZA range checks to aarch64-opc.c
This patch moves the range checks on ZA vector select offsets from
gas to libopcodes. Doing the checks there means that the error
messages contain the expected range. It also fits in better
with the error severity scheme, which becomes important later.
(This is because out-of-range indices are treated as more severe than
syntax errors, on the basis that parsing must have succeeded if we get
to the point of checking the completed opcode.)
The patch also adds a new check_za_access function for checking
ZA accesses. That's a bit over the top for one offset check, but the
function becomes more complex with later patches.
sme-9-illegal.s checked for an invalid .q suffix using:
psel p1, p15, p3.q[w15]
but this is doubly invalid because it misses the immediate part
of the index. The patch keeps that test but adds another with
a zero index, so that .q is the only thing wrong.
The aarch64-tbl.h change includes neatening up the backslash
positions.
Diffstat (limited to 'README-maintainer-mode')
0 files changed, 0 insertions, 0 deletions