Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||||||
1 |
packw.sh Rd, Rx, Ry |
Rd[31:16] = SATS(Rx, 16); Rd[15:0] = SATS(Ry, 16); |
{d, x, y} ∈ {0, 1, …, 15} |
Rev1+ |
|
Pack the two words given in the source registers into two halfwords in the destination register. Each of the words are saturated to signed halfwords before being packed.
Q: |
Flag set if saturation occured in one or more of the partial operations. |
V: |
Not affected. |
N: |
Not affected. |
Z: |
Not affected. |
C: |
Not affected. |