diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-18 18:46:40 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-18 18:46:40 +0000 |
| commit | a4c10cd6f2698ed3d2ecee872a393e9a1213050d (patch) | |
| tree | ad96e60dc2818885dd8e406397b6d2c3667bb60e /llvm | |
| parent | 9144ec4764dfd4020db346ab4f92d59408b30744 (diff) | |
| download | bcm5719-llvm-a4c10cd6f2698ed3d2ecee872a393e9a1213050d.tar.gz bcm5719-llvm-a4c10cd6f2698ed3d2ecee872a393e9a1213050d.zip | |
OK, at least get rid of old stuff, and mark what needs to be fixed for V9
llvm-svn: 22255
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9.burg.in | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9.burg.in b/llvm/lib/Target/SparcV9/SparcV9.burg.in index ca77c9a68cc..0e7c88cb48c 100644 --- a/llvm/lib/Target/SparcV9/SparcV9.burg.in +++ b/llvm/lib/Target/SparcV9/SparcV9.burg.in @@ -96,7 +96,6 @@ Xdefine PANIC printf %term Call=CallOPCODE %term Shl=ShlOPCODE %term Shr=ShrOPCODE -%term VANext=VANextOPCODE %term VAArg=VAArgOPCODE /* 33...46 are unused */ /* @@ -268,7 +267,6 @@ reg: Call = 61 (20); /* just ignore the operands! */ 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 */ /* diff --git a/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp b/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp index be1baa3fe00..39be9a0f7a5 100644 --- a/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp @@ -4216,6 +4216,8 @@ void GetInstructionsByRule(InstructionNode* subtreeRoot, int ruleForNode, 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 @@ void GetInstructionsByRule(InstructionNode* subtreeRoot, int ruleForNode, 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. |

