- Feb 17, 2006
-
-
Nate Begeman authored
and SUBE nodes that actually expose what's going on and allow for significant simplifications in the targets. llvm-svn: 26255
-
Chris Lattner authored
conversions to __floatdidf instead of __floatdisf on targets that support f32 but not i64 (e.g. sparc). llvm-svn: 26254
-
Chris Lattner authored
llvm-svn: 26253
-
Jeff Cohen authored
llvm-svn: 26252
-
Jeff Cohen authored
llvm-svn: 26251
-
Nate Begeman authored
llvm-svn: 26250
-
Nate Begeman authored
llvm-svn: 26249
-
Chris Lattner authored
risk :) llvm-svn: 26248
-
Evan Cheng authored
issue. Need to do more experiments. llvm-svn: 26247
-
Nate Begeman authored
llvm-svn: 26246
-
Evan Cheng authored
llvm-svn: 26245
-
Evan Cheng authored
llvm-svn: 26244
-
Chris Lattner authored
other small targets that do that can be learned from. They also have the added advantage of being tested :) llvm-svn: 26243
-
Evan Cheng authored
turns out not to point to a constant string but it forgot change the offset back. llvm-svn: 26242
-
- Feb 16, 2006
-
-
Evan Cheng authored
proves to be worth 20% on Ptrdist/ks. Might be related to dependency breaking support. 2. Added FsMOVAPSrr and FsMOVAPDrr as aliases to MOVAPSrr and MOVAPDrr. These are used for FR32 / FR64 reg-to-reg copies. 3. Tell reg-allocator to generate MOVSSrm / MOVSDrm and MOVSSmr / MOVSDmr to spill / restore FsMOVAPSrr and FsMOVAPDrr. llvm-svn: 26241
-
Evan Cheng authored
llvm-svn: 26240
-
Chris Lattner authored
llvm-svn: 26239
-
Nate Begeman authored
and ComputeMaskedBits to match the new improved versions in instcombine. Tested against all of multisource/benchmarks on ppc. llvm-svn: 26238
-
Chris Lattner authored
llvm-svn: 26237
-
Chris Lattner authored
llvm-svn: 26236
-
Chris Lattner authored
Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*. Apparently they do different things :) This fixes a testcase that nate reduced from spass. Also included are a couple minor code changes that don't affect the generated code at all. llvm-svn: 26235
-
Evan Cheng authored
llvm-svn: 26234
-
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
-