#[repr(u32)]
pub enum sparc_cc {
Show 33 variants SPARC_CC_INVALID = 0, SPARC_CC_ICC_A = 264, SPARC_CC_ICC_N = 256, SPARC_CC_ICC_NE = 265, SPARC_CC_ICC_E = 257, SPARC_CC_ICC_G = 266, SPARC_CC_ICC_LE = 258, SPARC_CC_ICC_GE = 267, SPARC_CC_ICC_L = 259, SPARC_CC_ICC_GU = 268, SPARC_CC_ICC_LEU = 260, SPARC_CC_ICC_CC = 269, SPARC_CC_ICC_CS = 261, SPARC_CC_ICC_POS = 270, SPARC_CC_ICC_NEG = 262, SPARC_CC_ICC_VC = 271, SPARC_CC_ICC_VS = 263, SPARC_CC_FCC_A = 280, SPARC_CC_FCC_N = 272, SPARC_CC_FCC_U = 279, SPARC_CC_FCC_G = 278, SPARC_CC_FCC_UG = 277, SPARC_CC_FCC_L = 276, SPARC_CC_FCC_UL = 275, SPARC_CC_FCC_LG = 274, SPARC_CC_FCC_NE = 273, SPARC_CC_FCC_E = 281, SPARC_CC_FCC_UE = 282, SPARC_CC_FCC_GE = 283, SPARC_CC_FCC_UGE = 284, SPARC_CC_FCC_LE = 285, SPARC_CC_FCC_ULE = 286, SPARC_CC_FCC_O = 287,
}
Expand description

Enums corresponding to Sparc condition codes, both icc’s and fcc’s.

Variants§

§

SPARC_CC_INVALID = 0

< invalid CC (default)

§

SPARC_CC_ICC_A = 264

< Always

§

SPARC_CC_ICC_N = 256

< Never

§

SPARC_CC_ICC_NE = 265

< Not Equal

§

SPARC_CC_ICC_E = 257

< Equal

§

SPARC_CC_ICC_G = 266

< Greater

§

SPARC_CC_ICC_LE = 258

< Less or Equal

§

SPARC_CC_ICC_GE = 267

< Greater or Equal

§

SPARC_CC_ICC_L = 259

< Less

§

SPARC_CC_ICC_GU = 268

< Greater Unsigned

§

SPARC_CC_ICC_LEU = 260

< Less or Equal Unsigned

§

SPARC_CC_ICC_CC = 269

< Carry Clear/Great or Equal Unsigned

§

SPARC_CC_ICC_CS = 261

< Carry Set/Less Unsigned

§

SPARC_CC_ICC_POS = 270

< Positive

§

SPARC_CC_ICC_NEG = 262

< Negative

§

SPARC_CC_ICC_VC = 271

< Overflow Clear

§

SPARC_CC_ICC_VS = 263

< Overflow Set

§

SPARC_CC_FCC_A = 280

< Always

§

SPARC_CC_FCC_N = 272

< Never

§

SPARC_CC_FCC_U = 279

< Unordered

§

SPARC_CC_FCC_G = 278

< Greater

§

SPARC_CC_FCC_UG = 277

< Unordered or Greater

§

SPARC_CC_FCC_L = 276

< Less

§

SPARC_CC_FCC_UL = 275

< Unordered or Less

§

SPARC_CC_FCC_LG = 274

< Less or Greater

§

SPARC_CC_FCC_NE = 273

< Not Equal

§

SPARC_CC_FCC_E = 281

< Equal

§

SPARC_CC_FCC_UE = 282

< Unordered or Equal

§

SPARC_CC_FCC_GE = 283

< Greater or Equal

§

SPARC_CC_FCC_UGE = 284

< Unordered or Greater or Equal

§

SPARC_CC_FCC_LE = 285

< Less or Equal

§

SPARC_CC_FCC_ULE = 286

< Unordered or Less or Equal

§

SPARC_CC_FCC_O = 287

< Ordered

Trait Implementations§

source§

impl Clone for sparc_cc

source§

fn clone(&self) -> sparc_cc

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for sparc_cc

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for sparc_cc

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for sparc_cc

source§

fn eq(&self, other: &sparc_cc) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for sparc_cc

source§

impl Eq for sparc_cc

source§

impl StructuralPartialEq for sparc_cc

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.