diff options
author | Victor Do Nascimento <victor.donascimento@arm.com> | 2023-11-20 15:32:15 +0000 |
---|---|---|
committer | Victor Do Nascimento <victor.donascimento@arm.com> | 2024-01-09 10:16:40 +0000 |
commit | 5517af829887ba3b19a3f372b6b60e8098bdfa29 (patch) | |
tree | 920b57119a6b6b1662da63f8916550a5ba35adfe /gprofng/src | |
parent | 3521a28f10900ed893f53fcceec2f66c335cb154 (diff) | |
download | binutils-5517af829887ba3b19a3f372b6b60e8098bdfa29.zip binutils-5517af829887ba3b19a3f372b6b60e8098bdfa29.tar.gz binutils-5517af829887ba3b19a3f372b6b60e8098bdfa29.tar.bz2 |
aarch64: Apply narrowing of allowed immediate values for SYSP
While CRn and CRm fields in the SYSP instruction are 4-bit wide and
are thus able to accommodate values in the range 0-15, the
specifications for the SYSP instructions limit their ranges to 8-9 for
CRm and 0-7 in the case of CRn.
This led to the need to signal in some way to the operand parser that
a given operand is under special restrictions regarding its use. This
is done via the new `F_OPD_NARROW' flag, indicating a narrowing in the
range of operand values for fields in the instruction tagged with the
flag.
The flag is then used in `parse_operands' when the instruction is
assembled, but needs not be taken into consideration during
disassembly.
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions