diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-11 16:58:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 16:58:39 +0000 |
commit | 02552decf9af871701d869e626ffdfe7d6171715 (patch) | |
tree | 6db218cfb5ac52b33f78adb0c7413c9f67b6b19e /lib | |
parent | f221c0bd0d84db004e8b0969e5349b428d101ca8 (diff) |
move some 32-bit instrs to x86instrinfo.td
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86Instr64bit.td | 8 | ||||
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 11 |
2 files changed, 11 insertions, 8 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index 53935689f1..9e0cea23e7 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -274,16 +274,8 @@ def REP_STOSQ : RI<0xAB, RawFrm, (outs), (ins), "{rep;stosq|rep stosq}", [(X86rep_stos i64)]>, REP; // Fast system-call instructions -def SYSCALL : I<0x05, RawFrm, - (outs), (ins), "syscall", []>, TB; -def SYSENTER : I<0x34, RawFrm, - (outs), (ins), "sysenter", []>, TB; -def SYSEXIT : I<0x35, RawFrm, - (outs), (ins), "sysexit", []>, TB; def SYSEXIT64 : RI<0x35, RawFrm, (outs), (ins), "sysexit", []>, TB; -def SYSRET : I<0x07, RawFrm, - (outs), (ins), "sysret", []>, TB; //===----------------------------------------------------------------------===// // Move Instructions... diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 903b3ff60a..74fb2ee886 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -770,6 +770,17 @@ let isBarrier = 1, hasCtrlDep = 1 in { def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(trap)]>, TB; } +def SYSCALL : I<0x05, RawFrm, + (outs), (ins), "syscall", []>, TB; +def SYSRET : I<0x07, RawFrm, + (outs), (ins), "sysret", []>, TB; +def SYSENTER : I<0x34, RawFrm, + (outs), (ins), "sysenter", []>, TB; +def SYSEXIT : I<0x35, RawFrm, + (outs), (ins), "sysexit", []>, TB; + + + //===----------------------------------------------------------------------===// // Input/Output Instructions... // |