#[repr(u8)]
pub enum X87Register {
ST0,
ST1,
ST2,
ST3,
ST4,
ST5,
ST6,
ST7,
}
Expand description
Register 0 (ST(0)
) is defined on this enumeration but optimal encodings of it in combination with mnemonics exist and should be preferred as they increase code density.
Variants
ST0
Register ST(0)
.
Contains the first long double
floating-point return value from a function call when using the System V Application Binary Interface (ABI) for AMD64.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST1
Register ST(1)
.
Contains the second long double
floating-point return value from a function call when using the System V Application Binary Interface (ABI) for AMD64; typically used for returning values of type complex long double
, where register ST(0)
contains the ‘real’ part as a long double
and ST(1)
contains the ‘imaginary’ part as a long double
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST2
Register ST(2)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST3
Register ST(3)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST4
Register ST(4)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST5
Register ST(5)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST6
Register ST(6)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
ST7
Register ST(7)
.
A scratch register (also known as a temporary or (function) caller-saved register) when using the System V Application Binary Interface (ABI) for AMD64.
Implementations
sourceimpl X87Register
impl X87Register
sourcepub const SystemVApplicationBinaryInterface64LongDoubleFloatingPointFunctionReturn0: Self = X87Register::ST0
pub const SystemVApplicationBinaryInterface64LongDoubleFloatingPointFunctionReturn0: Self = X87Register::ST0
Contains the first long double
floating-point return value from a function call when using the System V Application Binary Interface (ABI) for AMD64.
sourcepub const SystemVApplicationBinaryInterface64LongDoubleFloatingPointFunctionReturn1: Self = X87Register::ST1
pub const SystemVApplicationBinaryInterface64LongDoubleFloatingPointFunctionReturn1: Self = X87Register::ST1
Contains the second long double
floating-point return value from a function call when using the System V Application Binary Interface (ABI) for AMD64.
Trait Implementations
sourceimpl Clone for X87Register
impl Clone for X87Register
sourcefn clone(&self) -> X87Register
fn clone(&self) -> X87Register
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for X87Register
impl Debug for X87Register
sourceimpl Default for X87Register
impl Default for X87Register
sourceimpl From<MMRegister> for X87Register
impl From<MMRegister> for X87Register
sourcefn from(value: MMRegister) -> Self
fn from(value: MMRegister) -> Self
sourceimpl From<X87Register> for MMRegister
impl From<X87Register> for MMRegister
sourcefn from(value: X87Register) -> Self
fn from(value: X87Register) -> Self
sourceimpl Hash for X87Register
impl Hash for X87Register
sourceimpl Into<u8> for X87Register
impl Into<u8> for X87Register
sourceimpl Ord for X87Register
impl Ord for X87Register
sourcefn cmp(&self, other: &X87Register) -> Ordering
fn cmp(&self, other: &X87Register) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
sourceimpl PartialEq<X87Register> for X87Register
impl PartialEq<X87Register> for X87Register
sourcefn eq(&self, other: &X87Register) -> bool
fn eq(&self, other: &X87Register) -> bool
sourceimpl PartialOrd<X87Register> for X87Register
impl PartialOrd<X87Register> for X87Register
sourcefn partial_cmp(&self, other: &X87Register) -> Option<Ordering>
fn partial_cmp(&self, other: &X87Register) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more