| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | thinko | Andrew Lenharth | 2005-06-29 | 1 | -0/+1 | |
| | | | | | llvm-svn: 22309 | |||||
| * | unify SelectExpr and SelectFP | Andrew Lenharth | 2005-06-29 | 1 | -190/+155 | |
| | | | | | llvm-svn: 22308 | |||||
| * | fix most regressions | Andrew Lenharth | 2005-06-29 | 1 | -1/+2 | |
| | | | | | llvm-svn: 22307 | |||||
| * | support more relocations for stores also | Andrew Lenharth | 2005-06-29 | 2 | -1/+36 | |
| | | | | | llvm-svn: 22306 | |||||
| * | Get rid of all symbolic loads. I now do gernate all relocations sequences | Andrew Lenharth | 2005-06-29 | 3 | -230/+76 | |
| | | | | | | | | rather than relying on the assembler. Only a few more pseudo instructions left. Also merge load code paths. llvm-svn: 22305 | |||||
| * | some call work | Andrew Lenharth | 2005-06-27 | 1 | -1/+64 | |
| | | | | | llvm-svn: 22303 | |||||
| * | So, it turns out I forgot that one valid way of restoring GP after a call | Andrew Lenharth | 2005-06-27 | 1 | -3/+3 | |
| | | | | | | | | is to use RA, which assumes the called function uses RA for the register holding the return address when it issues a ret. llvm-svn: 22301 | |||||
| * | Initial set of .td file changes necessary to get scalar fp in xmm registers | Nate Begeman | 2005-06-27 | 2 | -2/+126 | |
| | | | | | | | | | | | | working. The instruction selector changes will hopefully be coming later this week once they are debugged. This is necessary to support the darwin x86 FP model, and is recommended by intel as the replacement for x87. As a bonus, the register allocator knows how to deal with these registers across basic blocks, unliky the FP stackifier. This leads to significantly better codegen in several cases. llvm-svn: 22300 | |||||
| * | get rid of another pseudo op | Andrew Lenharth | 2005-06-27 | 2 | -3/+4 | |
| | | | | | llvm-svn: 22299 | |||||
| * | generate address of constant pool entries | Andrew Lenharth | 2005-06-27 | 2 | -5/+10 | |
| | | | | | llvm-svn: 22298 | |||||
| * | Misha happification patch | Andrew Lenharth | 2005-06-27 | 1 | -91/+142 | |
| | | | | | llvm-svn: 22297 | |||||
| * | Reduce use of pseudo ops | Andrew Lenharth | 2005-06-27 | 2 | -8/+41 | |
| | | | | | | | | Namely, output the rellocation flags explicitly when loading constants. Added benifit: save a load when loading from the constant pool. llvm-svn: 22296 | |||||
| * | missed a load | Andrew Lenharth | 2005-06-27 | 1 | -3/+7 | |
| | | | | | llvm-svn: 22295 | |||||
| * | make constant pool labels local | Andrew Lenharth | 2005-06-27 | 1 | -2/+2 | |
| | | | | | llvm-svn: 22294 | |||||
| * | who said we had to use the return address in the return address register. ↵ | Andrew Lenharth | 2005-06-27 | 2 | -5/+8 | |
| | | | | | | | Might save a move in many cases llvm-svn: 22293 | |||||
| * | Add support to the X86 backend for emitting ELF files. To use this, we | Chris Lattner | 2005-06-27 | 3 | -2/+55 | |
| | | | | | | | | | | currently use: llc t.bc --filetype=obj This will produce a t.o file which is dumpable with readelf. Currently the file produced is empty, but the scaffolding to do more is now in place. llvm-svn: 22292 | |||||
| * | depend more on legalize putting constants on the RHS | Andrew Lenharth | 2005-06-26 | 1 | -92/+29 | |
| | | | | | llvm-svn: 22289 | |||||
| * | With setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand), Legalize | Andrew Lenharth | 2005-06-26 | 1 | -36/+12 | |
| | | | | | | | | should be able to handle this case. The code is there, so let's see if it works. llvm-svn: 22288 | |||||
| * | Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFile | Chris Lattner | 2005-06-25 | 16 | -34/+60 | |
| | | | | | | | interface. llvm-svn: 22282 | |||||
| * | remove a pseudo instruction, make ret always right, and fix vararg chains | Andrew Lenharth | 2005-06-23 | 4 | -15/+20 | |
| | | | | | llvm-svn: 22276 | |||||
| * | finally, Working varargs | Andrew Lenharth | 2005-06-23 | 1 | -13/+24 | |
| | | | | | llvm-svn: 22275 | |||||
| * | more complete Lowering for vacopy and vaarg | Andrew Lenharth | 2005-06-22 | 1 | -1/+29 | |
| | | | | | llvm-svn: 22274 | |||||
| * | If we support structs as va_list, we must pass pointers to them to va_copy | Andrew Lenharth | 2005-06-22 | 5 | -46/+13 | |
| | | | | | | | See last commit for LangRef, this implements it on all targets. llvm-svn: 22273 | |||||
| * | Make it easier to find alpha stuff in doxygen, and fixup labeling | Andrew Lenharth | 2005-06-22 | 2 | -17/+52 | |
| | | | | | | | | of memory instructions in the assembly, to allow later linking of traces with LLVM Value*s. llvm-svn: 22271 | |||||
| * | Fixed indentation. | John Criswell | 2005-06-20 | 1 | -3/+3 | |
| | | | | | llvm-svn: 22270 | |||||
| * | so this doesn't crash when run. It is hard to tell if things are right ↵ | Andrew Lenharth | 2005-06-19 | 1 | -24/+27 | |
| | | | | | | | enough to work correctly with all the TmpInstructions running around llvm-svn: 22261 | |||||
| * | OK, at least get rid of old stuff, and mark what needs to be fixed for V9 | Andrew Lenharth | 2005-06-18 | 2 | -2/+4 | |
| | | | | | llvm-svn: 22255 | |||||
| * | core changes for varargs | Andrew Lenharth | 2005-06-18 | 8 | -162/+189 | |
| | | | | | llvm-svn: 22254 | |||||
| * | Clean up some uninitialized variables and missing return statements that | Reid Spencer | 2005-06-18 | 3 | -3/+5 | |
| | | | | | | | GCC 4.0.0 compiler (sometimes incorrectly) warns about under release build. llvm-svn: 22249 | |||||
| * | A start at a Sparc V8 Pattern ISel. Anyone want to implement the calling | Andrew Lenharth | 2005-06-17 | 1 | -0/+479 | |
| | | | | | | | convention? ;) llvm-svn: 22247 | |||||
| * | silence incredibly braindead GCC 4 warning | Chris Lattner | 2005-06-17 | 1 | -2/+0 | |
| | | | | | llvm-svn: 22246 | |||||
| * | silence a bogus warning | Chris Lattner | 2005-06-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22245 | |||||
| * | Removed IIIi specific changes. This should be fixed to add floating point ↵ | Tanya Lattner | 2005-06-17 | 1 | -2/+4 | |
| | | | | | | | deps for the IIi. llvm-svn: 22243 | |||||
| * | Special dep graph for SMS for superblocks. | Tanya Lattner | 2005-06-17 | 1 | -0/+410 | |
| | | | | | llvm-svn: 22242 | |||||
| * | Special versions of the dep graph and scheduled for SMS for superblocks. | Tanya Lattner | 2005-06-17 | 3 | -0/+1265 | |
| | | | | | llvm-svn: 22241 | |||||
| * | Added statistic to count number of spills. | Tanya Lattner | 2005-06-17 | 1 | -0/+3 | |
| | | | | | llvm-svn: 22240 | |||||
| * | Numerous bug fixes and the completed modschedSB algorithm (minor bugs still ↵ | Tanya Lattner | 2005-06-17 | 7 | -194/+3304 | |
| | | | | | | | exist for course). llvm-svn: 22239 | |||||
| * | Added SMS for superblocks as an option (experimental) | Tanya Lattner | 2005-06-17 | 1 | -1/+10 | |
| | | | | | llvm-svn: 22238 | |||||
| * | Commit fix for generating conditional branch pseudo instructions that | Nate Begeman | 2005-06-15 | 1 | -3/+8 | |
| | | | | | | | | avoids dereferencing the end() iterator when selecting the fallthrough block. This requires an ilist change. llvm-svn: 22212 | |||||
| * | Commit a small improvement that is already in the x86 and ia64 backends to | Nate Begeman | 2005-06-14 | 1 | -0/+5 | |
| | | | | | | | | not generate unnecessary register copies. This improves compile time by 2-5% depending on the test. llvm-svn: 22210 | |||||
| * | When compiled with GCC 4.0, a latent bug was exposed where both SparcV9 | Nate Begeman | 2005-06-12 | 16 | -106/+108 | |
| | | | | | | | | | | and the target independant register allocator were both using a class named 'LiveRange'. This lead to the target independant code calling code in the SparcV9 backend, which crashed. Fixed by renaming SparcV9's LiveRange to V9LiveRange. llvm-svn: 22208 | |||||
| * | Fix a memory smasher caught by Mac OS X's debug malloc library. We were | Nate Begeman | 2005-06-12 | 1 | -8/+19 | |
| | | | | | | | incorrectly using an iterator after it was invalid. llvm-svn: 22207 | |||||
| * | fix BranchCC with a setCC with an arg of 0 | Andrew Lenharth | 2005-06-08 | 1 | -3/+3 | |
| | | | | | llvm-svn: 22203 | |||||
| * | For PR572: | Reid Spencer | 2005-06-08 | 1 | -0/+6 | |
| | | | | | | | | Undefine the PPC symbol which is defined by Linux/PPC (erroneously) so it doesn't pollute the user namespace and clash with our namespace declarations. llvm-svn: 22202 | |||||
| * | Handle some more real world cases of rlwimi. These don't come up that | Nate Begeman | 2005-06-08 | 1 | -10/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regularly in "normal" code, but for things like software graphics, they make a big difference. For the following code: unsigned short Trans16Bit(unsigned srcA,unsigned srcB,unsigned alpha) { unsigned tmpA,tmpB,mixed; tmpA = ((srcA & 0x03E0) << 15) | (srcA & 0x7C1F); tmpB = ((srcB & 0x03E0) << 15) | (srcB & 0x7C1F); mixed = (tmpA * alpha) + (tmpB * (32 - alpha)); return ((mixed >> 5) & 0x7C1F) | ((mixed >> 20) & 0x03E0); } We now generate: _Trans16Bit: .LBB_Trans16Bit_0: ; entry andi. r2, r4, 31775 rlwimi r2, r4, 15, 7, 11 subfic r4, r5, 32 mullw r2, r2, r4 andi. r4, r3, 31775 rlwimi r4, r3, 15, 7, 11 mullw r3, r4, r5 add r2, r2, r3 srwi r3, r2, 5 andi. r3, r3, 31775 rlwimi r3, r2, 12, 22, 26 blr Instead of: _Trans16Bit: .LBB_Trans16Bit_0: ; entry slwi r2, r4, 15 rlwinm r2, r2, 0, 7, 11 andi. r4, r4, 31775 or r2, r2, r4 subfic r4, r5, 32 mullw r2, r2, r4 slwi r4, r3, 15 rlwinm r4, r4, 0, 7, 11 andi. r3, r3, 31775 or r3, r4, r3 mullw r3, r3, r5 add r2, r2, r3 srwi r3, r2, 5 andi. r3, r3, 31775 srwi r2, r2, 20 rlwimi r3, r2, 0, 22, 26 blr llvm-svn: 22201 | |||||
| * | Fix lli linking on Mac OS X 10.4.1 for Intel. | Nate Begeman | 2005-06-08 | 1 | -2/+2 | |
| | | | | | llvm-svn: 22200 | |||||
| * | Fix spelling of `correlate' | Misha Brukman | 2005-06-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22196 | |||||
| * | allow marking of loads and stores in the instruction stream with enough ↵ | Andrew Lenharth | 2005-06-06 | 2 | -0/+31 | |
| | | | | | | | information to reconstruct the Value* if it existed llvm-svn: 22195 | |||||
| * | hide basic block labels. The utility of these for debuging is long since passed | Andrew Lenharth | 2005-06-06 | 1 | -2/+2 | |
| | | | | | llvm-svn: 22194 | |||||
| * | * Replace block of commented-out lines with #if 0 | Misha Brukman | 2005-06-06 | 1 | -26/+29 | |
| | | | | | | | * Remove warning "control reaches end of non-void function" llvm-svn: 22193 | |||||

