Files
betterxen/crates/loader/tests
jelly013 c586a4a82a test(loader): tighten the x86-64 known answers after review (#155)
Pin MXCSR for a flushed exact tiny result, PE for unmasked overflow and
underflow, and run the sweeps with each exception unmasked alone. Require a
refused form to stop at its exact instruction with all state unchanged,
assert the cached DBT run hits the cache, and check the fallback counter for
every straight-line case. Add a faulting zero-count memory shift.

The tighter checks expose one more defect, kept as an ignored test: an exact
unmasked overflow sets PE as well as OE.

Correct the chronology: 700 table cases were written before the CPU source
was read, and the other cases and the sweeps afterwards. The message of
1c5c320 says otherwise.

Signed-off-by: jelly013 <22855910+jelly013@users.noreply.github.com>
2026-11-24 15:41:20 +01:00
..