[llvm-commits] [llvm] r113158 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Roman Divacky
rdivacky at freebsd.org
Mon Sep 6 11:43:14 PDT 2010
Author: rdivacky
Date: Mon Sep 6 13:43:14 2010
New Revision: 113158
URL: http://llvm.org/viewvc/llvm-project?rev=113158&view=rev
Log:
Redefine LOOP* instructions from I to Ii8PCRel as they take an i8 argument.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=113158&r1=113157&r2=113158&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Mon Sep 6 13:43:14 2010
@@ -694,9 +694,9 @@
// Loop instructions
-def LOOP : I<0xE2, RawFrm, (outs), (ins brtarget8:$dst), "loop\t$dst", []>;
-def LOOPE : I<0xE1, RawFrm, (outs), (ins brtarget8:$dst), "loope\t$dst", []>;
-def LOOPNE : I<0xE0, RawFrm, (outs), (ins brtarget8:$dst), "loopne\t$dst", []>;
+def LOOP : Ii8PCRel<0xE2, RawFrm, (outs), (ins brtarget8:$dst), "loop\t$dst", []>;
+def LOOPE : Ii8PCRel<0xE1, RawFrm, (outs), (ins brtarget8:$dst), "loope\t$dst", []>;
+def LOOPNE : Ii8PCRel<0xE0, RawFrm, (outs), (ins brtarget8:$dst), "loopne\t$dst", []>;
//===----------------------------------------------------------------------===//
// Call Instructions...
More information about the llvm-commits
mailing list