summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-09-06 21:50:26 +0000
committerBill Wendling <isanbard@gmail.com>2010-09-06 21:50:26 +0000
commit0b8abab7e0a879c5208fd2930df1e50054563635 (patch)
treec87bdbf95e8128a76988f47ebbfc176157ac6eef
parent9afd1b0ef4d919521842e2f1216c6a8d79e09942 (diff)
$ svn merge -c 113158 https://llvm.org/svn/llvm-project/llvm/trunk --- Merging r113158 into '.': U lib/Target/X86/X86InstrInfo.td Log: Redefine LOOP* instructions from I to Ii8PCRel as they take an i8 argument. llvm-svn: 113175
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index ae48ceeddc0a..09b7721a621d 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -694,9 +694,9 @@ let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {
// 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...