aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-18 06:28:10 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-18 06:28:10 +0000
commitf89cc655ab27bab517751f010c15fbe2ae1051d8 (patch)
treedcb6dc439a123cfcba6ca8add1be598c1141d321 /lib/Target/Sparc
parentceb224148e8425334e46fed686f911bbc99b5c98 (diff)
Fix jmpl.
Add some FP moves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index aa423f109a..24b741c77a 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -161,11 +161,15 @@ def CALL : InstV8 {
}
// Section B.25 - Jump and Link, p. 126
-// FIXME: are they to be used as branches, calls, or returns? (not used now)
-def JMPLrr : F3_1<2, 0b111000, "jmpl">; // jmpl [rs1+rs2], rd
-def JMPLri : F3_2<2, 0b111000, "jmpl">; // jmpl [rs1+imm], rd
+let isCall = 1 in
+ def JMPLrr : F3_1<2, 0b111000, "jmpl">; // jmpl [rs1+rs2], rd
// Section B.29 - Write State Register Instructions
def WRrr : F3_1<2, 0b110000, "wr">; // wr rs1, rs2, rd
def WRri : F3_2<2, 0b110000, "wr">; // wr rs1, imm, rd
+// 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">;
+