Enum FcmpImm
pub enum FcmpImm {
Equal = 0,
LessThan = 1,
LessThanOrEqual = 2,
Unordered = 3,
NotEqual = 4,
UnorderedOrGreaterThanOrEqual = 5,
UnorderedOrGreaterThan = 6,
Ordered = 7,
}
Expand description
Encode the ways that floats can be compared. This is used in float comparisons such as cmpps
,
e.g.; it is distinguished from other float comparisons (e.g. ucomiss
) in that those use EFLAGS
whereas FcmpImm is used as an immediate.
Variants§
Equal = 0
Equal comparison.
LessThan = 1
Less than comparison.
LessThanOrEqual = 2
Less than or equal comparison.
Unordered = 3
Unordered.
NotEqual = 4
Not equal comparison.
UnorderedOrGreaterThanOrEqual = 5
Unordered of greater than or equal comparison.
UnorderedOrGreaterThan = 6
Unordered or greater than comparison.
Ordered = 7
Ordered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FcmpImm
impl RefUnwindSafe for FcmpImm
impl Send for FcmpImm
impl Sync for FcmpImm
impl Unpin for FcmpImm
impl UnwindSafe for FcmpImm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)