Add custom conversion from v2u32 to v2f32 in 32-bit mode
authorMichael Liao <michael.liao@intel.com>
Wed, 24 Oct 2012 04:09:32 +0000 (04:09 +0000)
committerMichael Liao <michael.liao@intel.com>
Wed, 24 Oct 2012 04:09:32 +0000 (04:09 +0000)
commit991b6a22b6592b56ae890f30c478f835480e7cf5
treefe50bdd888096141ff05d8ac4492ff929a67f00a
parent2ef5bd3ba685704bc9c0d03654cb0b7fd1b071e6
Add custom conversion from v2u32 to v2f32 in 32-bit mode

- As there's no 64-bit GPRs in 32-bit mode, a custom conversion from v2u32 to
  v2f32 is added to improve the efficiency of the code generated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/cvtv2f32.ll [new file with mode: 0644]