mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
[X86] Add support for loopz, loopnz for Intel syntax
According to x86 spec, loopz and loopnz should be supported for Intel syntax, where loopz is equivalent to loope and loopnz is equivalent to loopne. Differential Revision: http://reviews.llvm.org/D15148 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
023610af4f
commit
1c73aa0b63
@ -2572,8 +2572,8 @@ def : MnemonicAlias<"lret", "lretl", "att">, Requires<[Not16BitMode]>;
|
||||
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]>;
|
||||
|
@ -741,3 +741,8 @@ fcomip st, st(2)
|
||||
fucomip st, st(2)
|
||||
// CHECK: fcompi %st(2)
|
||||
// CHECK: fucompi %st(2)
|
||||
|
||||
loopz _foo
|
||||
loopnz _foo
|
||||
// CHECK: loope _foo
|
||||
// CHECK: loopne _foo
|
||||
|
Loading…
Reference in New Issue
Block a user