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

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

The x87 FPU stores in the 11-bit x87 FPU opcode register (FOP) the opcode of the last x87 non-control instruction executed that incurred an unmasked x87 exception. This information provides state information for exception handlers.

Only the first and second opcode bytes (after all prefixes) are stored in the x87 FPU opcode register.

Since the upper 5 bits of the first opcode byte are the same for all floating-point opcodes (0b11011), only the lower 3 bits of this byte are stored in the opcode register.

Methods

impl FloatingPointUnitOpcode[src]

pub fn first_opcode_byte(self) -> u8[src]

The first opcode byte.

pub fn second_opcode_byte(self) -> u8[src]

The second opcode byte.

Trait Implementations

impl Clone for FloatingPointUnitOpcode[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<FloatingPointUnitOpcode> for FloatingPointUnitOpcode[src]

impl PartialOrd<FloatingPointUnitOpcode> for FloatingPointUnitOpcode[src]

impl Eq for FloatingPointUnitOpcode[src]

impl Ord for FloatingPointUnitOpcode[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 FloatingPointUnitOpcode[src]

impl Default for FloatingPointUnitOpcode[src]

impl Debug for FloatingPointUnitOpcode[src]

impl Hash for FloatingPointUnitOpcode[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.