summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC32JITInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* There is no reason to store <x,x>, just store <x>.Chris Lattner2004-11-261-5/+3
| | | | llvm-svn: 18263
* Fix the build on non ppc machinesChris Lattner2004-11-251-0/+5
| | | | llvm-svn: 18235
* * Rename existing relocations to be more specificChris Lattner2004-11-241-3/+21
| | | | | | | | | | | | | | * Add relocations for refernces to non-lazy darwin stubs and implement them correctly. With this change, we can correctly references external globals, and now all but two UnitTests and all but 1 Regression/C tests pass. More importantly, bugpoint-jit will start giving us useful testcases, instead of always telling us that references to external globals don't work :) llvm-svn: 18222
* Write CompilationCallback as an explicit assembly stub to avoid getting GCC'sChris Lattner2004-11-241-20/+35
| | | | | | prolog. llvm-svn: 18220
* When rewriting the original call instruction, make sure to rewrite it toChris Lattner2004-11-241-4/+5
| | | | | | call the right address. llvm-svn: 18213
* Force the intregs ptr into R2 and the FPregs ptr into R3. This fixes a reallyChris Lattner2004-11-241-4/+8
| | | | | | | | | | | | | | obscure problem where we were doing: lmw r3,0(r9) which is undefined on PPC. Now we do: lmw r3,0(r2) by force, not relying on the GCC register allocator for luck :) llvm-svn: 18212
* Use the correct register class as a constaint to gcc's inline assembly, soNate Begeman2004-11-231-2/+2
| | | | | | that we don't end up trying to use r0 as a base register. llvm-svn: 18176
* Save/Restore arg regs and nonvolatile regs the compiler might use duringNate Begeman2004-11-231-12/+29
| | | | | | CompilationCallback llvm-svn: 18175
* Initial implementation of exiting CompilationCallbackChris Lattner2004-11-231-9/+24
| | | | | | | This should save all argument registers on entry and restore on exit, despite that, simple things seem to work!!! llvm-svn: 18161
* Implement the first hunk of CompilationCallback. The pieces missing are theChris Lattner2004-11-231-10/+54
| | | | | | | | | | ones noted, which require funny PPC specific inline assembly. If some angel felt the desire to help me, I think this is that last bit missing for JIT support (however, generic code emitter might night work right with the constant pool yet). llvm-svn: 18151
* Implement the stub needed to get into compilation callback.Chris Lattner2004-11-231-5/+14
| | | | llvm-svn: 18147
* Initial implementation of the JIT interfaces. Relocation is done and stubsChris Lattner2004-11-231-0/+117
for external functions work. CompilationCallback has not been written, and stubs for internal functions are not generated yet. This means you can call printf and exit, and use global variables, but cannot call functions local to a module yet. llvm-svn: 18145
OpenPOWER on IntegriCloud