upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/tls_host.cpp
diff options
context:
space:
mode:
authorTreXito <81475944+TreXito@users.noreply.github.com>2026-11-23 06:12:08 +0000
committerTreXito <81475944+TreXito@users.noreply.github.com>2026-11-23 06:16:20 +0000
commite5fcd3aa2f4a0ce84ccd79d03821ad26c7fd351a (patch)
treeef7a89abd92e2b0c9c99bc3e99a52bb2c1684e69 /runtime/src/tls_host.cpp
parentd974c88a54d7bd5158fd5a31ff74d7606cd74a43 (diff)
tools/vint_diff.py: generate the integer clamp and the 64-bit shifts
No fuzzer generated v_add_nc_i32 / v_sub_nc_i32 or v_lshlrev_b64 / v_lshrrev_b64 / v_ashrrev_i64, and none put clamp on the unsigned add/sub with a literal. vint_diff now generates: - clamp on the e64 / VOP3 form of v_add_nc_u32, v_sub_nc_u32, v_subrev_nc_u32 (saturate to [0, 0xffffffff]) and v_add_nc_i32, v_sub_nc_i32 (saturate to [0x80000000, 0x7fffffff]), from the measured "Integer clamp" row of docs/design.md; - the three 64-bit shifts into a VGPR pair, S1 a VGPR pair (odd first registers included), an SGPR pair or an integer inline constant sign-extended to 64 bits. A literal or a float inline constant as S1 is left out: its widening is not measured. The destination parser, the observed registers and the shrinker's seed filter now understand register pairs. Six new tests; a paragraph in docs/shader_validation.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions