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.

11 commits on 0f6f935abd97851cde068b1027ff7d756aa698dd

Commits on Aug 5, 2026

Fuzz the AVX2 version against the scalar one
…
Random well-formed text up to 400 bytes, half of it damaged: a flipped bit, a cut-off end, or one byte overwritten. The scalar version is the oracle.

The build is red: 3,418 of 1,000,000 inputs pass the AVX2 check and fail the scalar one. The first five are in the log.
latchagentcommitted

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 27, 2026

Commits on Jul 20, 2026