#
48850c10 |
| 16-Nov-2006 |
Jim Laskey <jlaskey@mac.com> |
This is a general clean up of the PowerPC ABI. Address several problems and bugs including making sure that the TOS links back to the previous frame, that the maximum call frame size is not included
This is a general clean up of the PowerPC ABI. Address several problems and bugs including making sure that the TOS links back to the previous frame, that the maximum call frame size is not included twice when using frame pointers, no longer growing the frame on calls, double storing of SP and a cleaner/faster dynamic alloca.
llvm-svn: 31792
show more ...
|
#
b4e911d1 |
| 15-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
Fix ppc64 epilog bug.
llvm-svn: 31771
|
#
dc2c8748 |
| 15-Nov-2006 |
Evan Cheng <evan.cheng@apple.com> |
Properly transfer kill / dead info.
llvm-svn: 31765
|
#
0e117c7e |
| 15-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
Fix the PPC regressions last night
llvm-svn: 31752
|
#
44dbdbe5 |
| 14-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
Rework PPC64 calls. Now we have a LR8/CTR8 register which the PPC64 calls clobber. This allows LR8 to be save/restored correctly as a 64-bit quantity, instead of handling it as a 32-bit quantity.
Rework PPC64 calls. Now we have a LR8/CTR8 register which the PPC64 calls clobber. This allows LR8 to be save/restored correctly as a 64-bit quantity, instead of handling it as a 32-bit quantity. This unbreaks ppc64 codegen when the code is actually located above the 4G boundary.
llvm-svn: 31734
show more ...
|
#
dbd3d294 |
| 13-Nov-2006 |
Evan Cheng <evan.cheng@apple.com> |
Matches MachineInstr changes.
llvm-svn: 31712
|
#
1dfc6110 |
| 11-Nov-2006 |
Jim Laskey <jlaskey@mac.com> |
Make sure stack link is set in 64-bit.
llvm-svn: 31690
|
#
0d550cc5 |
| 11-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
implement proper PPC64 prolog/epilog codegen.
llvm-svn: 31684
|
#
66c502b5 |
| 11-Nov-2006 |
Jim Laskey <jlaskey@mac.com> |
Running with frame pointers prevented debugging, external probes and potentially some system calls/exception handling from working. TOS must always link to previous frame. This is a short term work
Running with frame pointers prevented debugging, external probes and potentially some system calls/exception handling from working. TOS must always link to previous frame. This is a short term workaround until alloca scheme is reworked.
llvm-svn: 31677
show more ...
|
#
de46e484 |
| 02-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR786: Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to dele
For PR786: Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden.
llvm-svn: 31380
show more ...
|
#
af23f9b5 |
| 05-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Completely eliminate def&use operands. Now a register operand is EITHER a def operand or a use operand.
llvm-svn: 30109
|
#
2eebe8b0 |
| 29-Aug-2006 |
Jim Laskey <jlaskey@mac.com> |
Handle callee saved registers in dwarf frame info (lead up to exception handling.)
llvm-svn: 29954
|
#
d51ce619 |
| 25-Aug-2006 |
Jim Laskey <jlaskey@mac.com> |
Fix some comments.
llvm-svn: 29880
|
#
6e662083 |
| 11-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
The PPC64 JIT needs register numbers to encode instructions.
llvm-svn: 29114
|
#
71227c23 |
| 11-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
In 64-bit mode, 64-bit GPRs are callee saved, not 32-bit ones.
llvm-svn: 29096
|
#
db9a95b7 |
| 27-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Fix rewriting frame offsets with ixaddr instructions, which implicitly shift the offset two bits to the left.
llvm-svn: 28933
|
#
52a956da |
| 20-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Rename OR4 -> OR. Move some PPC64-specific stuff to the 64-bit file
llvm-svn: 28889
|
#
ac59ab51 |
| 12-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Gaar! Don't use r11 for CR save/restore, use R0. R11 can be register allocated, thus live across the save/reload. This fixes
llc-beta /MultiSource/Applications/spiff/spiff llc-beta /MultiSource/B
Gaar! Don't use r11 for CR save/restore, use R0. R11 can be register allocated, thus live across the save/reload. This fixes
llc-beta /MultiSource/Applications/spiff/spiff llc-beta /MultiSource/Benchmarks/sim/sim: llc-beta /MultiSource/Benchmarks/Ptrdist/bc/bc llc-beta /MultiSource/Benchmarks/McCat/12-IOtest/iotest: llc-beta /MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow llc-beta /MultiSource/Benchmarks/Fhourstones-3.1/fhourstones3.1 llc-beta /MultiSource/Benchmarks/mediabench/adpcm/rawdaudio/rawdaudio llc-beta /MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcaudio llc-beta /MultiSource/Benchmarks/mediabench/g721/g721encode/encode llc-beta /MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/cjpeg
and probably others, with -regalloc=local.
llvm-svn: 28761
show more ...
|
#
6b043a24 |
| 12-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Fix spilling and reloading of CR regs to reload the right values. This fixes Olden/power (and probably others) with -regalloc=local.
llvm-svn: 28760
|
#
305c4957 |
| 18-May-2006 |
Evan Cheng <evan.cheng@apple.com> |
getCalleeSaveRegs and getCalleeSaveRegClasses are no long TableGen'd.
llvm-svn: 28378
|
#
b25cb796 |
| 10-May-2006 |
Chris Lattner <sabre@nondot.org> |
Fix the PowerPC JIT-only failure on UnitTests/Vector/sumarray-dbl, which is really a bad codegen bug that LLC happens to get lucky with. I must chat with Nate for the proper fix.
llvm-svn: 28213
|
#
10d63416 |
| 04-May-2006 |
Chris Lattner <sabre@nondot.org> |
Move some methods out of MachineInstr into MachineOperand
llvm-svn: 28102
|
#
fef7a2d0 |
| 04-May-2006 |
Chris Lattner <sabre@nondot.org> |
There shalt be only one "immediate" operand type!
llvm-svn: 28099
|
#
13d5f3eb |
| 04-May-2006 |
Chris Lattner <sabre@nondot.org> |
Revert Nate's CR patch from last night, which caused many regressions (e.g. fhourstones).
Loading and storing off R0 isn't what we wanted. Also, taking some CR's out of CRRC seems to cause failures
Revert Nate's CR patch from last night, which caused many regressions (e.g. fhourstones).
Loading and storing off R0 isn't what we wanted. Also, taking some CR's out of CRRC seems to cause failures as well. Further investigation is required.
llvm-svn: 28097
show more ...
|
#
bbcbf48a |
| 02-May-2006 |
Nate Begeman <natebegeman@mac.com> |
Since we don't handle callee-save CRs right yet, don't allocate them. Also don't step on R11 in the middle of a function when saving and restoring CRs
llvm-svn: 28058
|