| Age | Commit message (Collapse) | Author |
|
tools/f16misc_diff.py, tools/import_fail_fast.py and tools/vrel_diff.py came in with
our open PRs and were the only new entries test_tool_stdout_encoding reports on mangrove
over upstream main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
v_frexp_exp_i16_f16
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 <noreply@anthropic.com>
|
|
the whole list
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 -> 305,573
bytes, 3,000 random programs 5,092,014 -> 310,551. Same pattern shdann found in #5086.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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 <noreply@anthropic.com>
|