vrl/lib.rs
1//! Port (__NOT__ bindings) of Agner Fog's [Vector Class Library](https://github.com/vectorclass/version2) to Rust.
2//! `vrl` stands for **V**ector **R**ust **L**ibrary.
3//!
4//! This is a library for using the SIMD (Single Instruction Multiple Data) instructions on modern
5//! x86 and x86-64 CPUs.
6
7mod common;
8mod macros;
9
10mod vec4f;
11mod vec8f;
12
13mod intrinsics {
14 #[cfg(target_arch = "x86_64")]
15 pub use core::arch::x86_64::*;
16
17 #[cfg(target_arch = "x86")]
18 pub use core::arch::x86::*;
19}
20
21#[cfg(any(sse, doc))]
22pub use vec4f::Vec4f;
23
24#[cfg(any(sse, doc))]
25pub use vec8f::Vec8f;
26
27pub use common::SIMDVector;