binvi

Returns xs1 with a single bit inverted at the index specified in shamt. The index is read from the lower log2(XLEN) bits of shamt. For RV32, the encodings corresponding to shamt[5]=1 are reserved.

Synopsis

binvi xd, xs1, shamt

Encoding

Type:

0671112141519202425310010011xd001xs1shamt0110100

RISC-V Instruction Encoder/Decoder

open binvi in rvcodecjs

Availability