PSHUFD
Usage: PSHUFD dest,src,order Modifies flags: None
Copies doublewords from 'src' (second operand) and inserts them in the 'dest' (first operand) at the locations selected with the order operand (third operand).
Shuffle Packed Doublewords
PSHUFD xmm1,xmm2/m128,imm8 ; 66 0F 70 /r ib [WILLAMETTE,SSE2]
PSHUFD shuffles the doublewords in the source (second) operand according to the encoding specified by imm8, and stores the result in the destination (first) operand.
Bits 0 and 1 of imm8 encode the source position of the doubleword to be copied to position 0 in the destination operand. Bits 2 and 3 encode for position 1, bits 4 and 5 encode for position 2, and bits 6 and 7 encode for position 3. For example, an encoding of 10 in bits 0 and 1 of imm8 indicates that the doubleword at bits 64-95 of the source operand will be copied to bits 0-31 of the destination.
EXAMPLE:
pshufd xmm1 Label 2