[X86][SSE] Vectorize v2i32 to v2f64 conversions
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 16 Jun 2015 21:40:28 +0000 (21:40 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 16 Jun 2015 21:40:28 +0000 (21:40 +0000)
commitcae7b94cbd9d115bad33434bcbe741a4071f03df
treead7375a12042358dc4a1045488a1f9b033ebe2c7
parent637338543f1322ba13e5e48220931f4be347dc1f
[X86][SSE] Vectorize v2i32 to v2f64 conversions

This patch enables support for the conversion of v2i32 to v2f64 to use the CVTDQ2PD xmm instruction and stay on the SSE unit instead of scalarizing, sign extending to i64 and using CVTSI2SDQ scalar conversions.

Differential Revision: http://reviews.llvm.org/D10433

llvm-svn: 239855
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/CodeGen/X86/vec_int_to_fp.ll
llvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll