← Home

slli.uw

Shift left unsigned word (Immediate)

Takes the least-significant word of xs1, zero-extends it, and shifts it left by the immediate.

Note: This instruction is the same as `slli` with `zext.w` performed on xs1 before shifting.

Assembly format

slli.uw xd, xs1, shamt

Encoding

313029282726252423222120191817161514131211109876543210
000010shamtxs1001xd0011011

Decode variables

VariableBitsWidth
shamt[25:20]6
xs1[19:15]5
xd[11:7]5

Execution

X[xd] = X[xs1][31:0] << shamt;

Defined by

RV64 and Zba

Access

SUVSVU
AlwaysAlwaysAlwaysAlways

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.