x86: correct UDn
authorJan Beulich <jbeulich@novell.com>
Thu, 23 Nov 2017 09:59:48 +0000 (10:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Nov 2017 09:59:48 +0000 (10:59 +0100)
commit66f1eba0b7e83f293573ab42bbbe5d7d5c905d91
treec0a4bdbe635820369185b8c48ec03c02928b765c
parent38bf51134d1a58f155c89f2b1c7bf885c2604ead
x86: correct UDn

Make the assembler recognize UD0, supporting only the newer form
expecting a ModR/M byte.

Make assembler and disassembler properly emit / expect a ModR/M byte for
UD1.

For the testsuite, as arch-4 already tests all UDn, avoid producing a
huge delta for other tests using UD2B by making them use UD2 instead.
13 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/arch-4.d
gas/testsuite/gas/i386/arch-4.s
gas/testsuite/gas/i386/intel.d
gas/testsuite/gas/i386/intel.s
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/opcode.s
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h