luaur_code_gen/enums/
condition_a_64.rs1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(u32)]
4pub enum ConditionA64 {
5 Equal,
6 NotEqual,
7 CarrySet,
8 CarryClear,
9 Minus,
10 Plus,
11 Overflow,
12 NoOverflow,
13 UnsignedGreater,
14 UnsignedLessEqual,
15 GreaterEqual,
16 Less,
17 Greater,
18 LessEqual,
19 Always,
20 Count,
21}
22
23#[allow(non_upper_case_globals)]
24impl ConditionA64 {
25 pub const Equal: Self = Self::Equal;
26 pub const NotEqual: Self = Self::NotEqual;
27 pub const CarrySet: Self = Self::CarrySet;
28 pub const CarryClear: Self = Self::CarryClear;
29 pub const Minus: Self = Self::Minus;
30 pub const Plus: Self = Self::Plus;
31 pub const Overflow: Self = Self::Overflow;
32 pub const NoOverflow: Self = Self::NoOverflow;
33 pub const UnsignedGreater: Self = Self::UnsignedGreater;
34 pub const UnsignedLessEqual: Self = Self::UnsignedLessEqual;
35 pub const GreaterEqual: Self = Self::GreaterEqual;
36 pub const Less: Self = Self::Less;
37 pub const Greater: Self = Self::Greater;
38 pub const LessEqual: Self = Self::LessEqual;
39 pub const Always: Self = Self::Always;
40 pub const Count: Self = Self::Count;
41
42 pub const UnsignedLess: Self = Self::CarryClear;
43 pub const UnsignedGreaterEqual: Self = Self::CarrySet;
44}