SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Logical Shift Right by 5-Bit Unsigned Constant
SHRU ucst5, src2, dst
Functional unit = L
32 bit
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 16 | 15 | 13 | 12 | 10 | 9 | 0 |
x | x | x | x | x | x | x | x | x | x | x | ucst5 | dst | src2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
5 | 3 | 3 | opcode |
src2 is right shifted by a 5-bit unsigned constant (ucst5) and the zero-extended result is stored to dst.
CSR[2] EQ = (dst == 0)
dst = {zero extend}{src2 >> ucst5}