[PATCH] D27657: [X86][SSE] Lower suitably sign-extended mul vXi64 using PMULDQ

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 11 13:38:43 PST 2016


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

PMULDQ returns the 64-bit result of the signed multiplication of the lower 32-bits of vXi64 vector inputs, we can lower with this if the sign bits stretch that far.


Repository:
  rL LLVM

https://reviews.llvm.org/D27657

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/pmul.ll
  test/CodeGen/X86/vector-trunc-math.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27657.81009.patch
Type: text/x-patch
Size: 11411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161211/3513b21e/attachment-0001.bin>


More information about the llvm-commits mailing list