[PATCH] D15946: Optimized instruction sequence for sitofp operation on X86-32
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 02:48:06 PST 2016
delena created this revision.
delena added a reviewer: mbodart.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
Optimized
sitofp i64 %x to double
the current sequence
movl %ecx, 8(%esp)
movl %edx, 12(%esp)
fildll 8(%esp)
replaced with
movd %ecx, %xmm0
movd %edx, %xmm1
punpckldq %xmm1, %xmm0
movq %xmm0, 8(%esp)
Repository:
rL LLVM
http://reviews.llvm.org/D15946
Files:
../lib/Target/X86/X86ISelLowering.cpp
../test/CodeGen/X86/dagcombine-cse.ll
../test/CodeGen/X86/scalar-int-to-fp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15946.44200.patch
Type: text/x-patch
Size: 4644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160107/9f3b45b8/attachment.bin>
More information about the llvm-commits
mailing list