[PATCH] D14942: Fixed a bug in VPERMT2 intrinsic
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 23:30:45 PST 2015
delena created this revision.
delena added a reviewer: igorb.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
The second operand of VPERMT2* instruction is a shuffle mask. The type of this operand is always Integer.
The other operands may be or Integer (VPEMT2D) or Floating Point (VPERMT2PS).
I separated VPERMT2 from VPERMI2 , because VPERMI2 has the shuffle mask in the first operand. The type of first operand of VPERMI2 is not strictly defined since it is the SIMD register, which is source (int) and destination(fp or int) at the same time.
I did not add tests, since we already have tests for these intrinsics.
Repository:
rL LLVM
http://reviews.llvm.org/D14942
Files:
../lib/Target/X86/X86ISelLowering.cpp
../lib/Target/X86/X86InstrAVX512.td
../lib/Target/X86/X86InstrFragmentsSIMD.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14942.41009.patch
Type: text/x-patch
Size: 12857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151124/e9ab4fd2/attachment.bin>
More information about the llvm-commits
mailing list