aboutsummaryrefslogtreecommitdiff
path: root/vendor/simd-adler32/src/imp/mod.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
committerValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
commita990de90fe41456a23e58bd087d2f107d321f3a1 (patch)
tree15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/simd-adler32/src/imp/mod.rs
parent3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff)
downloadfparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz
fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip
Deleted vendor folder
Diffstat (limited to 'vendor/simd-adler32/src/imp/mod.rs')
-rw-r--r--vendor/simd-adler32/src/imp/mod.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/simd-adler32/src/imp/mod.rs b/vendor/simd-adler32/src/imp/mod.rs
deleted file mode 100644
index 957b50a..0000000
--- a/vendor/simd-adler32/src/imp/mod.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-pub mod avx2;
-pub mod avx512;
-pub mod scalar;
-pub mod sse2;
-pub mod ssse3;
-pub mod wasm;
-
-pub type Adler32Imp = fn(u16, u16, &[u8]) -> (u16, u16);
-
-#[inline]
-#[allow(non_snake_case)]
-pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> i32 {
- ((z << 6) | (y << 4) | (x << 2) | w) as i32
-}
-
-pub fn get_imp() -> Adler32Imp {
- avx512::get_imp()
- .or_else(avx2::get_imp)
- .or_else(ssse3::get_imp)
- .or_else(sse2::get_imp)
- .or_else(wasm::get_imp)
- .unwrap_or(scalar::update)
-}