binutils-gdb/include/opcode
Alice Carlotti 891fa528c2 aarch64: Refactor exclusion of reg names in immediates
When parsing immediate values, register names should not be
misinterpreted as symbols.  However, for backwards compatibility we need
to permit some newer register names within older instructions.  The
current mechanism for doing so depends on the list of explicit
architecture requirements for the instructions, which is fragile and
easy to forget, and grows increasingly messy as more architecture
features are added.

This patch add explicit flags to each opcode to indicate which set of
register names is disallowed in each instance.  These flags are
mandatory for all opcodes with immediate operands, which ensures that
the choice of disallowed names will always be deliberate and explicit.

This patch should have no functional change.
2025-07-12 10:04:26 +01:00
..
aarch64.h aarch64: Refactor exclusion of reg names in immediates 2025-07-12 10:04:26 +01:00
alpha.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
arc-attrs.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
arc-func.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
arc.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
arm.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
avr.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
bfin.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
bpf.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
cgen.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ChangeLog-0415 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:03 +00:00
convex.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
cr16.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
cris.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
crx.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
csky.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
d10v.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
d30v.h gas d30v_insn plus other non-const pointers 2025-07-09 09:35:07 +09:30
dlx.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ft32.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
h8300.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
hppa.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
i386.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ia64.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
kvx.h kvx gcc-4.5 build fixes 2025-06-11 07:26:07 +09:30
loongarch.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
m68hc11.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
m68k.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
metag.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
mips.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
mmix.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
mn10200.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
mn10300.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
moxie.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
msp430-decode.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
msp430.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
nds32.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
nfp.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
np1.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ns32k.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
pdp11.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
pj.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
pn.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
ppc.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
pru.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
pyr.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
riscv-opc.h RISC-V: Add support for Smcdeleg and Ssccfg extensions. 2025-05-22 09:59:12 +08:00
riscv.h RISC-V: Clarify the imply rule of c 2025-07-10 19:32:07 +08:00
rl78.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
rx.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
s12z.h Enable building the s12z target on Solaris hosts where REG_Y is defined in system header files. 2020-01-02 12:04:40 +00:00
s390.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
score-datadep.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
score-inst.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
sparc.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
spu-insns.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
spu.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic4x.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic6x-control-registers.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic6x-insn-formats.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic6x-opcode-table.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic6x.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic30.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tic54x.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tilegx.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
tilepro.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
v850.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
vax.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
visium.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
wasm.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
xgate.h Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30