_mm_permute_pd
Classification
Header File
Instruction
VPERMILPD xmm, xmm, imm8
Synopsis
_mm_permute_pd(__m128d a, int imm8);
Description
Shuffle double-precision (64-bit) floating-point elements in "a" using the control in "imm8", and store the results in "dst".
Operation
IF (imm8[0] == 0) dst[63:0] := a[63:0]; FI
IF (imm8[0] == 1) dst[63:0] := a[127:64]; FI
IF (imm8[1] == 0) dst[127:64] := a[63:0]; FI
IF (imm8[1] == 1) dst[127:64] := a[127:64]; FI
dst[MAX:128] := 0