x86: replace Reg8, Reg16, Reg32, and Reg64
authorJan Beulich <jbeulich@novell.com>
Mon, 18 Dec 2017 08:34:00 +0000 (09:34 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Dec 2017 08:34:00 +0000 (09:34 +0100)
commitdc821c5f9ae5208ad1ec438718f75e224f856deb
tree2c8c7c089e3196e1956fbb30a7088d6172a08104
parenteccab96d54a9455557d3c4d5bff431f6e526d0b7
x86: replace Reg8, Reg16, Reg32, and Reg64

Use a combination of a single new Reg bit and Byte, Word, Dword, or
Qword instead.

Besides shrinking the number of operand type bits this has the benefit
of making register handling more similar to accumulator handling (a
generic flag is being accompanied by a "size qualifier"). It requires,
however, to split a few insn templates, as it is no longer correct to
have combinations like Reg32|Reg64|Byte. This slight growth in size will
hopefully be outweighed by this change paving the road for folding a
presumably much larger number of templates later on.
gas/ChangeLog
gas/config/tc-i386-intel.c
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-reg.tbl
opcodes/i386-tbl.h
This page took 0.03368 seconds and 4 git commands to generate.