Skip to content

Commit 5153fd1

Browse files
committed
[x86] implement xsave intrinsics
1 parent c197560 commit 5153fd1

File tree

3 files changed

+409
-1
lines changed

3 files changed

+409
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
#![feature(const_fn, link_llvm_intrinsics, platform_intrinsics, repr_simd,
122122
simd_ffi, target_feature, cfg_target_feature, i128_type, asm,
123123
const_atomic_usize_new, stmt_expr_attributes)]
124-
#![cfg_attr(test, feature(proc_macro, test))]
124+
#![cfg_attr(test, feature(proc_macro, test, repr_align, attr_literals))]
125125
#![cfg_attr(feature = "cargo-clippy",
126126
allow(inline_always, too_many_arguments, cast_sign_loss,
127127
cast_lossless, cast_possible_wrap,

src/x86/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! `x86` and `x86_64` intrinsics.
22
3+
pub use self::xsave::*;
4+
35
pub use self::sse::*;
46
pub use self::sse2::*;
57
pub use self::sse3::*;
@@ -28,6 +30,8 @@ mod macros;
2830
#[macro_use]
2931
mod runtime;
3032

33+
mod xsave;
34+
3135
mod sse;
3236
mod sse2;
3337
mod sse3;

0 commit comments

Comments
 (0)