tvl-depot/users/edef/refscan
edef cb764e87de refactor(users/edef/refscan): switch to intrinsics
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
2023-01-09 23:21:56 +00:00
..
src refactor(users/edef/refscan): switch to intrinsics 2023-01-09 23:21:56 +00:00
testdata feat(users/edef/refscan): high-performance Nix reference scanner 2023-01-09 20:15:31 +00:00
.gitignore feat(users/edef/refscan): high-performance Nix reference scanner 2023-01-09 20:15:31 +00:00
Cargo.lock refactor(users/edef/refscan): switch to intrinsics 2023-01-09 23:21:56 +00:00
Cargo.toml refactor(users/edef/refscan): switch to intrinsics 2023-01-09 23:21:56 +00:00