diff options
| author | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 08:17:16 +0000 |
|---|---|---|
| committer | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 08:17:16 +0000 |
| commit | 41e6f878779fb5d95e1ae1b30fd9308b2703f0f6 (patch) | |
| tree | c74e2005ec219b14edf7672a0723fa83402961b9 /runtime/src/tls_host.cpp | |
| parent | e5fcd3aa2f4a0ce84ccd79d03821ad26c7fd351a (diff) | |
vint_diff: one scalar value on a 64-bit shift; reject clamp before the early returns
The GFX10 constant-bus limit of v_lshlrev_b64, v_lshrrev_b64 and
v_ashrrev_i64 is one, not two: llvm-mc and COMGR reject
`v_lshrrev_b64 v[2:3], 0x12345678, s[4:5]` and `..., s4, s[6:7]`.
With an SGPR pair as S1 the generator now takes a VGPR or an inline
constant as the shift count, and the reference raises RefError on a
second scalar value.
The reference also ran `s_mov_b32 s4, 1 clamp` (and a v_cmp or
v_cndmask with clamp) because those return before the clamp check.
The check now comes first.
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