[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcV9_F4.td

Misha Brukman brukman at cs.uiuc.edu
Wed Jul 2 13:28:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcV9_F4.td updated: 1.4 -> 1.5

---
Log message:

The classes F4_3 and F4_4 have an `rd' operand that needs to be set.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcV9_F4.td
diff -u llvm/lib/Target/Sparc/SparcV9_F4.td:1.4 llvm/lib/Target/Sparc/SparcV9_F4.td:1.5
--- llvm/lib/Target/Sparc/SparcV9_F4.td:1.4	Tue Jun  3 23:48:31 2003
+++ llvm/lib/Target/Sparc/SparcV9_F4.td	Wed Jul  2 13:27:47 2003
@@ -80,11 +80,13 @@
 class F4_3<bits<2> opVal, bits<6> op3Val, bits<4> condVal,
            string name> : F4_condcc {
   bits<5> rs2;
+  bits<5> rd;
 
   set op = opVal;
   set op3 = op3Val;
   set cond = condVal;
   set Name = name;
+  set Inst{29-25} = rd;
   set Inst{13} = 0; // i bit
   //set Inst{10-5} = dontcare;
   set Inst{4-0} = rs2;
@@ -99,6 +101,7 @@
   set op3  = op3Val;
   set cond = condVal;
   set Name = name;
+  set Inst{29-25} = rd;
   set Inst{13} = 1; // i bit
   set Inst{10-0} = sim11;
 }  





More information about the llvm-commits mailing list