[PATCH] D13648: AVX512: shuff62x2 DAG lowering

Igor Breger via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 06:46:34 PDT 2015


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

AVX512:  Implemented DAG lowering for shuff62x2/shufi62x2 instructions ( shuffle packed values at 128-bit granularity ) 
example
    shufflevector <8 x double> %x, <8 x double> %x1, <8 x i32> <i32 0, i32 1, i32 4, i32 5, i32 0, i32 1,  i32 4, i32 5>
  Before optimization the follow instructions was generated:
    vmovdqa64	LCPI0_0(%rip), %zmm1
    vpermpd	%zmm0, %zmm1, %zmm0
 After optimization:
    vshuff64x2 $136, %zmm0, %zmm0, %zmm0


Repository:
  rL LLVM

http://reviews.llvm.org/D13648

Files:
  lib/Target/X86/InstPrinter/X86InstComments.cpp
  lib/Target/X86/Utils/X86ShuffleDecode.cpp
  lib/Target/X86/Utils/X86ShuffleDecode.h
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-intrinsics.ll
  test/CodeGen/X86/vector-shuffle-512-v8.ll
  test/CodeGen/X86/vector-shuffle-v1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13648.37101.patch
Type: text/x-patch
Size: 14052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151012/f0a2acc3/attachment.bin>


More information about the llvm-commits mailing list