pub trait BsetEmitter<T0, T1, T2> {
// Required method
fn bset(&mut self, rd: T0, rs1: T1, rs2: T2);
}Expand description
Single-Bit set (Register)
This instruction returns rs1 with a single bit set at the index specified in rs2. The index is read from the lower log2(XLEN) bits of rs2.
§Forms
Assembly: bset xd, xs1, xs2
Rust: bset(rd, rs1, rs2)
§Arguments
rd— Destination register.rs1— Source register.rs2— Source register.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".