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.
Indirect jump via table
CM.JT (Zcmt) looks up target address from JVT CSR table by index and jumps to it. Table entries are XLEN-bit addresses. Reuses c.fsdsp encoding, incompatible with Zcd (C+D). Part of Zcmt, depends on Zca and Zicsr.
CM.JT is the 16-bit encoding form for compressed table jump; its semantics and encodable register/immediate ranges must be read from the official Zc extension rules.
Understand this scenario with real code like «cm.jt 3 # jump via table entry 3».
Understand this scenario with real code like «cm.jt 3 # jump via table entry 3».
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.