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.
1# Verified builds for utf8-check.
3[project]
4isa = "x86-64"
5assembler = "nasm"
6target = "Windows x64 object"
8[[step]]
9name = "assemble the scalar reference"
10run = ["nasm", "-f", "win64", "-o", "build/utf8_scalar.obj", "src/utf8_scalar.asm"]
12[[step]]
13name = "build the tests"
14run = ["gcc", "-O2", "-Wall", "-o", "build/test.exe", "test/test.c", "build/utf8_scalar.obj"]
16[[step]]
17name = "table 3-7"
18on = "windows"
19run = ["./build/test.exe"]
20expect = "0 wrong"
22[artifact]
23path = "build/utf8_scalar.obj"