aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-18 05:19:27 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-18 05:19:27 +0000
commit562d5b0f6ddd341b5755829c636be82eaf31625c (patch)
tree54f0f348c8a6624a220d22dbc66526283afbb5d6
parentc93a75223d715374f94603f66f2c35eaacb3168f (diff)
Add load instructions for floating-point registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14217 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td5
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index fccf02fd20..aa423f109a 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -66,6 +66,11 @@ def LDUHmr: F3_2<3, 0b000010, "lduh">;
def LDmr : F3_2<3, 0b000000, "ld">;
def LDDmr : F3_2<3, 0b000011, "ldd">;
+// Section B.2 - Load Floating-point Instructions, p. 92
+def LDFmr : F3_2<3, 0b100000, "ld">;
+def LDDFmr : F3_2<3, 0b100011, "ldd">;
+def LDFSRmr: F3_2<3, 0b100001, "ld">;
+
// Section B.4 - Store Integer Instructions, p. 95
def STBrm : F3_2<3, 0b000101, "stb">;
def STHrm : F3_2<3, 0b000110, "sth">;
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index fccf02fd20..aa423f109a 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -66,6 +66,11 @@ def LDUHmr: F3_2<3, 0b000010, "lduh">;
def LDmr : F3_2<3, 0b000000, "ld">;
def LDDmr : F3_2<3, 0b000011, "ldd">;
+// Section B.2 - Load Floating-point Instructions, p. 92
+def LDFmr : F3_2<3, 0b100000, "ld">;
+def LDDFmr : F3_2<3, 0b100011, "ldd">;
+def LDFSRmr: F3_2<3, 0b100001, "ld">;
+
// Section B.4 - Store Integer Instructions, p. 95
def STBrm : F3_2<3, 0b000101, "stb">;
def STHrm : F3_2<3, 0b000110, "sth">;