Skip to main content

SrlwEmitter

Trait SrlwEmitter 

Source
pub trait SrlwEmitter<T0, T1, T2> {
    // Required method
    fn srlw(&mut self, rd: T0, rs1: T1, rs2: T2);
}
Expand description

Shift right logical word

Logical shift the 32-bit value in rs1 right by the value in the lower 5 bits of rs2, and store the sign-extended result in rd.

§Forms

Assembly: srlw xd, xs1, xs2 Rust: srlw(rd, rs1, rs2)

§Arguments

  • rd — Destination register.
  • rs1 — Source register.
  • rs2 — Source register.

Required Methods§

Source

fn srlw(&mut self, rd: T0, rs1: T1, rs2: T2)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§