The NVN probe's Cpu gets the FP result check threshold too

Its static Cpu ran guest code with a zeroed threshold, which lets +-smallest normal pass the check unexamined.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-15 08:54:22 +03:00
1 parent 5c48f62fca
commit 2ab5329909
1 file changed
+1
+1
View File
@@ -919,6 +919,7 @@ int probe_nvn(void) {
if (child && *child) return run_as_child(child);
// The probe checks the null back end whatever TOTK_GPU says; the choice is made once, at the first object call.
((RtConfig *)rt_config())->gpu = "null";
rt_fpcr_threshold(&cpu); // the FP result check threshold of a fresh Cpu (cpu.h): a zeroed one is wrong, not slow
nvn_procs_register();
hostfn_seal();
kern_run_on_guest_main(probe_main);