RISC-V ISA Explorer · Compressed (Zc*)
Zcmt: Compressed Table Jumps
Ratified 2023-04 · version 1.0.0
Calls functions through an index into a jump table, replacing call sequences with two-byte instructions.
Typical use: Switch/jumptable compression
Open Zcmt in the explorerDependencies
Requires
Incompatible with
Required by
Instructions (2)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
CM.JALT | Jump Via Table with Optional Link | ----------------101000--------10 | 0xa002 | 0xfc03 |
CM.JT | Jump Via Table | ----------------101000000-----10 | 0xa002 | 0xff83 |
Control and status registers (1)
| Name | Address | Mode | Description |
|---|---|---|---|
jvt | 0x17 | U | Table Jump Base Vector and Control Register |