Does C.NOT perform arithmetic negation?
It flips all XLEN bits, equivalent to XOR with -1.
16-bit bitwise NOT (one's complement)
C.NOT (Zcb, CU format) inverts all XLEN bits of read/write operand rsd' in x8–x15, equivalent to xori rsd', rsd', -1. Zcb requires Zca and supports RV32/RV64.
Shows only ISA-visible 16-bit encoding, operands, and state, not a pipeline, cache, or timing.
Continue to Commit result to reveal architectural state.
C.NOT's single rd'/rs1' field maps to x8-x15 and computes XOR with -1 in that same register.
RV32 Zcb+Zca, x10=0x00ff00ff: c.not x10 writes x10=0xff00ff00, flipping all 32 bits.
It flips all XLEN bits, equivalent to XOR with -1.
Only x8–x15; the single register is read/write, with no immediate.