pub trait BextiEmitter<T0, T1, T2> {
// Required method
fn bexti(&mut self, rd: T0, rs1: T1, shamtd: T2);
}Expand description
Single-Bit extract (Immediate)
This instruction returns a single bit extracted from rs1 at the index specified in rs2. The index is read from the lower log2(XLEN) bits of shamt. For RV32, the encodings corresponding to shamt[5]=1 are reserved.
§Forms
Assembly: bexti xd, xs1, shamt
Rust: bexti(rd, rs1, shamtd)
§Arguments
rd— Destination register.rs1— Source register.shamtd— Immediate encoding value.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".