mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-19 04:15:57 +00:00
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:
1 parent
5c48f62fca
commit
2ab5329909
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user