mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
73a8be66ca
* config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2. (i386_operand): Simplify checks for valid base/index combinations. Disallow `in 4(%dx),%al'. * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and index_reg const. (add_prefix): Change parameter from char to int. * config/tc-i386.h (Ugh): Define opcode modifier. * config/tc-i386.c (md_assemble): Print warnings for Ugh insns. * config/tc-i386.c (md_assemble): Rewrite MATCH and CONSISTENT_REGISTER_MATCH macros to check register types more thoroughly. Check for illegal suffix/operand combinations when matching insns with operands. Handle new `s' suffix, and associated FloatMF opcode modifier for float insns with memory operands. * config/tc-i386.h (FloatMF): Define new opcode modifier. (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise. (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define. * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to DATA_PREFIX_OPCODE throughout. * config/tc-i386.c (REGISTER_WARNINGS): Define. (md_assemble): Rewrite suffix/register operand checking code to be more thorough. Remove Abs8,16,32. Change occurrences of Mem to AnyMem, the better to grep. (pi): Remove Abs. (i386_operand): Don't set Mem bits in i.types[this_operand] when given a memory operand. Don't set Abs bits either. (type_names): Remove Mem*, Abs*. * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't define opcode_modifiers as these cases are handled by Disp8, Disp16, Disp32 and suffix checks. (COMES_IN_BOTH_DIRECTIONS): Remove. (FloatR): Define. It's OK to share the bit with ReverseRegRegmem. * config/tc-i386.c (md_assemble): Don't emit operand size prefix if IgnoreDataSize modifier given. Remove ShortformW modifier test. Add test for ShortForm in W base_opcode modification. Merge Seg2ShortForm and Seg3ShortForm code. * config/tc-i386.h (ShortFormW): Remove. (IgnoreDataSize): Define. |
||
---|---|---|
.. | ||
.Sanitize | ||
aout_gnu.h | ||
atof-ieee.c | ||
atof-tahoe.c | ||
atof-vax.c | ||
e-i386coff.c | ||
e-i386elf.c | ||
e-mipsecoff.c | ||
e-mipself.c | ||
go32.cfg | ||
itbl-mips.h | ||
m68k-parse.h | ||
m68k-parse.y | ||
m88k-opcode.h | ||
obj-aout.c | ||
obj-aout.h | ||
obj-bout.c | ||
obj-bout.h | ||
obj-coff.c | ||
obj-coff.h | ||
obj-ecoff.c | ||
obj-ecoff.h | ||
obj-elf.c | ||
obj-elf.h | ||
obj-evax.c | ||
obj-evax.h | ||
obj-generic.c | ||
obj-generic.h | ||
obj-hp300.c | ||
obj-hp300.h | ||
obj-ieee.c | ||
obj-ieee.h | ||
obj-multi.c | ||
obj-multi.h | ||
obj-som.c | ||
obj-som.h | ||
obj-vms.c | ||
obj-vms.h | ||
tc-a29k.c | ||
tc-a29k.h | ||
tc-alpha.c | ||
tc-alpha.h | ||
tc-arc.c | ||
tc-arc.h | ||
tc-arm.c | ||
tc-arm.h | ||
tc-d10v.c | ||
tc-d10v.h | ||
tc-d30v.c | ||
tc-d30v.h | ||
tc-dvp.c | ||
tc-dvp.h | ||
tc-generic.c | ||
tc-generic.h | ||
tc-h8300.c | ||
tc-h8300.h | ||
tc-h8500.c | ||
tc-h8500.h | ||
tc-hppa.c | ||
tc-hppa.h | ||
tc-i386.c | ||
tc-i386.h | ||
tc-i860.c | ||
tc-i860.h | ||
tc-i960.c | ||
tc-i960.h | ||
tc-m32r.c | ||
tc-m68k.c | ||
tc-m68k.h | ||
tc-m88k.c | ||
tc-m88k.h | ||
tc-m68851.h | ||
tc-mips.c | ||
tc-mips.h | ||
tc-mn10200.c | ||
tc-mn10200.h | ||
tc-mn10300.c | ||
tc-ns32k.c | ||
tc-ns32k.h | ||
tc-ppc.c | ||
tc-ppc.h | ||
tc-sh.c | ||
tc-sh.h | ||
tc-sparc.c | ||
tc-sparc.h | ||
tc-tahoe.c | ||
tc-tahoe.h | ||
tc-tic30.c | ||
tc-tic30.h | ||
tc-tic80.c | ||
tc-tic80.h | ||
tc-v850.c | ||
tc-v850.h | ||
tc-vax.c | ||
tc-vax.h | ||
tc-w65.c | ||
tc-w65.h | ||
tc-z8k.c | ||
tc-z8k.h | ||
te-aux.h | ||
te-delt88.h | ||
te-delta.h | ||
te-dpx2.h | ||
te-dynix.h | ||
te-generic.h | ||
te-go32.h | ||
te-hp300.h | ||
te-hppa.h | ||
te-i386aix.h | ||
te-ic960.h | ||
te-lnews.h | ||
te-lynx.h | ||
te-mach.h | ||
te-macos.h | ||
te-multi.h | ||
te-nbsd532.h | ||
te-nbsd.h | ||
te-pc532mach.h | ||
te-pe.h | ||
te-ppcnw.h | ||
te-psos.h | ||
te-riscix.h | ||
te-sparcaout.h | ||
te-sun3.h | ||
te-svr4.h | ||
te-sysv32.h | ||
vax-inst.h | ||
vms-a-conf.h | ||
vms-conf.h |