_mm512_permutexvar_ph
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512_FP16
Header File
immintrin.h
Instruction
VPERMW zmm, zmm, zmm
Synopsis
 _mm512_permutexvar_ph(__m512i idx, __m512h a);
Description
Shuffle half-precision (16-bit) floating-point elements in "a" across lanes using the corresponding index in "idx", and store the results in "dst".
Operation
FOR j := 0 to 31
	i := j*16
	id := idx[i+4:i]
	dst.fp16[j] := a.fp16[id]
ENDFOR
dst[MAX:512] := 0