[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)
commite2d3e4467ee57211d661b3474a6dd7e8a85c8376
tree5a923b58fd1babb9d2ab64b524ac749f9ab1babb
parent50f4bcf54e4e78a588722809da6df6681d86da12
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrFragmentsSIMD.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/vec_int_to_fp.ll
test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll