projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585e64e
)
Fix JIT encoding of trap/ud2 instruction
author
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 15 Jan 2008 21:40:02 +0000
(21:40 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 15 Jan 2008 21:40:02 +0000
(21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46012
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.td
b/lib/Target/X86/X86InstrInfo.td
index f9bdfc4f8bdb283a6f22bc6ad22228dae6aeeaed..dfacd109e0c8cc64ec0d5b425283bf7351706f71 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.td
+++ b/
lib/Target/X86/X86InstrInfo.td
@@
-490,8
+490,7
@@
def RDTSC : I<0x31, RawFrm, (outs), (ins), "rdtsc", [(X86rdtsc)]>,
TB;
let isBarrier = 1, hasCtrlDep = 1 in {
-// FIXME: Should use 0x0F0B opcode
-def TRAP : I<0, RawFrm, (outs), (ins), "ud2", [(X86trap)]>;
+def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(X86trap)]>, TB;
}
//===----------------------------------------------------------------------===//