3-648
INSTRUCTION SET REFERENCE
SHUFPS—Shuffle Single-FP (Continued)
FP_SELECT = (imm8 >> 2) AND 0X3;
IF (FP_SELECT = 0) THEN
DEST[63-32] = DEST[31-0];
ELSE
IF (FP_SELECT = 1) THEN
DEST[63-32] = DEST[63-32];
ELSE
IF (FP_SELECT = 2) THEN
DEST[63-32] = DEST[95-64];
ELSE
DEST[63-32] = DEST[127-96];
FI
FI
FI
FP_SELECT = (imm8 >> 4) AND 0X3;
IF (FP_SELECT = 0) THEN
DEST[95-64] = SRC/m128[31-0];
ELSE
IF (FP_SELECT = 1) THEN
DEST[95-64] = SRC/m128 [63-32];
ELSE
IF (FP_SELECT = 2) THEN
DEST[95-64] = SRC/m128 [95-64];
ELSE
DEST[95-64] = SRC/m128 [127-96];
FI
FI
FI
FP_SELECT = (imm8 >> 6) AND 0X3;
IF (FP_SELECT = 0) THEN
DEST[127-96] = SRC/m128 [31-0];
ELSE
IF (FP_SELECT = 1) THEN
DEST[127-96] = SRC/m128 [63-32];
ELSE
IF (FP_SELECT = 2) THEN
DEST[127-96] = SRC/m128 [95-64];
ELSE
DEST[127-96] = SRC/m128 [127-96];
FI
FI
FI