pub trait Sh1AddUwEmitter<T0, T1, T2> {
// Required method
fn sh1add_uw(&mut self, rd: T0, rs1: T1, rs2: T2);
}Expand description
Shift unsigned word left by 1 and add
This instruction performs an XLEN-wide addition of two addends. The first addend is rs2. The second addend is the unsigned value formed by extracting the least-significant word of rs1 and shifting it left by 1 place.
§Forms
Assembly: sh1add.uw xd, xs1, xs2
Rust: sh1add_uw(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".