- Aug 09, 2009
-
-
Chris Lattner authored
llvm-svn: 78511
-
- Feb 14, 2009
-
-
Dan Gohman authored
llvm-svn: 64535
-
- Sep 08, 2008
-
-
Dan Gohman authored
llvm-svn: 55920
-
- Apr 22, 2008
-
-
Dan Gohman authored
argument. The x86-64 ABI requires the incoming value of %rdi to be copied to %rax on exit from a function that is returning a large C struct. Also, add a README-X86-64 entry detailing the missed optimization opportunity and proposing an alternative approach. llvm-svn: 50075
-
- Feb 27, 2008
-
-
Chris Lattner authored
stack slot and store if the SINT_TO_FP is actually legal. This allows us to compile: double a(double b) {return (unsigned)b;} to: _a: cvttsd2siq %xmm0, %rax movl %eax, %eax cvtsi2sdq %rax, %xmm0 ret instead of: _a: subq $8, %rsp cvttsd2siq %xmm0, %rax movl %eax, %eax cvtsi2sdq %rax, %xmm0 addq $8, %rsp ret crazy. llvm-svn: 47660
-
Chris Lattner authored
llvm-svn: 47659
-
Chris Lattner authored
_test: movl %edi, %eax ret instead of: _test: movl $4294967295, %ecx movq %rdi, %rax andq %rcx, %rax ret It would be great to write this as a Pat pattern that used subregs instead of a 'pseudo' instruction, but I don't know how to do that in td files. llvm-svn: 47658
-
Chris Lattner authored
llvm-svn: 47652
-
- Aug 09, 2007
-
-
Evan Cheng authored
divb / mulb outputs to ah. Under x86-64 it's not legal to read ah if the instruction requires a rex prefix (i.e. outputs to r8b, etc.). So issue shift right by 8 on AX and then truncate it to 8 bits instead. llvm-svn: 40972
-
- Mar 28, 2007
-
-
Chris Lattner authored
llvm-svn: 35430
-
- Dec 05, 2006
-
-
Evan Cheng authored
- Re-enable some codegen niceties for X86-64 static relocation model codegen. - Clean ups, etc. llvm-svn: 32238
-
Evan Cheng authored
llvm-svn: 32214
-
- Sep 08, 2006
-
-
Evan Cheng authored
llvm-svn: 30177
-