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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![deny(missing_docs)]
#![deny(unreachable_patterns)]
#![feature(allocator_api)]
#![feature(asm)]
#![feature(extern_types)]
#![feature(stdsimd)]
#[macro_use] extern crate arrayref;
use self::state_component_bitmaps::*;
use self::state_components::*;
use self::fxsave::*;
use self::fxsave::domain::*;
use self::fxsave::domain::floating_point_unit_data_pointer_offset::*;
use self::fxsave::domain::floating_point_unit_instruction_pointer_offset::*;
#[cfg(target_arch = "x86")] use ::std::arch::x86::__cpuid;
#[cfg(target_arch = "x86")] use ::std::arch::x86::__cpuid_count;
#[cfg(all(target_arch = "x86", target_feature = "sse"))] use ::std::arch::x86::_mm_getcsr;
#[cfg(all(target_arch = "x86", target_feature = "sse"))] use ::std::arch::x86::_mm_setcsr;
#[cfg(all(target_arch = "x86", target_feature = "fxsr"))] use ::std::arch::x86::_fxrstor;
#[cfg(all(target_arch = "x86", target_feature = "fxsr"))] use ::std::arch::x86::_fxsave;
#[cfg(all(target_arch = "x86", target_feature = "xsave"))] use ::std::arch::x86::_XCR_XFEATURE_ENABLED_MASK;
#[cfg(all(target_arch = "x86", target_feature = "xsave"))] use ::std::arch::x86::_xgetbv;
#[cfg(all(target_arch = "x86", target_feature = "xsave"))] use ::std::arch::x86::_xrstor;
#[cfg(all(target_arch = "x86", target_feature = "xsave"))] use ::std::arch::x86::_xsave;
#[cfg(all(target_arch = "x86", target_feature = "xsave", target_feature = "xsavec"))] use ::std::arch::x86::_xsavec;
#[cfg(all(target_arch = "x86", target_feature = "xsave", target_feature = "xsaveopt"))] use ::std::arch::x86::_xsaveopt;
#[cfg(all(target_arch = "x86", target_feature = "xsave"))] use ::std::arch::x86::_xsetbv;
#[cfg(target_arch = "x86")] use ::std::arch::x86::CpuidResult;
#[cfg(target_arch = "x86")] use ::std::arch::x86::has_cpuid;
#[cfg(target_arch = "x86_64")] use ::std::arch::x86_64::__cpuid;
#[cfg(target_arch = "x86_64")] use ::std::arch::x86_64::__cpuid_count;
#[cfg(all(target_arch = "x86_64", target_feature = "sse"))] use ::std::arch::x86_64::_mm_getcsr;
#[cfg(all(target_arch = "x86_64", target_feature = "sse"))] use ::std::arch::x86_64::_mm_setcsr;
#[cfg(all(target_arch = "x86_64", target_feature = "fxsr"))] use ::std::arch::x86_64::_fxrstor64;
#[cfg(all(target_arch = "x86_64", target_feature = "fxsr"))] use ::std::arch::x86_64::_fxsave64;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave"))] use ::std::arch::x86_64::_XCR_XFEATURE_ENABLED_MASK;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave"))] use ::std::arch::x86_64::_xgetbv;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave"))] use ::std::arch::x86_64::_xrstor64;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave"))] use ::std::arch::x86_64::_xsave64;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave", target_feature = "xsavec"))] use ::std::arch::x86_64::_xsavec64;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave", target_feature = "xsaveopt"))] use ::std::arch::x86_64::_xsaveopt64;
#[cfg(all(target_arch = "x86_64", target_feature = "xsave"))] use ::std::arch::x86_64::_xsetbv;
#[cfg(target_arch = "x86_64")] use ::std::arch::x86_64::CpuidResult;
#[cfg(target_arch = "x86_64")] use ::std::arch::x86_64::has_cpuid;
#[cfg(all(any(target_arch = "x86", target_arch = "x86_64"), target_feature = "xsave"))] use ::std::alloc::AllocErr;
use ::std::alloc::Alloc;
use ::std::alloc::Layout;
use ::std::cmp::Ordering;
use ::std::fmt;
use ::std::fmt::Debug;
use ::std::fmt::Formatter;
use ::std::hash::Hash;
use ::std::hash::Hasher;
use ::std::mem::transmute;
use ::std::mem::uninitialized;
use ::std::mem::zeroed;
use ::std::ops::Deref;
use ::std::ops::DerefMut;
use ::std::ptr::NonNull;
use ::std::slice::from_raw_parts;
include!("ExtendedStateInformation.rs");
include!("MxcsrRegisterValue.rs");
include!("RoundingControl.rs");
include!("SseXmmRegisterValue.rs");
include!("XSaveArea.rs");
include!("XSaveAreaLayout.rs");
include!("XSaveExtendedRegion.rs");
include!("XSaveHeader.rs");
pub mod state_component_bitmaps;
pub mod state_components;
pub mod fxsave;