pub trait CAndEmitter<T0, T1> { // Required method fn c_and(&mut self, rd: T0, rs2: T1); }
And
And rd with rs2, and store the result in rd The rd and rs2 register indexes should be used as rd+8 and rs2+8 (registers x8-x15). C.AND expands into and rd, rd, rs2.
and rd, rd, rs2
Assembly: c.and xd, rs2 Rust: c_and(rd, rs2)
c.and xd, rs2
c_and(rd, rs2)
rd
rs2
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".