diff --git a/src/sse/mod.rs b/src/sse/mod.rs index b27b627..a53eb59 100644 --- a/src/sse/mod.rs +++ b/src/sse/mod.rs @@ -1,18 +1,35 @@ +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_image_to_linear_u8; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_linear_to_image; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_math; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_to_linear; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_to_xyz_lab; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_gamma_curves; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_support; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_from_xyz_lab; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] mod sse_to_xyza_laba; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_image_to_linear_u8::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_linear_to_image::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_math::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_to_xyz_lab::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_gamma_curves::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_support::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_to_linear::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] pub use sse_to_xyza_laba::*; \ No newline at end of file diff --git a/src/sse/sse_support.rs b/src/sse/sse_support.rs index f725414..8eb7b85 100644 --- a/src/sse/sse_support.rs +++ b/src/sse/sse_support.rs @@ -2,6 +2,7 @@ use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; +#[cfg(any(target_arch = "x86_64", target_arch = "x86"))] use crate::x86_64_simd_support::shuffle; #[cfg(any(target_arch = "x86_64", target_arch = "x86"))]