001000 |
rt |
rs |
0011000 |
100 |
111 |
111 |
6 |
5 |
5 |
7 |
3 |
3 |
3 |
BITREV rt, rs |
DSP |
Bit-Reverse Halfword |
Bit-Reverse Halfword
To reverse the order of the bits of the least-significant halfword in the specified register.
rt = rs0..15
The right-most halfword value in register rs is bit-reversed into the right-most halfword position in the destination register rt. The 16 most-significant bits of the destination register are zero-filled.
No data-dependent exceptions are possible.
The operands must be values in the specified format. If they are not, the results are UNPREDICTABLE and the values of the operand vectors become UNPREDICTABLE.
ValidateAccessToDSPResources() temp15..0 = GPR[rs]0..15 GPR[rt]31..0 = 016 || temp15..0
Reserved Instruction, DSP Disabled