1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
use super::{MemorySize, Register};
pub(crate) struct IcedConstants;
#[allow(dead_code)]
impl IcedConstants {
pub(crate) const MAX_OP_COUNT: usize = 5;
pub(crate) const MAX_INSTRUCTION_LENGTH: usize = 15;
pub(crate) const REGISTER_BITS: u32 = 8;
pub(crate) const NUMBER_OF_CODE_VALUES: usize = 4203;
pub(crate) const NUMBER_OF_REGISTERS: usize = 241;
pub(crate) const NUMBER_OF_MEMORY_SIZES: usize = 136;
pub(crate) const NUMBER_OF_ENCODING_KINDS: usize = 5;
pub(crate) const NUMBER_OF_OP_KINDS: usize = 26;
pub(crate) const NUMBER_OF_CODE_SIZES: usize = 4;
pub(crate) const NUMBER_OF_ROUNDING_CONTROL_VALUES: usize = 5;
pub(crate) const VMM_FIRST: Register = Register::ZMM0;
pub(crate) const VMM_LAST: Register = Register::ZMM31;
pub(crate) const VMM_COUNT: u32 = 32;
pub(crate) const XMM_LAST: Register = Register::XMM31;
pub(crate) const YMM_LAST: Register = Register::YMM31;
pub(crate) const ZMM_LAST: Register = Register::ZMM31;
pub(crate) const MAX_CPUID_FEATURE_INTERNAL_VALUES: usize = 148;
pub(crate) const FIRST_BROADCAST_MEMORY_SIZE: MemorySize = MemorySize::Broadcast64_UInt32;
}