P32A 001000 |
rt |
rs |
rd |
x |
0001101 |
101 |
6 |
5 |
5 |
5 |
1 |
7 |
3 |
PRECR.QB.PH rd, rs, rt |
DSP-R2 |
Precision Reduce Four Integer Halfwords to Four Bytes |
Precision Reduce Four Integer Halfwords to Four Bytes
Reduce the precision of four integer halfwords to four byte values.
rd = rs23..16 || rs7..0 || rt23..16 || rt7..0
The 8 least-significant bits from each of the two integer halfword values in registers rs and rt are taken to produce four byte-sized results that are w ritten to the four byte elements in destination register rd. The two bytes values obtained from rs are written to the two left-most destination byte elements, and the two b ytes obtained from rt are written to the two right-most destination byte elements.
No data-dependent exceptions are possible.
The operands must be a value in the specified format. If they are not, the results are UNPREDICTABLE and the values of the operand vectors become UNPREDICTABLE.
ValidateAccessToDSP2Resources() tempD7..0 = GPR[rs]23..16 tempC7..0 = GPR[rs]7..0 tempB7..0 = GPR[rt]23..16 tempA7..0 = GPR[rt]7..0 GPR[rd]31..0 = tempD7..0 || tempC7..0 || tempB7..0 || tempA7..0
Reserved Instruction, DSP Disabled