mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 18:49:06 +00:00
Adds missing aliases for fcom and fcomp instructions without arguments.
Patch by Michael M Kuperstein! llvm-svn: 171414
This commit is contained in:
parent
f2a855cbd7
commit
255beae3d9
@ -1910,6 +1910,8 @@ def : InstAlias<"fmulp", (MUL_FPrST0 ST1)>;
|
||||
def : InstAlias<"fdivp", (DIVR_FPrST0 ST1)>;
|
||||
def : InstAlias<"fdivrp", (DIV_FPrST0 ST1)>;
|
||||
def : InstAlias<"fxch", (XCH_F ST1)>;
|
||||
def : InstAlias<"fcom", (COM_FST0r ST1)>;
|
||||
def : InstAlias<"fcomp", (COMP_FST0r ST1)>;
|
||||
def : InstAlias<"fcomi", (COM_FIr ST1)>;
|
||||
def : InstAlias<"fcompi", (COM_FIPr ST1)>;
|
||||
def : InstAlias<"fucom", (UCOM_Fr ST1)>;
|
||||
|
@ -3948,6 +3948,10 @@
|
||||
// CHECK: encoding: [0xd9,0xca]
|
||||
fxch %st(2)
|
||||
|
||||
// CHECK: fcom
|
||||
// CHECK: encoding: [0xd8,0xd1]
|
||||
fcom
|
||||
|
||||
// CHECK: fcom %st(2)
|
||||
// CHECK: encoding: [0xd8,0xd2]
|
||||
fcom %st(2)
|
||||
@ -3968,6 +3972,10 @@
|
||||
// CHECK: encoding: [0xda,0x15,0x78,0x56,0x34,0x12]
|
||||
ficoml 0x12345678
|
||||
|
||||
// CHECK: fcomp
|
||||
// CHECK: encoding: [0xd8,0xd9]
|
||||
fcomp
|
||||
|
||||
// CHECK: fcomp %st(2)
|
||||
// CHECK: encoding: [0xd8,0xda]
|
||||
fcomp %st(2)
|
||||
|
Loading…
Reference in New Issue
Block a user