bseti

Returns xs1 with a single bit set 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

bseti xd, xs1, shamt

Encoding

Type:

0671112141519202425310010011xd001xs1shamt0010100

RISC-V Instruction Encoder/Decoder

open bseti in rvcodecjs

Availability