binutils-gdb/include/opcode
Alan Modra 7e0de605cb PowerPC register expression checks
This stops powerpc gas blithely accepting such nonsense as
"addi %f4,%cr3,%r31".

	PR 21118
gas/
	* NEWS: Mention powerpc register checks.
	* config/tc-ppc.c (struct pd_reg): Make value a short.  Add flags.
	(pre_defined_registers): Delete fpscr and pmr entries.  Set
	register type in flags.
	(cr_names): Set type in flags.
	(reg_name_search): Return pointer to struct pd_reg rather than value.
	(register_name): Adjust to suit.  Set X_md from flags.
	(ppc_parse_name): Likewise.
	(ppc_optimize_expr): New function.
	(md_assemble): Verify expresion reg flags match operand.
	* config/tc-ppc.h (md_optimize_expr): Define.
	(ppc_optimize_expr): Declare.
include/
	* opcode/ppc.h (PPC_OPERAND_*): Reassign values, regs first.
	(PPC_OPERAND_SPR, PPC_OPERAND_GQR): Define.
opcodes/
	* ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries
	with PPC_OPERAND_SPR.  Flag PSQ and PSQM with PPC_OPERAND_GQR.
2017-02-14 21:12:07 +10:30
..
aarch64.h [AArch64] Add separate feature flag for weaker release consistent load insns 2017-01-04 12:31:08 +00:00
alpha.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
arc-func.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
arc.h [ARC] Provide an interface to decode ARC instructions. 2017-02-06 11:26:13 +01:00
arm.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
avr.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
bfin.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
cgen.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ChangeLog-0415
ChangeLog-9103
convex.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
cr16.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
cris.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
crx.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
d10v.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
d30v.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
dlx.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ft32.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
h8300.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
hppa.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
i370.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
i386.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
i860.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
i960.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ia64.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
m68hc11.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
m68k.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
m88k.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
metag.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
mips.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
mmix.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
mn10200.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
mn10300.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
moxie.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
msp430-decode.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
msp430.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
nds32.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
nios2.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
nios2r1.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
nios2r2.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
np1.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ns32k.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
pdp11.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
pj.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
pn.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ppc.h PowerPC register expression checks 2017-02-14 21:12:07 +10:30
pru.h Clarify that include/opcode/ files are part of GNU opcodes 2017-01-25 12:30:52 +00:00
pyr.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
riscv-opc.h Add support for the Q extension to the RISCV ISA. 2017-01-03 17:42:01 +00:00
riscv.h Add support for the Q extension to the RISCV ISA. 2017-01-03 17:42:01 +00:00
rl78.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
rx.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
s390.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
score-datadep.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
score-inst.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
sparc.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
spu-insns.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
spu.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tahoe.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic4x.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic6x-control-registers.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic6x-insn-formats.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic6x-opcode-table.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic6x.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic30.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic54x.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tic80.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tilegx.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
tilepro.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
v850.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
vax.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
visium.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
xgate.h Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30