1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Portably-typed `std::arch` intrinsics.
//!
//! This crate exposes the `std::arch` intrinsics using the `std::simd` portable
//! vector types.
#![feature(stdsimd, target_feature, fn_must_use)]
#![no_std]

use core::{mem, simd};

mod arch {
    #[cfg(target_arch = "x86")]
    pub use core::arch::x86::*;

    #[cfg(target_arch = "x86_64")]
    pub use core::arch::x86_64::*;
}

#[cfg(target_arch = "x86")]
pub mod x86;

#[cfg(target_arch = "x86_64")]
pub mod x86_64;