[−][src]Struct x86_64_xsave::fxsave::domain::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]
) -> Self
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(&self) -> 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]
fn eq(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
fn ne(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
impl PartialOrd<X87FloatingPointUnitControlWord> for X87FloatingPointUnitControlWord
[src]
fn partial_cmp(
&self,
other: &X87FloatingPointUnitControlWord
) -> Option<Ordering>
[src]
&self,
other: &X87FloatingPointUnitControlWord
) -> Option<Ordering>
fn lt(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
fn le(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
fn gt(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
fn ge(&self, other: &X87FloatingPointUnitControlWord) -> bool
[src]
impl Eq for X87FloatingPointUnitControlWord
[src]
impl Ord for X87FloatingPointUnitControlWord
[src]
fn cmp(&self, other: &X87FloatingPointUnitControlWord) -> Ordering
[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]
Auto Trait Implementations
impl Send for X87FloatingPointUnitControlWord
impl Sync for X87FloatingPointUnitControlWord
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,