mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Opt-in set DAZ and FTZ
This commit is contained in:
parent
a77896c1b6
commit
4c7afb6952
3 changed files with 11 additions and 9 deletions
|
@ -413,7 +413,7 @@ void SPUThread::cpu_task()
|
|||
{
|
||||
std::fesetround(FE_TOWARDZERO);
|
||||
|
||||
if (g_cfg.core.spu_decoder != spu_decoder_type::precise)
|
||||
if (g_cfg.core.set_daz_and_ftz && g_cfg.core.spu_decoder != spu_decoder_type::precise)
|
||||
{
|
||||
// Set DAZ and FTZ
|
||||
_mm_setcsr(_mm_getcsr() | 0x8840);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue