diff options
author | edef <edef@edef.eu> | 2023-01-09T23·16+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2023-01-09T23·21+0000 |
commit | cb764e87de3378cf1d179019853c7fcf6c0ecc45 (patch) | |
tree | 204b7ab75e0fe471523f4f6d7000e659d9d6ce70 /users/edef/refscan/Cargo.lock | |
parent | 0b3c0725a28786c8d8f2bfc659e8f0a5beedb05a (diff) |
refactor(users/edef/refscan): switch to intrinsics r/5637
packed_simd is deprecated, but we don't need very much SIMD: * _mm256_set1_epi8 / vpbroadcastb (splat) * _mm256_cmpgt_epi8 / vpcmpgtb (comparison) * _mm256_movemask_epi8 / vpmovmskb (compress to bitmask) This also simplifies the code by only vectorising the bare minimum, since we just get a bitmask and operate in scalar mode as soon as possible. We don't need nightly Rust anymore: we're using only stable intrinsics. Change-Id: Id410b5fef2549f3c97f48049f722f1e643e68553 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7687 Reviewed-by: edef <edef@edef.eu> Tested-by: BuildkiteCI
Diffstat (limited to 'users/edef/refscan/Cargo.lock')
-rw-r--r-- | users/edef/refscan/Cargo.lock | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/users/edef/refscan/Cargo.lock b/users/edef/refscan/Cargo.lock index 6a079249b3c0..a3515a75d720 100644 --- a/users/edef/refscan/Cargo.lock +++ b/users/edef/refscan/Cargo.lock @@ -1,25 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "packed_simd" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", -] +version = 3 [[package]] name = "refscan" version = "0.1.0" -dependencies = [ - "packed_simd 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[metadata] -"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" -"checksum packed_simd 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a85ea9fc0d4ac0deb6fe7911d38786b32fc11119afd9e9d38b84ff691ce64220" |