More tweaks to X86 instructions to allow the 'w' suffix in places it makes
authorKevin Enderby <enderby@apple.com>
Thu, 21 Oct 2010 17:16:46 +0000 (17:16 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 21 Oct 2010 17:16:46 +0000 (17:16 +0000)
commit0b9325c97d031ab0e9a240d69a2be11ec1559e37
tree440fc1241517f2cdc28f93746e95504affe543c2
parentbf9fc53f46d5badab10ec79e1e442830206f6598
More tweaks to X86 instructions to allow the 'w' suffix in places it makes
sense, when the instruction takes the 16-bit ax register or m16 memory
location.  These changes to llvm-mc matches what the darwin assembler allows
for these instructions.  Also added the missing flex (without the wait prefix)
and ud2a as an alias to ud2 (still to add ud2b).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117031 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrFPStack.td
lib/Target/X86/X86InstrSystem.td
test/MC/X86/x86-32-coverage.s
test/MC/X86/x86-32.s
test/MC/X86/x86-64.s