[X86] Add suffixes to the LGDT/LIDT/SGDT/SIDT mnemonics in Intel syntax. Add aliases...
authorCraig Topper <craig.topper@intel.com>
Sun, 29 Apr 2018 06:24:09 +0000 (06:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 29 Apr 2018 06:24:09 +0000 (06:24 +0000)
commit18c4c8efafcbd7b15bdf70c1b67d2f22b4f5c034
tree1e6ca84d27fc7fb02d9045aaad0c1ba3cdc2bcc1
parentd186829093e8c9b2d96cb5b10c81a6e78519e33b
[X86] Add suffixes to the LGDT/LIDT/SGDT/SIDT mnemonics in Intel syntax. Add aliases based on 16/32-bit mode to choose the default.

This allows the instruction selection to follow mode in Intel syntax. And allows a suffix to be used to change size.

This matches gas behavior from what I could tell.

llvm-svn: 331138
llvm/lib/Target/X86/X86InstrSystem.td
llvm/test/MC/Disassembler/X86/intel-syntax-32.txt
llvm/test/MC/X86/intel-syntax-ptr-sized.s