aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcV8InstrInfo_F3.td9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/Sparc/SparcV8InstrInfo_F3.td b/lib/Target/Sparc/SparcV8InstrInfo_F3.td
index f1bf6a05f8..4906b9de04 100644
--- a/lib/Target/Sparc/SparcV8InstrInfo_F3.td
+++ b/lib/Target/Sparc/SparcV8InstrInfo_F3.td
@@ -47,16 +47,15 @@ class F3_2<bits<2> opVal, bits<6> op3val, string name> : F3 {
let Inst{12-0} = simm13;
}
-/*
-class F3_3<bits<2> opVal, bits<6> op3val, bits<9> opfVal, string name>
- : F3_rs1rs2 {
+// floating-point
+class F3_3<bits<2> opVal, bits<6> op3val, bits<9> opfval, string name> : F3 {
+ bits<8> asi;
bits<5> rs2;
let op = opVal;
let op3 = op3val;
let Name = name;
- let Inst{13-5} = opfVal;
+ let Inst{13-5} = opfval; // fp opcode
let Inst{4-0} = rs2;
}
-*/ \ No newline at end of file