[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9.burg.in SparcV9BurgISel.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sat Jun 18 11:46:51 PDT 2005



Changes in directory llvm/lib/Target/SparcV9:

SparcV9.burg.in updated: 1.14 -> 1.15
SparcV9BurgISel.cpp updated: 1.19 -> 1.20
---
Log message:

OK, at least get rid of old stuff, and mark what needs to be fixed for V9

---
Diffs of the changes:  (+4 -2)

 SparcV9.burg.in     |    2 --
 SparcV9BurgISel.cpp |    4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/SparcV9/SparcV9.burg.in
diff -u llvm/lib/Target/SparcV9/SparcV9.burg.in:1.14 llvm/lib/Target/SparcV9/SparcV9.burg.in:1.15
--- llvm/lib/Target/SparcV9/SparcV9.burg.in:1.14	Sun Oct 17 00:37:47 2004
+++ llvm/lib/Target/SparcV9/SparcV9.burg.in	Sat Jun 18 13:46:40 2005
@@ -96,7 +96,6 @@
 %term Call=CallOPCODE
 %term Shl=ShlOPCODE
 %term Shr=ShrOPCODE
-%term VANext=VANextOPCODE
 %term VAArg=VAArgOPCODE
 		/* 33...46 are unused */
     /*
@@ -268,7 +267,6 @@
 reg:	Shl(reg,reg)		=   62 (20);	/* 1 for issue restrictions */
 reg:	Shr(reg,reg)		=   63 (20);	/* 1 for issue restrictions */
 reg:	Phi(reg,reg)		=   64 (0);
-reg:	VANext(reg)		=   65 (40);	/* incr stack slot pointer */
 reg:	VAArg(reg)		=   66 (40);	/* get a vararg */
 
 	/*


Index: llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.19 llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.20
--- llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.19	Sat Jun 18 12:37:34 2005
+++ llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp	Sat Jun 18 13:46:40 2005
@@ -4216,6 +4216,8 @@
       case 64:	// reg:   Phi(reg,reg)
         break;                          // don't forward the value
 
+#if 0
+//FIXME: new VAArg support
       case 65:	// reg:   VANext(reg):  the va_next(va_list, type) instruction
       { // Increment the va_list pointer register according to the type.
         // All LLVM argument types are <= 64 bits, so use one doubleword.
@@ -4227,7 +4229,9 @@
                        addSImm(argSize).addRegDef(vaNextI));
         break;
       }
+#endif
 
+//FIXME: new VAArg support
       case 66:	// reg:   VAArg (reg): the va_arg instruction
       { // Load argument from stack using current va_list pointer value.
         // Use 64-bit load for all non-FP args, and LDDF or double for FP.






More information about the llvm-commits mailing list