Added the LOOP family of instructions to the Intel
authorSean Callanan <scallanan@apple.com>
Wed, 16 Sep 2009 21:50:07 +0000 (21:50 +0000)
committerSean Callanan <scallanan@apple.com>
Wed, 16 Sep 2009 21:50:07 +0000 (21:50 +0000)
instruction tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82083 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 88dbf67ee6de72d070bd2b485687d5a2eeb885c1..570c54d96df07ce45b3438ab8e108789611ec066 100644 (file)
@@ -660,6 +660,12 @@ def JNO : IBr<0x81, (ins brtarget:$dst), "jno\t$dst",
               [(X86brcond bb:$dst, X86_COND_NO, EFLAGS)]>, TB;
 } // Uses = [EFLAGS]
 
+// Loop instructions
+
+def LOOP   : I<0xE2, RawFrm, (ins brtarget8:$dst), (outs), "loop\t$dst", []>;
+def LOOPE  : I<0xE1, RawFrm, (ins brtarget8:$dst), (outs), "loope\t$dst", []>;
+def LOOPNE : I<0xE0, RawFrm, (ins brtarget8:$dst), (outs), "loopne\t$dst", []>;
+
 //===----------------------------------------------------------------------===//
 //  Call Instructions...
 //