OSDN Git Service

[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)
commit519e2e52fa1b8cbcc7298a3baaddf000d311a212
treeff94d39431a02b532559d4a630e46ced8e3685fa
parentd9a4b27a8f51432269dcae025a4325a12240980c
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSystem.td
test/MC/Disassembler/X86/intel-syntax-32.txt
test/MC/X86/intel-syntax-ptr-sized.s