diff options
author | Sean Callanan <scallanan@apple.com> | 2009-07-23 23:39:34 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2009-07-23 23:39:34 +0000 |
commit | 74e52108090f29a92ebb78d33451104bc445ac55 (patch) | |
tree | 255347ff99ddc01143e83840423dd6c5d1ef2e4a | |
parent | 006c77df8cc7f6a9dac575600b797b8ba32b29eb (diff) |
Added a 2+-byte NOP instruction to the Intel tables,
for the assembler/disassembler to use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76914 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index eaafe0a7ce..0e40965a4c 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -489,8 +489,11 @@ def ADJCALLSTACKUP32 : I<0, Pseudo, (outs), (ins i32imm:$amt1, i32imm:$amt2), } // Nop -let neverHasSideEffects = 1 in +let neverHasSideEffects = 1 in { def NOOP : I<0x90, RawFrm, (outs), (ins), "nop", []>; + def NOOPL : I<0x1f, MRM0m, (outs), (ins i32mem:$zero), + "nopl\t$zero", []>, TB; +} // PIC base let neverHasSideEffects = 1, isNotDuplicable = 1, Uses = [ESP] in |