ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

c.slli

T1 riscv alu insn
Shift left logical immediate
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zca, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZca, Zkt-DIT

Summary

Shift the value in xd left by shamt, and store the result back in xd. C.SLLI expands into slli xd, xd, shamt.

Syntax / Encoding

c.slli xd, shamt | 0000xxxxxxxxxx10 (mask=0xf003 match=0x0002)

Binary Encodings (2)

WidthFormatBit PatternMask / Match
16RV320000xxxxxxxxxx100xf003 / 0x0002
16RV64000xxxxxxxxxxx100xe003 / 0x0002

Operands

NameDescription
shamtbits [6:2], not 0
xdbits [11:7]