mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Add FSTOD and FDTOS conversion instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
495a0974f4
commit
57ff2e3ee7
@ -181,8 +181,13 @@ let isCall = 1 in
|
||||
def WRrr : F3_1<2, 0b110000, "wr">; // wr rs1, rs2, rd
|
||||
def WRri : F3_2<2, 0b110000, "wr">; // wr rs1, imm, rd
|
||||
|
||||
// Convert between Floating-point Formats Instructions, p. 143
|
||||
def FSTOD : F3_3<2, 0b110100, 0b011001001, "fstod">;
|
||||
def FDTOS : F3_3<2, 0b110100, 0b011000110, "fdtos">;
|
||||
|
||||
// Floating-point Move Instructions, p. 144
|
||||
def FMOVS : F3_3<2, 0b110100, 0b000000001, "fmovs">;
|
||||
def FNEGS : F3_3<2, 0b110100, 0b000000101, "fnegs">;
|
||||
def FABSS : F3_3<2, 0b110100, 0b000001001, "fabss">;
|
||||
|
||||
|
||||
|
@ -181,8 +181,13 @@ let isCall = 1 in
|
||||
def WRrr : F3_1<2, 0b110000, "wr">; // wr rs1, rs2, rd
|
||||
def WRri : F3_2<2, 0b110000, "wr">; // wr rs1, imm, rd
|
||||
|
||||
// Convert between Floating-point Formats Instructions, p. 143
|
||||
def FSTOD : F3_3<2, 0b110100, 0b011001001, "fstod">;
|
||||
def FDTOS : F3_3<2, 0b110100, 0b011000110, "fdtos">;
|
||||
|
||||
// Floating-point Move Instructions, p. 144
|
||||
def FMOVS : F3_3<2, 0b110100, 0b000000001, "fmovs">;
|
||||
def FNEGS : F3_3<2, 0b110100, 0b000000101, "fnegs">;
|
||||
def FABSS : F3_3<2, 0b110100, 0b000001001, "fabss">;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user