Skip to main content

CMulEmitter

Trait CMulEmitter 

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

Multiply, 16-bit encoding

This instruction multiplies XLEN bits of the source operands from rsd’ and rs2’ and writes the lowest XLEN bits of the result to rsd’.

§Forms

Assembly: c.mul xd, xs2 Rust: c_mul(rd, rs2)

§Arguments

  • rd — Destination/source register.
  • rs2 — Source register.

Required Methods§

Source

fn c_mul(&mut self, rd: T0, rs2: T1)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§