mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Recognize loopz and loopnz as aliases for loope and loopne.
From Dimitry Andric. llvm-svn: 126168
This commit is contained in:
parent
e4a04cce2b
commit
9dceff5417
@ -1296,6 +1296,9 @@ def : MnemonicAlias<"lret", "lretl">;
|
||||
def : MnemonicAlias<"leavel", "leave">, Requires<[In32BitMode]>;
|
||||
def : MnemonicAlias<"leaveq", "leave">, Requires<[In64BitMode]>;
|
||||
|
||||
def : MnemonicAlias<"loopz", "loope">;
|
||||
def : MnemonicAlias<"loopnz", "loopne">;
|
||||
|
||||
def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>;
|
||||
def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>;
|
||||
def : MnemonicAlias<"popf", "popfl">, Requires<[In32BitMode]>;
|
||||
|
@ -808,3 +808,11 @@ pshufw $90, %mm4, %mm0
|
||||
// CHECK: ud2b
|
||||
// CHECK: encoding: [0x0f,0xb9]
|
||||
ud2b
|
||||
|
||||
// CHECK: loope 0
|
||||
// CHECK: encoding: [0xe1,A]
|
||||
loopz 0
|
||||
|
||||
// CHECK: loopne 0
|
||||
// CHECK: encoding: [0xe0,A]
|
||||
loopnz 0
|
||||
|
@ -946,3 +946,11 @@ movdqu %xmm0, %xmm1 // CHECK: movdqu %xmm0, %xmm1 # encoding: [0xf3,0x0f,0x6f,0x
|
||||
// PR8935
|
||||
xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0]
|
||||
xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1]
|
||||
|
||||
// CHECK: loope 0
|
||||
// CHECK: encoding: [0xe1,A]
|
||||
loopz 0
|
||||
|
||||
// CHECK: loopne 0
|
||||
// CHECK: encoding: [0xe0,A]
|
||||
loopnz 0
|
||||
|
Loading…
Reference in New Issue
Block a user