forked from OSchip/llvm-project
Recognize loopz and loopnz as aliases for loope and loopne.
From Dimitry Andric. llvm-svn: 126168
This commit is contained in:
parent
cc9c8eb837
commit
60e7629258
|
@ -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