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
This commit is contained in:
Sean Callanan 2009-07-23 23:39:34 +00:00
parent 006c77df8c
commit 74e5210809

View File

@ -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