mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Adds missing aliases for fcom and fcomp instructions without arguments.
Patch by Michael M Kuperstein! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23203faf0b
commit
5bf3a28b36
@ -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