summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrSystem.td
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-10-27 20:46:49 +0000
committerKevin Enderby <enderby@apple.com>2010-10-27 20:46:49 +0000
commit529b1a43986265fb399eecd0dcbf9c409d049853 (patch)
tree3227aebb6b34d098b7e4c2ea0e1bbb91375d4552 /lib/Target/X86/X86InstrSystem.td
parentccf72caa92ba03fcaf348f9d8c7d14eb5738a31e (diff)
downloadllvm-529b1a43986265fb399eecd0dcbf9c409d049853.tar.gz
llvm-529b1a43986265fb399eecd0dcbf9c409d049853.tar.bz2
llvm-529b1a43986265fb399eecd0dcbf9c409d049853.tar.xz
Added the x86 instruction ud2b (2nd official undefined instruction).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrSystem.td')
-rw-r--r--lib/Target/X86/X86InstrSystem.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrSystem.td b/lib/Target/X86/X86InstrSystem.td
index 48b6d6ecf0..1a58ba0f96 100644
--- a/lib/Target/X86/X86InstrSystem.td
+++ b/lib/Target/X86/X86InstrSystem.td
@@ -21,8 +21,10 @@ let Defs = [RAX, RCX, RDX] in
// CPU flow control instructions
-let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in
+let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in {
def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(trap)]>, TB;
+ def UD2B : I<0xB9, RawFrm, (outs), (ins), "ud2b", []>, TB;
+}
def HLT : I<0xF4, RawFrm, (outs), (ins), "hlt", []>;
def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", []>, TB;