Skip to main content

BinvEmitter

Trait BinvEmitter 

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

Single-Bit invert (Register)

This instruction returns rs1 with a single bit inverted at the index specified in rs2. The index is read from the lower log2(XLEN) bits of rs2.

§Forms

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

§Arguments

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

Required Methods§

Source

fn binv(&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§