pub trait FshEmitter<T0, T1, T2> {
// Required method
fn fsh(&mut self, rs1: T0, rs2: T1, imm: T2);
}Expand description
Half-precision floating-point store
The fsh instruction stores a half-precision floating-point value
from register rd to memory at address rs1 + imm.
fsh does not modify the bits being transferred; in particular, the payloads of non-canonical NaNs are preserved.
fsh ignores all but the lower 16 bits in rs2.
fsh is only guaranteed to execute atomically if the effective address is naturally aligned.
§Forms
Assembly: fsh fs2, imm(xs1)
Rust: fsh(rs1, rs2, imm)
§Arguments
rs1— Memory base register.rs2— Source register.imm— Immediate encoding value.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".