[][src]Struct x86_64_xsave::fxsave::domain::X87FloatingPointUnitControlWord

#[repr(transparent)]
pub struct X87FloatingPointUnitControlWord(_);

See Figure 8-6 in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1, for the layout of the x87 FPU Control Word.

Methods

impl X87FloatingPointUnitControlWord[src]

pub fn save_after_raising_any_pending_unmasked_floating_point_exceptions(
) -> Self
[src]

Reads the control word after raising any pending unmasked floating point exceptions.

Uses the FSTCW instruction; see https://github.com/HJLebbink/asm-dude/wiki/FSTCW_FNSTCW.

pub fn save() -> Self[src]

Reads the control word.

Uses the FNSTCW instruction; see https://github.com/HJLebbink/asm-dude/wiki/FSTCW_FNSTCW.

pub fn restore(self)[src]

Writes the control word.

Uses the FLDCW instruction; see https://github.com/HJLebbink/asm-dude/wiki/FLDCW.

pub fn exception_flag_mask_bit_invalid_operation(self) -> bool[src]

Invalid Operation, IM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn exception_flag_mask_bit_denormal_operation(self) -> bool[src]

Denormal Operation, DM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn exception_flag_mask_bit_zero_divide(self) -> bool[src]

Zero Divide, ZM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn exception_flag_mask_bit_overflow(self) -> bool[src]

Overflow, OM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn exception_flag_mask_bit_underflow(self) -> bool[src]

Underflow, UM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn exception_flag_mask_bit_precision(self) -> bool[src]

Precision, PM.

One of the 6 exception flag mask bits.

When set (true), the corresponding x87 FPU floating-point exception is blocked from being generated.

pub fn precision_control(self) -> PrecisionControl[src]

Precision Control, PC.

pub fn rounding_control(self) -> RoundingControl[src]

Rounding Control, RC.

A 2-bit (u2) value.

pub fn infinity_control(self) -> bool[src]

Infinity Control, X, flag.

This is provided for compatibility with the Intel 287 Math Coprocessor; it is not meaningful for later version x87 FPU coprocessors or IA-32 processors.

Trait Implementations

impl Clone for X87FloatingPointUnitControlWord[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<X87FloatingPointUnitControlWord> for X87FloatingPointUnitControlWord[src]

impl PartialOrd<X87FloatingPointUnitControlWord> for X87FloatingPointUnitControlWord[src]

impl Eq for X87FloatingPointUnitControlWord[src]

impl Ord for X87FloatingPointUnitControlWord[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Copy for X87FloatingPointUnitControlWord[src]

impl Default for X87FloatingPointUnitControlWord[src]

impl Debug for X87FloatingPointUnitControlWord[src]

impl Hash for X87FloatingPointUnitControlWord[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.