[llvm-commits] [llvm] r47659 - /llvm/trunk/lib/Target/X86/README-X86-64.txt
Chris Lattner
sabre at nondot.org
Tue Feb 26 21:48:44 PST 2008
Author: lattner
Date: Tue Feb 26 23:48:44 2008
New Revision: 47659
URL: http://llvm.org/viewvc/llvm-project?rev=47659&view=rev
Log:
this code is correct but strange looking ;-)
Modified:
llvm/trunk/lib/Target/X86/README-X86-64.txt
Modified: llvm/trunk/lib/Target/X86/README-X86-64.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/README-X86-64.txt?rev=47659&r1=47658&r2=47659&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/README-X86-64.txt (original)
+++ llvm/trunk/lib/Target/X86/README-X86-64.txt Tue Feb 26 23:48:44 2008
@@ -243,8 +243,7 @@
_a:
subq $8, %rsp
cvttsd2siq %xmm0, %rax
- movl $4294967295, %ecx
- andq %rcx, %rax
+ movl %eax, %eax
cvtsi2sdq %rax, %xmm0
addq $8, %rsp
ret
More information about the llvm-commits
mailing list