casei: keep Unicode pair confirmation in the VBMI scan - #10
casei: keep Unicode pair confirmation in the VBMI scan#10perfloop-agent wants to merge 5 commits into
Conversation
Full hardware acceptance receipt — 2026-08-23Exact head: The complete pinned native field was rebuilt on both qualifying CPU models with AVX-512F/BW/VBMI. Hyperscan/Vectorscan reported
The five same-contract rows are the two curated Unicode literal rows plus the three Unicode-compatible This closes the repository-owned 34-row arena gate but does not close this PRs external-harness gate. The fused confirmation kernel improves the former roughly 9× worst Rebar gap to roughly 6× and improves the overall Ice Lake Rebar board from 4/18 to 6/18, but three equivalent Unicode rows still lose. This PR therefore remains unmergeable under the acceptance rule in its own description. Corrected receipt digests:
|
Result
For eligible N=1 Unicode literals, keep pair-pair survivors inside one AVX-512F/BW/VBMI scan and confirm the complete bounded literal before returning to Go. Width-changing or opaque folds, literals that exceed the bounded descriptor, and unsupported hosts keep the decoded path.
The measured false-survivor row moved from losing badly to leading the pinned field:
ns/opx_vs_bestPerfloop measured 10 randomized pairs on
BenchmarkBar/multi/multi_N1_unicode_pair_miss_1_5mb. This is targeted evidence, not a complete acceptance run, and it has not been independently reproduced.Construction
The current confirmation loop is fused into assembly but is not purely register-resident. Disassembly of the linux/amd64 object at
e524403shows no kernel spills beyond ABI argument/result slots, but the survivor loop reloads the packed descriptor at offsets0xc9and0xca, then form data at offsets0,2,4,6,7, and8. Perfloop classified the stricter register-resident proposal as the same mechanism rather than minting a duplicate Case. An open review on the existing Case now requires that A/B as the next implementation result.Verified so far
go vet ./...,go test ./..., andgo test -race ./....FuzzIndexFoldrun.NOVELTY.mdrecords the bounded representation, closest known constructions, targeted result, full-board limitation, and falsifiers without claiming a new automaton.Perfloop prepared the pinned native field with
CASEI_PREPARE_ONLY=1, built the arena binary, and co-measured the targeted field row. It did not run the full reproducer acceptance board.Merge gate
Before merge, run the complete pinned field on both Ice Lake and Sapphire Rapids, require all 34 BenchmarkBar rows below
x_vs_best=1.0with at least two entrants and full-width dispatch, and require wins on all five Unicode-equivalent Rebar rows. Until those receipts exist, this PR is a promising fused-memory control, not proof that the remaining casei gaps are closed.Perfloop Case: https://app.perfloop.ai/t/oss/case_s8c41a1per