bset
Returns xs1 with a single bit set at the index specified in xs2.
The index is read from the lower log2(XLEN) bits of xs2.
Synopsis
bset xd, xs1, xs2
Encoding
Type: R
funct7: 0010100
funct3: 001
opcode: 0110011
Availability
- Extension: Zbs
- Base: RV32 + RV64