Struct Float State
pub struct FloatState {
pub backend: FloatBackend,
pub control: u64,
pub status: u64,
pub supported_control_mask: Option<u32>,
}Expand description
Read-only actual thread state. Control/status separation is logical on x86_64.
Fields§
§backend: FloatBackend§control: u64§status: u64§supported_control_mask: Option<u32>Actual MXCSR_MASK (zero hardware mask uses the specified 0xffbf fallback). AArch64 has no corresponding mask in this profile.
Implementations§
§impl FloatState
impl FloatState
pub fn input_flush(self) -> bool
pub fn input_flush(self) -> bool
Observed standard f32/f64 operand-flush profile. AArch64 AH=1 is deliberately not interpreted as the standard AH=0 profile.
pub fn result_flush(self) -> bool
pub fn result_flush(self) -> bool
Observed standard f32/f64 result flush profile (x86 underflow is masked). AH=1 is intentionally not interpreted as the standard profile accepted by this crate.
Trait Implementations§
§impl Clone for FloatState
impl Clone for FloatState
§fn clone(&self) -> FloatState
fn clone(&self) -> FloatState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FloatState
§impl Debug for FloatState
impl Debug for FloatState
impl Eq for FloatState
§impl PartialEq for FloatState
impl PartialEq for FloatState
impl StructuralPartialEq for FloatState
Auto Trait Implementations§
impl Freeze for FloatState
impl RefUnwindSafe for FloatState
impl Send for FloatState
impl Sync for FloatState
impl Unpin for FloatState
impl UnsafeUnpin for FloatState
impl UnwindSafe for FloatState
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more