[PATCH] [X86][AVX2] vpslldq/vpsrldq byte shifts for AVX2
Simon Pilgrim
llvm-dev at redking.me.uk
Thu Feb 12 10:25:48 PST 2015
Hi chandlerc, qcolombet, andreadb,
This patch refactors the existing lowerVectorShuffleAsByteShift function to add support for 256-bit vectors on AVX2 targets.
It also fixes a tablegen issue that prevented the lowering of vpslldq/vpsrldq vec256 instructions.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7596
Files:
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/vector-shuffle-256-v16.ll
test/CodeGen/X86/vector-shuffle-256-v32.ll
test/CodeGen/X86/vector-shuffle-256-v4.ll
test/CodeGen/X86/vector-shuffle-256-v8.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7596.19843.patch
Type: text/x-patch
Size: 17308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150212/c3d2b15d/attachment.bin>
More information about the llvm-commits
mailing list