about summary refs log tree commit diff
path: root/views
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 /views
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 'views')
0 files changed, 0 insertions, 0 deletions