upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorTheHoracio <TheHoracio@users.noreply.github.com>2026-11-22 19:47:50 +0100
committerTheHoracio <TheHoracio@users.noreply.github.com>2026-11-22 19:47:50 +0100
commitbaa0e1e89da913ddf5c6f233c28ff6074a61a485 (patch)
tree77d493b9b38af6d6349a57fcbbd77f7a4ae5ec1c /runtime/src/pe_loader.cpp
parent77444fa0fbbcfe99d56e44a89f21330b669ccc51 (diff)
test_wave64_scmp_masks: drop the ctypes int patch, GFX10-less u64 compares and a self-check (follow-up to #2280)
- The `if not hasattr(int, "bit_count")` block wrote into int's type dict through a raw pointer at id(vars(int)) + 16. On the required Python 3.11+ it never runs, and on another CPython layout it would write to arbitrary memory instead of raising. tools/ and tests/semantic/ already call .bit_count() without one. - ref_s_cmp_u64 modelled s_cmp_lt/le/gt/ge_u64, which GFX10 doesn't have (llvm-mc 21.1.8 for gfx1013: "invalid instruction"). No test used them. - test_oracle_mathematical_properties only checked Python's == against itself (and unpack_u64, used nowhere else). It never reached the translator, so it could not fail for a translator bug. The file's 15 remaining tests are unchanged and pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions