[PATCH] [X86][SSE] Vectorize v2i32 to v2f64 conversions

Simon Pilgrim llvm-dev at redking.me.uk
Sun Jun 14 08:34:01 PDT 2015


Hi qcolombet, delena, andreadb, spatel,

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.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10433

Files:
  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

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10433.27645.patch
Type: text/x-patch
Size: 7942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150614/a6c073a4/attachment.bin>


More information about the llvm-commits mailing list