upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorc4k3ss <77441265+c4k3ss@users.noreply.github.com>2026-11-26 13:37:35 +0200
committerc4k3ss <77441265+c4k3ss@users.noreply.github.com>2026-11-26 13:37:35 +0200
commitc621105e6f317893a818c385b63d908c51557ed5 (patch)
treed916da352377e9821810951524cb286b034cf9bb /runtime/test/code_hooks_test.cpp
parent3677e3217a2dc2a6c62228a91196c5c911095704 (diff)
rdna2spirv: lower_addr64 takes the swizzled offset's 64-bit multiply and variable left shift
After the second merge of main (RT-POST-LOAD-GPU-MEMORY, 9f98dcc61), the buffer address idiom also holds the full index * stride product in 64 bits, a left shift by the element-size log read from the V# (a 32-bit value, not a constant), and a 64-bit compare against 0xFFFFFFFF for the range check. The pass refused every such module and kept Int64. A 64-bit multiply becomes the low words' product, its high word from the four 16-bit half products (plain 32-bit multiplies, which the three test interpreters run), plus each low word times the other's high word. A left shift by a 32-bit value becomes the shift by k & 31 on both words with the crossing bits, the words moved up once k >= 32. The contract row and the code comment say so. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions