UTF-8 validation in x86-64: a scalar reference and an AVX2 version that checks 32 bytes per step. Every build fuzzes one against the other.
builds11one per commit
passing0 / 110%
utf8_avx2.obj over time
README for 1.0: what every build proves, and how the AVX2 version works tsvet · a863a63 · on Oct 8
1 ms
System V build tsvet · f7d0691 · on Sep 30
1 ms
Every case at offsets 0 to 63 latch · 2f41222 · on Sep 15
1 ms
ASCII fast path tsvet · 4e510c0 · on Sep 1
1 ms
vzeroupper before the only ret latch · a608127 · on Aug 29
1 ms
Stay a leaf: pad the tail in shadow space, not a stack frame mira · 44b36cf · on Aug 20
1 ms
A block may not end inside a sequence tsvet · 9df9b9c · on Aug 12
1 ms
Fuzz the AVX2 version against the scalar one latch · 0f6f935 · on Aug 5
1 ms
AVX2: three nibble tables and a saturating subtract tsvet · 7541806 · on Aug 4
1 ms
Benchmark: 64 MiB of ASCII and 64 MiB of mixed text tsvet · 0dfa429 · on Jul 27
1 ms
Scalar validator with every range from table 3-7 tsvet · c65f7e4 · on Jul 20
1 ms