Is it always equivalent to a same-named 32-bit instruction?
Not always. Some C/Zc instructions compress common 32-bit operations, while others have dedicated stack-frame or table-jump semantics.
16-bit zero-extend halfword (lower 16 bits)
C.ZEXT.H is a CU-format Zcb instruction that zero-extends rsd'[15:0] to XLEN; rsd' is limited to x8-x15. It also requires Zbb, and Zcb depends on Zca.
Shows only official 16-bit fields, conditions, and architectural state; it does not model a pipeline, cache, or timing.
C.ZEXT.H requires Zcb and Zbb; Zcb depends on Zca.
C.ZEXT.H zero-extends rsd'[15:0] and writes the same x8-x15 register; it requires Zcb and Zbb.
Understand this scenario with real code like «c.zext.h x10 # x10 = EXTZ(x10[15:0])».
Not always. Some C/Zc instructions compress common 32-bit operations, while others have dedicated stack-frame or table-jump semantics.
Many 16-bit encodings can represent only a compressed register subset or fixed registers such as sp, ra, a0/a1.