[PATCH] D28604: [X86][AVX512] Add support for variable ASHR v2i64/v4i64 support without VLX

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 03:43:41 PST 2017


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

Use v8i64 variable ASHR instructions if we don't have VLX.

This is a reduced version of https://reviews.llvm.org/D28537 that just adds support for variable shifts - I'll continue with that patch (for just constant/uniform shifts) once I've fixed the type legalization issue in avx512-cvt.ll, but this is ready to go now.


Repository:
  rL LLVM

https://reviews.llvm.org/D28604

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  test/CodeGen/X86/vector-shift-ashr-128.ll
  test/CodeGen/X86/vector-shift-ashr-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28604.84101.patch
Type: text/x-patch
Size: 8234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/663b410f/attachment.bin>


More information about the llvm-commits mailing list