about summary refs log tree commit diff
path: root/users/edef/refscan/Cargo.toml
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-01-09T23·16+0000
committeredef <edef@edef.eu>2023-01-09T23·21+0000
commitcb764e87de3378cf1d179019853c7fcf6c0ecc45 (patch)
tree204b7ab75e0fe471523f4f6d7000e659d9d6ce70 /users/edef/refscan/Cargo.toml
parent0b3c0725a28786c8d8f2bfc659e8f0a5beedb05a (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.toml')
-rw-r--r--users/edef/refscan/Cargo.toml3
1 files changed, 0 insertions, 3 deletions
diff --git a/users/edef/refscan/Cargo.toml b/users/edef/refscan/Cargo.toml
index 778d9d24edb4..45fa5a080422 100644
--- a/users/edef/refscan/Cargo.toml
+++ b/users/edef/refscan/Cargo.toml
@@ -5,6 +5,3 @@ authors = ["edef <edef@edef.eu>"]
 edition = "2018"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
-[dependencies]
-packed_simd = "0.3.3"