وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

PSHUFLW

PSHUFLW 

Usage:  PSHUFLW    dest,src,order                        Modifies flags: None

Copies words from the low quadword of the 'src' and inserts them in the low quadword of the 'dest' at word locations selected with the 'order' operand.

Shuffle Packed Low Words


PSHUFLW xmm1,xmm2/m128,imm8   ; F2 0F 70 /r ib  [WILLAMETTE,SSE2]


PSHUFLW shuffles the words in the low quadword of the source (second) operand according to the encoding specified by imm8, and stores the result in the low quadword of the destination (first) operand.


The operation of this instruction is similar to the PSHUFW  instruction, except that the source and destination are the low quadword of a 128-bit operand, instead of being 64-bit operands. The high quadword is copied from the source to the destination without any changes.


This operation is similar to the operation used by the PSHUFD instruction. For the PSHUFLW instruction, each 2- bit field in the order operand selects the contents of one word location in the low quadword of the 'dest operand. The binary encodings of the 'order' operand fields select words (0, 1, 2, or 3) from the low quadword of the 'src operand to be copied to the 'dest' operand. The high quadword of the 'src' operand is copied to the high quadword of the 'dest' operand.


EXAMPLE:

pshuflw xmm1 Label 2