- Feb 16, 2006
-
-
Duraid Madina authored
distinguish between objects and register names, now we can have stuff with names like "f84", "in6" etc etc. this should fix one or two tests llvm-svn: 26232
-
Evan Cheng authored
We do not want to emit "Loop: ... brcond Out; br Loop", as it adds an extra instruction in the loop. Instead, invert the condition and emit "Loop: ... br!cond Loop; br Out. Generalize the fix by moving it from PPCDAGToDAGISel to SelectionDAGLowering. llvm-svn: 26231
-
Chris Lattner authored
by Nate, I'm just committing it for him. llvm-svn: 26230
-
Chris Lattner authored
want to copy the files when the .cpp file changes, we want to copy them to the .cvs versions when the .l/.y file change (like the comments even say). This avoids having bogus changes show up in diffs. llvm-svn: 26229
-
Jeff Cohen authored
llvm-svn: 26228
-
Jeff Cohen authored
llvm-svn: 26227
-
Evan Cheng authored
transfer. According to the Intel P4 Optimization Manual: Moves that write a portion of a register can introduce unwanted dependences. The movsd reg, reg instruction writes only the bottom 64 bits of a register, not to all 128 bits. This introduces a dependence on the preceding instruction that produces the upper 64 bits (even if those bits are not longer wanted). The dependence inhibits register renaming, and thereby reduces parallelism. Not to mention movaps is shorter than movss. llvm-svn: 26226
-
Chris Lattner authored
llvm-svn: 26225
-
Evan Cheng authored
Turns them into calls to memset / memcpy if 1) buffer(s) are not DWORD aligned, 2) size is not known to be greater or equal to some minimum value (currently 128). llvm-svn: 26224
-
- Feb 15, 2006
-
-
Chris Lattner authored
unswitch this loop on 2 before sweating to unswitch on 1/3. void test4(int N, int i, int C, int*P, int*Q) { int j; for (j = 0; j < N; ++j) { switch (C) { // general unswitching. default: P[i+j] = 0; break; case 1: Q[i+j] = 0; break; case 3: P[i+j] = Q[i+j]; break; case 2: break; // TRIVIAL UNSWITCH on C==2 } } } llvm-svn: 26223
-
Evan Cheng authored
llvm-svn: 26222
-
Evan Cheng authored
llvm-svn: 26221
-
Chris Lattner authored
this for example: for (j = 0; j < N; ++j) { // trivial unswitch if (C) P[i+j] = 0; } turning it into the obvious code without bothering to duplicate an empty loop. llvm-svn: 26220
-
Evan Cheng authored
llvm-svn: 26219
-
Andrew Lenharth authored
llvm-svn: 26218
-
Chris Lattner authored
llvm-svn: 26217
-
Jim Laskey authored
MachineDebugInfo tables. llvm-svn: 26216
-
Chris Lattner authored
Y = seteq bool X, true instead of just using X :) llvm-svn: 26215
-
Jim Laskey authored
llvm-svn: 26213
-
Duraid Madina authored
llvm-svn: 26211
-
Chris Lattner authored
llvm-svn: 26209
-
Chris Lattner authored
llvm-svn: 26208
-
Chris Lattner authored
llvm-svn: 26207
-
Chris Lattner authored
llvm-svn: 26206
-
Chris Lattner authored
like the flex stuff, which actually works when people do cvs updates and get conflicts in the updated checked in file. llvm-svn: 26205
-
Chris Lattner authored
it, because this: .bss X: .byte 0 results in the assembler warning: "initialization in bss segment". Annoying. llvm-svn: 26204
-
Chris Lattner authored
llvm-svn: 26203
-
Chris Lattner authored
The ABI specifies that there is a register save area at the bottom of the stack, which means the actual used pointer needs to be an offset from the subtracted value. llvm-svn: 26202
-
Duraid Madina authored
GCC's syntax for auto-dependency generation stuff. This should be changed to be disabling dependency stuff unless GCC/ICC is found. llvm-svn: 26201
-
Duraid Madina authored
llvm-svn: 26200
-
Duraid Madina authored
llvm-svn: 26199
-
Duraid Madina authored
go through, but we do want to know if we're using GCC/ICC since they share certain funky command line options (for dependency generation stuff) llvm-svn: 26198
-
Evan Cheng authored
llvm-svn: 26197
-
Evan Cheng authored
llvm-svn: 26196
-
Evan Cheng authored
ops. llvm-svn: 26195
-
Chris Lattner authored
llvm-svn: 26194
-
Evan Cheng authored
llvm-svn: 26193
-
Evan Cheng authored
llvm-svn: 26192
-
Chris Lattner authored
llvm-svn: 26191
-
Chris Lattner authored
llvm-svn: 26190
-