mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-21 16:24:47 +00:00
Add FSTOI, FDTOI (fp to integer cast) instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8b6c1ff677
commit
59e12ed789
@ -214,6 +214,10 @@ def WRri : F3_2<2, 0b110000, "wr">; // wr rs1, imm, rd
|
||||
def FITOS : F3_3<2, 0b110100, 0b011000100, "fitos">;
|
||||
def FITOD : F3_3<2, 0b110100, 0b011001000, "fitod">;
|
||||
|
||||
// Convert Floating-point to Integer Instructions, p. 142
|
||||
def FSTOI : F3_3<2, 0b110100, 0b011010001, "fstoi">;
|
||||
def FDTOI : F3_3<2, 0b110100, 0b011010010, "fdtoi">;
|
||||
|
||||
// Convert between Floating-point Formats Instructions, p. 143
|
||||
def FSTOD : F3_3<2, 0b110100, 0b011001001, "fstod">;
|
||||
def FDTOS : F3_3<2, 0b110100, 0b011000110, "fdtos">;
|
||||
|
@ -214,6 +214,10 @@ def WRri : F3_2<2, 0b110000, "wr">; // wr rs1, imm, rd
|
||||
def FITOS : F3_3<2, 0b110100, 0b011000100, "fitos">;
|
||||
def FITOD : F3_3<2, 0b110100, 0b011001000, "fitod">;
|
||||
|
||||
// Convert Floating-point to Integer Instructions, p. 142
|
||||
def FSTOI : F3_3<2, 0b110100, 0b011010001, "fstoi">;
|
||||
def FDTOI : F3_3<2, 0b110100, 0b011010010, "fdtoi">;
|
||||
|
||||
// Convert between Floating-point Formats Instructions, p. 143
|
||||
def FSTOD : F3_3<2, 0b110100, 0b011001001, "fstod">;
|
||||
def FDTOS : F3_3<2, 0b110100, 0b011000110, "fdtos">;
|
||||
|
Loading…
Reference in New Issue
Block a user