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:
authorTom1419-git <thomas.mayoraz@eduvaud.ch>2026-11-23 00:15:02 +0100
committerTom1419-git <thomas.mayoraz@eduvaud.ch>2026-11-23 00:15:02 +0100
commit8acce97b56ce97a1278f117ee7964b50a0b6a6ab (patch)
tree52dfd938b369379fb64dea04758298a3e19bff91 /runtime/src/pe_loader.cpp
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
tests/semantic: generated NaNs are the x86 default NaN on every host
The measured words pinned in the semantic tests use 0xFFC00000 for a NaN made from non-NaN operands (inf - inf, 0 * inf). The interpreter left that sign to the host CPU, so 30 rows in test_alu_vop3_mods_hw and test_alu_sdwa_hw failed on ARM64 (Apple Silicon), where the host gives 0x7FC00000. ieee_nan() makes the sign explicit for OpFAdd, OpFSub, OpFMul and fma_f32. x86-64 results are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions