summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-24 21:22:09 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-24 21:22:09 +0000
commit27966ba77badf628b6d888f7a216e094f39d9413 (patch)
tree97ac03abae0e4f59a4d86f64ad59930acf2ad0e7
parent72490c8d869b5e4b6f3114a34f182588815c4906 (diff)
downloadbcm5719-llvm-27966ba77badf628b6d888f7a216e094f39d9413.tar.gz
bcm5719-llvm-27966ba77badf628b6d888f7a216e094f39d9413.zip
Add FSTOD and FDTOS conversion instructions.
llvm-svn: 14372
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8InstrInfo.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
index 8082fe39ba7..009a19e6705 100644
--- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -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">;
+
OpenPOWER on IntegriCloud