[PATCH 01/10] aarch64: Add maximum immediate value to aarch64_sys_reg
Nick Clifton
nickc@redhat.com
Thu Dec 2 12:35:58 GMT 2021
Hi Richard,
> opcodes/
> * aarch64-opc.h (F_REG_MAX_VALUE, F_GET_REG_MAX_VALUE): New macros.
> * aarch64-opc.c (operand_general_constraint_met_p): Read the
> maximum MSR immediate value from aarch64_pstatefields.
> (aarch64_pstatefields): Add the maximum immediate value
> for each register.
>
> gas/
> * testsuite/gas/aarch64/sysreg-4.s: Use an immediate value of 1
> rather than 8 for the TCO test.
> * testsuite/gas/aarch64/sysreg-4.d: Update accordingly.
> * testsuite/gas/aarch64/armv8_2-a-illegal.l: Fix operand number
> in MSR immediate error messages.
> * testsuite/gas/aarch64/diagnostic.l: Likewise.
> * testsuite/gas/aarch64/pan-illegal.l: Likewise.
> * testsuite/gas/aarch64/ssbs-illegal1.l: Likewise.
> * testsuite/gas/aarch64/illegal-sysreg-4b.s,
> * testsuite/gas/aarch64/illegal-sysreg-4b.d,
> * testsuite/gas/aarch64/illegal-sysreg-4b.l: New test.
Approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list