[PATCH] D15148: Add support for loopz, loopnz for Intel syntax
Marina Yatsina via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 6 07:34:50 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL254877: [X86] Add support for loopz, loopnz for Intel syntax (authored by myatsina).
Changed prior to commit:
http://reviews.llvm.org/D15148?vs=41615&id=42012#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15148
Files:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
llvm/trunk/test/MC/X86/intel-syntax.s
Index: llvm/trunk/test/MC/X86/intel-syntax.s
===================================================================
--- llvm/trunk/test/MC/X86/intel-syntax.s
+++ llvm/trunk/test/MC/X86/intel-syntax.s
@@ -741,3 +741,8 @@
fucomip st, st(2)
// CHECK: fcompi %st(2)
// CHECK: fucompi %st(2)
+
+loopz _foo
+loopnz _foo
+// CHECK: loope _foo
+// CHECK: loopne _foo
Index: llvm/trunk/lib/Target/X86/X86InstrInfo.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td
@@ -2572,8 +2572,8 @@
def : MnemonicAlias<"leavel", "leave", "att">, Requires<[Not64BitMode]>;
def : MnemonicAlias<"leaveq", "leave", "att">, Requires<[In64BitMode]>;
-def : MnemonicAlias<"loopz", "loope", "att">;
-def : MnemonicAlias<"loopnz", "loopne", "att">;
+def : MnemonicAlias<"loopz", "loope">;
+def : MnemonicAlias<"loopnz", "loopne">;
def : MnemonicAlias<"pop", "popw", "att">, Requires<[In16BitMode]>;
def : MnemonicAlias<"pop", "popl", "att">, Requires<[In32BitMode]>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15148.42012.patch
Type: text/x-patch
Size: 1068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151206/69dd6b97/attachment.bin>
More information about the llvm-commits
mailing list