| Mnemonic | Name | Extension |
|---|
c.add | Add | C |
c.addi | Add a sign-extended non-zero immediate | C |
c.addi4spn | Add a zero-extended non-zero immediate, scaled by 4, to the stack pointer | C |
c.addi16sp | Add a sign-extended non-zero immediate | C |
c.addiw | Add a sign-extended non-zero immediate | C |
c.addw | Add word | C |
c.and | And | C |
c.andi | And immediate | C |
c.beqz | Branch if Equal Zero | C |
c.bnez | Branch if NOT Equal Zero | C |
c.ebreak | Breakpoint exception | C |
c.fld | Load double-precision | D, C |
c.fldsp | Load doubleword into floating-point register from stack | D, C |
c.flw | Load single-precision | F, C |
c.flwsp | Load word into floating-point register from stack | F, C |
c.fsd | Store double-precision | D, C |
c.fsdsp | Store double-precision value to stack | D, C |
c.fsw | Store single-precision | F, C |
c.fswsp | Store single-precision value to stack | F, C |
c.j | Jump | C |
c.jal | Jump and Link | C |
c.jalr | Jump and Link Register | C |
c.jr | Jump Register | C |
c.lbu | Load unsigned byte, 16-bit encoding | Zcb |
c.ld | Load double | C, Zclsd |
c.ldsp | Load doubleword from stack pointer | C, Zclsd |
c.lh | Load signed halfword, 16-bit encoding | Zcb |
c.lhu | Load unsigned halfword, 16-bit encoding | Zcb |
c.li | Load the sign-extended 6-bit immediate | C |
c.lui | Load Upper Immediate | C |
c.lw | Load word | C |
c.lwsp | Load word from stack pointer | C |
c.mop.1 | Compressed May-Be-Operation 1 | Zcmop |
c.mop.3 | Compressed May-Be-Operation 3 | Zcmop |
c.mop.5 | Compressed May-Be-Operation 5 | Zcmop |
c.mop.7 | Compressed May-Be-Operation 7 | Zcmop |
c.mop.9 | Compressed May-Be-Operation 9 | Zcmop |
c.mop.11 | Compressed May-Be-Operation 11 | Zcmop |
c.mop.13 | Compressed May-Be-Operation 13 | Zcmop |
c.mop.15 | Compressed May-Be-Operation 15 | Zcmop |
c.mop.N | | Zcmop |
c.mul | Multiply, 16-bit encoding | Zcb |
c.mv | Move Register | C |
c.nop | Non-operation | C |
c.not | Bitwise not, 16-bit encoding | Zcb |
c.ntl.all | Compressed non-temporal locality hint, all | C, Zihintntl |
c.ntl.p1 | Compressed non-temporal locality hint, innermost private | C, Zihintntl |
c.ntl.pall | Compressed non-temporal locality hint, all private | C, Zihintntl |
c.ntl.s1 | Compressed non-temporal locality hint, innermost shared | C, Zihintntl |
c.or | Or | C |
c.sb | Store unsigned byte, 16-bit encoding | Zcb |
c.sd | Store double | C, Zclsd |
c.sdsp | Store doubleword to stack | C, Zclsd |
c.sext.b | Sign-extend byte, 16-bit encoding | Zcb |
c.sext.h | Sign-extend halfword, 16-bit encoding | Zcb |
c.sext.w | pseudo-op | Zcb |
c.sh | Store unsigned halfword, 16-bit encoding | Zcb |
c.slli | Shift left logical immediate | C |
c.srai | Shift right arithmetical immediate | C |
c.srli | Shift right logical immediate | C |
c.sspopchk.x5 | pseudo-op | C, Zicfiss |
c.sspush.x1 | pseudo-op | C, Zicfiss |
c.sub | Subtract | C |
c.subw | Subtract word | C |
c.sw | Store word | C |
c.swsp | Store word to stack | C |
c.xor | Exclusive Or | C |
c.zext.b | Zero-extend byte, 16-bit encoding | Zcb |
c.zext.h | Zero-extend halfword, 16-bit encoding | Zcb |
c.zext.w | Zero-extend word, 16-bit encoding | Zcb |
cbo.clean | Cache Block Clean | Zicbom/Zicbop/Zicboz |
cbo.flush | Cache Block Flush | Zicbom/Zicbop/Zicboz |
cbo.inval | Cache Block Invalidate | Zicbom/Zicbop/Zicboz |
cbo.zero | Cache Block Zero | Zicbom/Zicbop/Zicboz |
clmul | Carry-less multiply (low-part) | Zbc, Zbkc, Zk, Zkn, Zks |
clmulh | Carry-less multiply (high-part) | Zbc, Zbkc, Zk, Zkn, Zks |
clmulr | Carry-less multiply (reversed) | Zbc |
clz | Count leading zero bits | Zbb |
clzw | Count leading zero bits in word | Zbb |
cm.jalt | Jump Via Table with Optional Link | Zcmt |
cm.mva01s | Move two s0-s7 registers into a0-a1 | Zcmp |
cm.mvsa01 | Move a0-a1 into two registers of s0-s7 | Zcmp |
cm.pop | Destroy function call stack frame | Zcmp |
cm.popret | Destroy function call stack frame and return to `ra` | Zcmp |
cm.popretz | Destroy function call stack frame, move zero to `a0` and return to `ra` | Zcmp |
cm.push | Create function call stack frame | Zcmp |
cpop | Count set bits | Zbb |
cpopw | Count set bits in word | Zbb |
csrc | pseudo-op | Zicsr |
csrci | pseudo-op | Zicsr |
csrr | pseudo-op | Zicsr |
csrrc | Atomic Read and Clear Bits in CSR | Zicsr |
csrrci | Atomic Read and Clear Bits in CSR with Immediate | Zicsr |
csrrs | Atomic Read and Set Bits in CSR | Zicsr |
csrrsi | Atomic Read and Set Bits in CSR with Immediate | Zicsr |
csrrw | Atomic Read/Write CSR | Zicsr |
csrrwi | Atomic Read/Write CSR Immediate | Zicsr |
csrs | pseudo-op | Zicsr |
csrsi | pseudo-op | Zicsr |
csrw | pseudo-op | Zicsr |
csrwi | pseudo-op | Zicsr |
ctz | Count trailing zero bits | Zbb |
ctzw | Count trailing zero bits in word | Zbb |
czero.eqz | Conditional zero, if condition is equal to zero | Zicond |
czero.nez | Conditional zero, if condition is nonzero | Zicond |