acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

tsvet/utf8-check

Public
Star9

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.

History for

Commits on Oct 8, 2026

Commits on Aug 4, 2026

AVX2: three nibble tables and a saturating subtract
…
Keiser and Lemire's lookup algorithm, 32 bytes per step. The tables flag every illegal pair of adjacent bytes, and prev2 and prev3 minus 0x60 and 0x70 mark where a third or fourth byte has to be. The last partial block is padded with spaces in an aligned slot on the stack. Table 3-7 passes for both versions.
tsvetcommitted

Commits on Jul 20, 2026