ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

c.zext.w

T1 riscv alu insn
Zero-extend word, 16-bit encoding
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zba, Zcb
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZba, Zcb

Summary

Takes a single source/destination operand. It zero-extends the least-significant word of the operand to XLEN bits by inserting zeros into all of the bits more significant than 31.

Syntax / Encoding

c.zext.w xd | 100111xxx1110001 (mask=0xfc7f match=0x9c71)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
16RV100111xxx11100010xfc7f / 0x9c71

Operands

NameDescription
xdbits [9:7]