Commit graph

3 commits

Author SHA1 Message Date
edef
0b9e1aca63 docs(users/edef/refscan): add copyright and license information
reUSE.software compliant :)

Change-Id: I349f1958a11ab7ee98d67c90d02f1c799e9d30fe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7688
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
2023-01-10 01:00:08 +00:00
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
edef
0b3c0725a2 feat(users/edef/refscan): high-performance Nix reference scanner
Research-grade code, treat with care.

Change-Id: I99804df93e64101ef24928238ef0a8a02b59c2aa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7686
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
2023-01-09 20:15:31 +00:00