mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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
This commit is contained in:
1 parent
ccf72caa92
commit
529b1a4398
3 files changed
+7
-2
No files matched your search
@@ -21,8 +21,10 @@ let Defs = [RAX, RCX, RDX] in
|
|||||||
|
|
||||||
// CPU flow control instructions
|
// 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 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 HLT : I<0xF4, RawFrm, (outs), (ins), "hlt", []>;
|
||||||
def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", []>, TB;
|
def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", []>, TB;
|
||||||
|
|||||||
@@ -786,3 +786,7 @@ pshufw $90, %mm4, %mm0
|
|||||||
// CHECK: ud2
|
// CHECK: ud2
|
||||||
// CHECK: encoding: [0x0f,0x0b]
|
// CHECK: encoding: [0x0f,0x0b]
|
||||||
ud2a
|
ud2a
|
||||||
|
|
||||||
|
// CHECK: ud2b
|
||||||
|
// CHECK: encoding: [0x0f,0xb9]
|
||||||
|
ud2b
|
||||||
@@ -114,7 +114,6 @@ namespace X86Local {
|
|||||||
EXTENSION_TABLE(72) \
|
EXTENSION_TABLE(72) \
|
||||||
EXTENSION_TABLE(73) \
|
EXTENSION_TABLE(73) \
|
||||||
EXTENSION_TABLE(ae) \
|
EXTENSION_TABLE(ae) \
|
||||||
EXTENSION_TABLE(b9) \
|
|
||||||
EXTENSION_TABLE(ba) \
|
EXTENSION_TABLE(ba) \
|
||||||
EXTENSION_TABLE(c7)
|
EXTENSION_TABLE(c7)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user