Set both Default-NAN and FZ on ARM. See comments.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0274h/Babffifj.html
This commit is contained in:
Henrik Rydgard committed 2014-03-23 10:07:20 +01:00
1 parent 941b8b4663
commit efa7ba5570
3 files changed
+13 -2

No files matched your search

+3
View File
@@ -24,6 +24,7 @@
#include <codecvt>
#endif
#include "math/math_util.h"
#include "native/thread/thread.h"
#include "native/thread/threadutil.h"
#include "native/base/mutex.h"
@@ -244,6 +245,8 @@ void CPU_Shutdown() {
void CPU_RunLoop() {
setCurrentThreadName("CPUThread");
FPU_SetFastMode();
if (!CPU_NextState(CPU_THREAD_PENDING, CPU_THREAD_STARTING)) {
ERROR_LOG(CPU, "CPU thread in unexpected state: %d", cpuThreadState);
return;