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

Misha Brukman brukman at cs.uiuc.edu
Tue Aug 5 09:35:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcV9_F2.td updated: 1.5 -> 1.6

---
Log message:

* Set annul bit to be 0, because the Sparc backend currently does not use it.
* Use the name of the predict field instead of just the const 1 in the
  Instruction.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcV9_F2.td
diff -u llvm/lib/Target/Sparc/SparcV9_F2.td:1.5 llvm/lib/Target/Sparc/SparcV9_F2.td:1.6
--- llvm/lib/Target/Sparc/SparcV9_F2.td:1.5	Mon Aug  4 00:03:18 2003
+++ llvm/lib/Target/Sparc/SparcV9_F2.td	Tue Aug  5 09:34:38 2003
@@ -27,7 +27,7 @@
 
 class F2_2<bits<4> cond, string name> : F2_br { // Format 2.2 instructions
   bits<22> disp;
-  bit      annul;
+  bit      annul = 0; // currently unused by Sparc backend
 
   let Name        = name;
   let Inst{29}    = annul;
@@ -39,13 +39,13 @@
   bits<2>  cc;
   bits<19> disp;
   bit      predict = 1;
-  bit      annul;
+  bit      annul = 0; // currently unused by Sparc backend
 
   let Name        = name;
   let Inst{29}    = annul;
   let Inst{28-25} = cond;
   let Inst{21-20} = cc;
-  let Inst{19}    = 1; // predict;
+  let Inst{19}    = predict;
   let Inst{18-0}  = disp;
 }
 
@@ -53,14 +53,14 @@
   bits<5>  rs1;
   bits<16> disp;
   bit      predict = 1;
-  bit      annul;
+  bit      annul = 0; // currently unused by Sparc backend
 
   let Name        = name;
   let Inst{29}    = annul;
   let Inst{28}    = 0;
   let Inst{27-25} = rcond;
   let Inst{21-20} = disp{15-14};
-  let Inst{19}    = 1; // predict;
+  let Inst{19}    = predict;
   let Inst{18-14} = rs1;
   let Inst{13-0 } = disp{13-0};
 }





More information about the llvm-commits mailing list