[PATCH] D26938: [X86][SSE] Improve UINT_TO_FP v2i32 -> v2f64

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 14:10:15 PST 2016


RKSimon created this revision.
RKSimon added reviewers: craig.topper, zvi, mkuper, spatel, andreadb.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

Vectorize UINT_TO_FP v2i32 -> v2f64 instead of scalarization (albeit still on the SIMD unit).

The codegen matches that generated by legalization (and is in fact used by AVX for UINT_TO_FP v4i32 -> v4f64), but has to be done in the x86 backend to account for legalization via 4i32.


Repository:
  rL LLVM

https://reviews.llvm.org/D26938

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vec_int_to_fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26938.78780.patch
Type: text/x-patch
Size: 14185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161121/6e6414b1/attachment.bin>


More information about the llvm-commits mailing list