- Jun 15, 2005
-
-
Chris Lattner authored
or other uses hanging off of them. llvm-svn: 22219
-
Chris Lattner authored
Do not perform undefined out of range shifts. llvm-svn: 22217
-
Reid Spencer authored
allows test programs to succeed. Actual fix for this is forthcoming. llvm-svn: 22213
-
Nate Begeman authored
avoids dereferencing the end() iterator when selecting the fallthrough block. This requires an ilist change. llvm-svn: 22212
-
- Jun 14, 2005
-
-
Nate Begeman authored
not generate unnecessary register copies. This improves compile time by 2-5% depending on the test. llvm-svn: 22210
-
- Jun 13, 2005
-
-
Reid Spencer authored
fix the bzip2 test. A better hack is needed. llvm-svn: 22209
-
Nate Begeman authored
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
-
Nate Begeman authored
incorrectly using an iterator after it was invalid. llvm-svn: 22207
-
- Jun 09, 2005
-
-
Chris Lattner authored
llvm-svn: 22206
-
Chris Lattner authored
(void*)0. llvm-svn: 22205
-
- Jun 08, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22203
-
Reid Spencer authored
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
-
Nate Begeman authored
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
-
Nate Begeman authored
llvm-svn: 22200
-
Andrew Lenharth authored
returning to the old style :) llvm-svn: 22199
-
- Jun 06, 2005
-
-
Misha Brukman authored
llvm-svn: 22196
-
Andrew Lenharth authored
allow marking of loads and stores in the instruction stream with enough information to reconstruct the Value* if it existed llvm-svn: 22195
-
Andrew Lenharth authored
llvm-svn: 22194
-
Misha Brukman authored
* Remove warning "control reaches end of non-void function" llvm-svn: 22193
-
- Jun 04, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22192
-
- Jun 02, 2005
-
-
Reid Spencer authored
llvm-svn: 22190
-
Reid Spencer authored
configure seems to find it on Cygwin but linking against it fails. llvm-svn: 22189
-
- May 31, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22188
-
Andrew Lenharth authored
llvm-svn: 22187
-
Andrew Lenharth authored
llvm-svn: 22186
-
Andrew Lenharth authored
llvm-svn: 22185
-
- May 27, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22179
-
- May 26, 2005
-
-
Andrew Lenharth authored
The issue is there is no unsigned -> double conversion, only signed. So I need to test the sign and do a different thing depending on it. Ideally this should be in a different BB, but in the mean time, I use a branch free method. llvm-svn: 22177
-
- May 21, 2005
-
-
Reid Spencer authored
document what its for a little better. llvm-svn: 22164
-
Reid Spencer authored
llvm-svn: 22163
-
Reid Spencer authored
llvm-svn: 22162
-
Reid Spencer authored
llvm-svn: 22161
-
Chris Lattner authored
sprintf(P, "%s", X); Where X is not an sbyte*. This fixes the bug JohnMC reported on llvm-bugs. llvm-svn: 22159
-
Chris Lattner authored
llvm-svn: 22158
-
- May 20, 2005
-
-
Nate Begeman authored
so that the shiny new use of std::cerr is defined. llvm-svn: 22156
-
Misha Brukman authored
* Change assert() to std::cerr printout, as it will not appear in opt builds * Add comments to clarify what #ifdef/#else/#endif match what condition(s) llvm-svn: 22154
-
Chris Lattner authored
llvm-svn: 22151
-
Andrew Lenharth authored
llvm-svn: 22150
-
Duraid Madina authored
llvm-svn: 22148
-
Duraid Madina authored
llvm-svn: 22147
-