pub trait CSextHEmitter<T0> {
// Required method
fn c_sext_h(&mut self, rd: T0);
}Expand description
Sign-extend halfword, 16-bit encoding
This instruction takes a single source/destination operand. This instruction sign-extends the least-significant halfword of the source to XLEN by copying the most-significant bit in the halfword (i.e., bit 15) to all of the more-significant bits.
§Forms
Assembly: c.sext.h xd
Rust: c_sext_h(rd)
§Arguments
rd— Destination/source register.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".