<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tests/test_f16misc_diff.py, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-23T12:25:55+00:00</updated>
<entry>
<title>tools/f16misc_diff.py: generate the f16 output modifiers and clamp on v_frexp_exp_i16_f16</title>
<updated>2026-11-23T12:25:55+00:00</updated>
<author>
<name>TreXito</name>
<email>81475944+TreXito@users.noreply.github.com</email>
</author>
<published>2026-11-23T12:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c542d871c196eaa5ad32bf05733464ecbe800c00'/>
<id>urn:sha1:c542d871c196eaa5ad32bf05733464ecbe800c00</id>
<content type='text'>
Main 7de2d446 and 2c3cc2a8 measured them on gfx1036 and the translator now
accepts them: an output multiplier changes nothing on an f16 result while
clamp still acts, and on v_frexp_exp_i16_f16 clamp and the multiplier are
both no-ops. The self-test still pinned three of them as refused, so the PR
failed its own test once merged onto main.

The model applies the measured rules, min3/max3, frexp_mant, frexp_exp and
ldexp get a multiplier in the random stage, frexp_exp gets clamp, and the
self-test and tests pin the measured words. A translator mutant that applies
the multiplier on clamp_f16 results is caught by the sweep (80 programs) and
the random stage (21).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>f16misc_diff.py: check each program as it is generated, not after building the whole list</title>
<updated>2026-11-23T12:12:19+00:00</updated>
<author>
<name>TreXito</name>
<email>81475944+TreXito@users.noreply.github.com</email>
</author>
<published>2026-11-23T08:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ee2d373b54aca98eb15b2b9cd8402b62f4977438'/>
<id>urn:sha1:ee2d373b54aca98eb15b2b9cd8402b62f4977438</id>
<content type='text'>
run_sweep, run_grid, run_exhaustive and run_suite built every program before _run checked
the first, so peak memory grew with --programs and --exhaustive-f16 held all 49,152
programs. sweep_items, grid_items, suite_items and exhaustive_programs now yield one at a
time. Same programs (SHA-256 of every program in all four stages matches), same output for
--programs 300 --seed 2. Generation-only peak: --exhaustive-f16 64,279,176 -&gt; 305,573
bytes, 3,000 random programs 5,092,014 -&gt; 310,551. Same pattern shdann found in #5086.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>f16misc_diff.py: differential fuzzer for eleven f16 ops no fuzzer generates</title>
<updated>2026-11-23T12:12:19+00:00</updated>
<author>
<name>TreXito</name>
<email>81475944+TreXito@users.noreply.github.com</email>
</author>
<published>2026-11-23T07:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5ec5431c88cd1353c3298d6bcd8db712fcdb9804'/>
<id>urn:sha1:5ec5431c88cd1353c3298d6bcd8db712fcdb9804</id>
<content type='text'>
v_min3/max3_f16, v_frexp_mant/exp_i16_f16, v_ldexp_f16, v_fmamk/fmaak_f16,
v_pk_fmac_f16 and v_fma_mix_f32/mixlo_f16/mixhi_f16 were in no --list-ops
and no generator. The tool compares the translation, run in
spirv_mini_interp, bit for bit with an exact-rational reference built from
the docs/design.md rows: a source-kind sweep, an edge grid with fma near
ties, random seeded programs, and --exhaustive-f16 for frexp/ldexp.

tests/test_f16misc_diff.py pins the reference to the gfx1036 words already
in tests/semantic.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
