]> granicus.if.org Git - llvm/commit
Add support for the X86 secure guard extensions instructions in assembler (SGX).
authorKevin Enderby <enderby@apple.com>
Thu, 31 Jul 2014 23:57:38 +0000 (23:57 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 31 Jul 2014 23:57:38 +0000 (23:57 +0000)
commit42deb12738dfc5d817d7eaf291c001a20bd1e22b
tree324e41a9c7e9ab53778f88f7d23fb917d1b1a88d
parent0b3444cca97d777e5aa99f76907d423904ce3508
Add support for the X86 secure guard extensions instructions in assembler (SGX).

This allows assembling the two new instructions, encls and enclu for the
SKX processor model.

Note the diffs are a bigger than what might think, but to fit the new
MRM_CF and MRM_D7 in things in the right places things had to be
renumbered and shuffled down causing a bit more diffs.

rdar://16228228

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/MCTargetDesc/X86BaseInfo.h
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
lib/Target/X86/X86.td
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86InstrFormats.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSGX.td [new file with mode: 0644]
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/MC/X86/sgx-encoding.s [new file with mode: 0644]
utils/TableGen/X86RecognizableInstr.cpp