[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInstr.def

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 18 10:10:08 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcInstr.def updated: 1.20 -> 1.21

---
Log message:

These instructions really take three operands.  This fixes some assertions


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcInstr.def
diff -u llvm/lib/Target/Sparc/SparcInstr.def:1.20 llvm/lib/Target/Sparc/SparcInstr.def:1.21
--- llvm/lib/Target/Sparc/SparcInstr.def:1.20	Fri Jun  6 04:52:23 2003
+++ llvm/lib/Target/Sparc/SparcInstr.def	Wed Jun 18 10:09:02 2003
@@ -526,8 +526,8 @@
 
 // Read and Write CCR register from/to an int reg
 I(RDCCR,  "rd",         2,   2, 0, false,  0,  1,  SPARC_SINGLE,  M_INT_FLAG | M_CC_FLAG)
-I(WRCCRr,  "wr",         2,   2, 0, false,  0,  1,  SPARC_SINGLE,  M_INT_FLAG | M_CC_FLAG)
-I(WRCCRi,  "wr",         2,   2, 0, false,  0,  1,  SPARC_SINGLE,  M_INT_FLAG | M_CC_FLAG)
+I(WRCCRr,  "wr",         3,   2, 0, false,  0,  1,  SPARC_SINGLE,  M_INT_FLAG | M_CC_FLAG)
+I(WRCCRi,  "wr",         3,   2, 0, false,  0,  1,  SPARC_SINGLE,  M_INT_FLAG | M_CC_FLAG)
 
 // Synthetic phi operation for near-SSA form of machine code
 // Number of operands is variable, indicated by -1.  Result is the first op.





More information about the llvm-commits mailing list