What is the effect of the PACKssdw MM0,MM1 instruction if initially MM0 contains 0xE000001200000611 and MM1 contains 0x00102222FFFFFFFF?
What will be an ideal response?
The effect of this instruction is to pack with saturation two packed signed doubleword integers from the source
and destination into the four packed signed word integers in the destination; that is,
DEST[15..0] ? SaturateSignedDoublewordToSignedWord DEST[31..0]
DEST[31..16] ? SaturateSignedDoublewordToSignedWord DEST[63..32]
DEST[47..32] ? SaturateSignedDoublewordToSignedWord SRC[31..0]
DEST[63..48] ? SaturateSignedDoublewordToSignedWord SRC[63..32]
The PACKSSDW instruction packs two signed doublewords from the destination operand and two packed
doublewords from the source operand into four signed words in the destination operand. If the signed value of
a doubleword is outside the range of a signed word (that is; 0x8000 to 0x7FFF), the appropriate signed
saturated limit is stored.
In this example, the doublewords moved from MM1 and MM2 are:
0xE0000012
0x00000611
0x00102222
0xFFFFFFFF
These are going to be converted to
0x8000
0x0611
0x7FFF
0xFFFF
and MM0 will be loaded with 0x80006117FFFFFFF
You might also like to view...
What is thevalue of the following expression: (36 % 4) + (12 / (3 * 2) ) ?
a. 8 b. 0 c. 11 d. 2
A column of information in a data source is referred to as a record
Indicate whether the statement is true or false
In a Word table, the intersection of a row and a column is called a(n) ____________________, and is filled with text.
Fill in the blank(s) with the appropriate word(s).
Copyright attaches to a work as soon as you create it; you do not have to register it with the U.S. Copyright Office.
Answer the following statement true (T) or false (F)