SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Logical Shift Left by 5-Bit Unsigned Constant
SHL 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
5 | 3 | 3 | opcode |
src2 is left shifted by a 5-bit unsigned constant (ucst5) and the result is stored to dst. The shift in value is 0.
CSR[2] EQ = (dst == 0)
dst = src2 << ucst5