]> granicus.if.org Git - clang/commit
ntrinsics _mm256_permutexvar_epi64 doesn't accept three parameters as specify bellow.
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 5 Jul 2016 11:30:31 +0000 (11:30 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 5 Jul 2016 11:30:31 +0000 (11:30 +0000)
commit98ff6b10199cc24ff338f96cfa94b3e32572cf0c
tree242fbe92bdc0053f4579f3f21a5f8f2cce9c615a
parentafb56af19ef6393fa85317a3384d935efa42fbfe
ntrinsics _mm256_permutexvar_epi64 doesn't accept three parameters as specify bellow.
I deleted the extra mask parameter.

__m256i _mm256_permutexvar_epi64 (__m256i idx, __m256i a)
#include "immintrin.h"
Instruction: vpermq
CPUID Flags: AVX512VL + AVX512F
Description
Shuffle 64-bit integers in a across lanes using the corresponding index in idx, and store the results in dst.
Operation
FOR j := 0 to 3
  i := j*64
    id := idx[i+1:i]*64
      dst[i+63:i] := a[id+63:id]
      ENDFOR
      dst[MAX:256] := 0
      dst[MAX:256] := 0

(From: Intel intrinsics guide)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/avx512vlintrin.h