diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-09-06 21:50:26 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-09-06 21:50:26 +0000 |
commit | 5770e0a66606e3622fcee35da2f1266decb08d74 (patch) | |
tree | ecd6457dd9ae7d9ed095826d58c525e1489178f7 | |
parent | b5502450ca614edc996eccb67a6d834e73abe92b (diff) |
Approved by Chris:
$ 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_28@113175 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index ae48ceeddc..09b7721a62 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/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... |