Opt-in set DAZ and FTZ

This commit is contained in:
Nekotekina 2018-05-12 22:55:08 +03:00
parent a77896c1b6
commit 4c7afb6952
3 changed files with 11 additions and 9 deletions

View file

@ -508,7 +508,7 @@ void ppu_thread::cpu_task()
{
std::fesetround(FE_TONEAREST);
if (g_cfg.core.ppu_decoder != ppu_decoder_type::precise)
if (g_cfg.core.set_daz_and_ftz && g_cfg.core.ppu_decoder != ppu_decoder_type::precise)
{
// Set DAZ and FTZ
_mm_setcsr(_mm_getcsr() | 0x8840);