[][src]Struct x86_64_xsave::fxsave::X87StatePart1

#[repr(C)]
pub struct X87StatePart1 { pub fpu_control_word: X87FloatingPointUnitControlWord, pub fpu_status_word: X87FloatingPointUnitStatusWord, pub abridged_fpu_tag_word: AbridgedFpuTagWord, pub fpu_opcode: FloatingPointUnitOpcode, pub fpu_instruction_pointer_offset: FloatingPointUnitInstructionPointerOffset, pub fpu_data_pointer_offset: FloatingPointUnitDataPointerOffset, // some fields omitted }

The x87 state exists in two, non-contiguous areas ('parts').

This is part 1.

Note that this layout is the same as would be produced by the legacy instructions FSTENV and FNSTENV (save FPU environment).

This layout can also be restored using the legacy instruction FLDENV (restore FPU environment).

Fields

fpu_control_word: X87FloatingPointUnitControlWord

x87 FPU Control Word, FCW.

Part of the x87 state.

fpu_status_word: X87FloatingPointUnitStatusWord

x87 FPU Status Word, FSW.

Part of the x87 state.

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 Status Word.

abridged_fpu_tag_word: AbridgedFpuTagWord

Abridged FPU Tag Word, FTW.

Part of the x87 state.

See the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 1, Section 8.1.7 for a description of the unabridged FPU Tag Word.

fpu_opcode: FloatingPointUnitOpcode

x87 FPU Opcode, FOP.

Part of the x87 state.

fpu_instruction_pointer_offset: FloatingPointUnitInstructionPointerOffset

x87 FPU Instruction Pointer Offset, FIP.

Part of the x87 state.

fpu_data_pointer_offset: FloatingPointUnitDataPointerOffset

x87 FPU Data Pointer Offset, FDP.

Part of the x87 state.

Trait Implementations

impl Clone for X87StatePart1[src]

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

Performs copy-assignment from source. Read more

impl Default for X87StatePart1[src]

impl Debug for X87StatePart1[src]

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.