Skip to content

Commit e03fbd9

Browse files
authored
Merge pull request #286 from AdaWorldAPI/claude/blackboard-285
blackboard: record the W1a-#9 masking-primitive ship (PR #285)
2 parents 5bc60cb + ce7976a commit e03fbd9

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

.claude/blackboard.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,31 @@
33
> **Read this first.** The "Polyglot Notebook" architecture below is a
44
> separate/older program, not the current epoch.
55
6-
## 2026-07-29 (latest) — blake3 dependency DROPPED: call sites swapped to the in-tree module
6+
## 2026-08-31 (latest) — W1a-#9 masking primitives SHIPPED on every dispatch arm (PR #285)
7+
8+
`U64x8`/`U32x16` gained `andnot` (set difference, `self & !other` — argument
9+
order deliberately differs from the raw Intel intrinsic, same direction on
10+
every backend) and `ternlog::<IMM>` (any 3-input boolean via the VPTERNLOG
11+
truth-table immediate; single VPTERNLOGQ/D on avx512, const-folded minterm
12+
composition elsewhere). Review round forced the completion that mattered:
13+
the methods exist on ALL SIX arms (scalar, avx2, avx512, neon `U32x16`,
14+
wasm `U32x16` via per-part `v128_andnot`, nightly via core::simd), the
15+
named immediates live on the always-compiled facade as
16+
`crate::simd::ternlog` (their first home in the scalar backend was compiled
17+
out on x86 — three bots caught it independently), and every portable arm
18+
carries the avx512-equivalent compile-time IMM domain guard. Doc examples
19+
on all twelve method sites; the avx512 ones execute in this environment's
20+
doc-test run. Declined finding, reasons on the PR thread: extending the
21+
pre-existing off-by-default nightly arm is REQUIRED (not extending it is
22+
the E0599 hole), and the stable-only rule governs the default build graph,
23+
which is untouched. Loose end, deliberate: whole-crate wasm compile-check
24+
is blocked by the pre-existing getrandom wasm dependency gap — the
25+
wasm-simd-parity sibling crate remains the verification home for that arm.
26+
Consumer side: lance-graph's mask-algebra arc (D-MAR-1, #1099) is the
27+
first caller; the codegen probe measured `vpternlogq $0x80` / `vandnps`
28+
single-instruction lowering under v4.
29+
30+
## 2026-07-29 — blake3 dependency DROPPED: call sites swapped to the in-tree module
731

832
Operator: "go ahead" on the rung-3a swap, with the measured cost table in
933
hand. This closes the only rung of `the-simd-ladder.md` that carried a cargo

0 commit comments

Comments
 (0)