mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 07:13:34 +01:00
armjit: Fix rounding mode, allow non flush-to-zero.
Default: force flush to zero (for RunFast mode.) But now it's an ini option so we can more easily compare armjit differences.
This commit is contained in:
1 parent
432bdef368
commit
52b6f1095e
6 files changed
+61
-31
No files matched your search
@@ -313,6 +313,14 @@ static ConfigSetting generalSettings[] = {
|
||||
ConfigSetting(false),
|
||||
};
|
||||
|
||||
static bool DefaultForceFlushToZero() {
|
||||
#ifdef ARM
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static ConfigSetting cpuSettings[] = {
|
||||
ReportedConfigSetting("Jit", &g_Config.bJit, &DefaultJit),
|
||||
ReportedConfigSetting("SeparateCPUThread", &g_Config.bSeparateCPUThread, false),
|
||||
@@ -323,6 +331,7 @@ static ConfigSetting cpuSettings[] = {
|
||||
ReportedConfigSetting("FuncReplacements", &g_Config.bFuncReplacements, true),
|
||||
ReportedConfigSetting("CPUSpeed", &g_Config.iLockedCPUSpeed, 0),
|
||||
ReportedConfigSetting("SetRoundingMode", &g_Config.bSetRoundingMode, true),
|
||||
ReportedConfigSetting("ForceFlushToZero", &g_Config.bForceFlushToZero, &DefaultForceFlushToZero),
|
||||
|
||||
ConfigSetting(false),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user