upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorc4k3ss <77441265+c4k3ss@users.noreply.github.com>2026-11-25 19:16:34 +0200
committerc4k3ss <77441265+c4k3ss@users.noreply.github.com>2026-11-25 19:16:34 +0200
commitda9e7492b207edf29ba96fa156b0d4f9f0105182 (patch)
treec952c7c21bf7e3508d73c43a93745a063b856c24 /runtime/test/tiny_game_exit_code_test.cpp
parent61126446068a14e1b10be64b042ddb67582f8d77 (diff)
rdna2spirv: lower_addr64 takes the 48-bit sign extension's shifts by 16
After the merge of main, Gen.host_addr sign-extends every 48-bit effective VA with a shift left and an arithmetic shift right by 16 (a 32-bit shift amount). lower_addr64 knew only shifts by 32, so every address kept Int64 and the lowering did nothing. A shift by 1..31 of a (low, high) pair now becomes the two words' shifts with the bits that cross between them; the amount may be a 32-bit or a 64-bit constant. test_addr64_lowering gains a negative 48-bit VA case (bit 47 set, read below the heap base), compared with the Int64 form in spirv_mini_interp. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions