From c4ac41ed563eed25aa8c66ff968b6597e5437248 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 6 Apr 2016 13:49:12 +0200 Subject: [PATCH] Added codepath for ARM here (simple copy of PPC version) --- Sources/Engine/Math/Float.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Sources/Engine/Math/Float.cpp b/Sources/Engine/Math/Float.cpp index 980eb8a..1466160 100644 --- a/Sources/Engine/Math/Float.cpp +++ b/Sources/Engine/Math/Float.cpp @@ -34,6 +34,14 @@ inline ULONG _control87(WORD newcw, WORD mask) fpw |= (newcw & mask); } return(fpw); +#elif defined(__arm__) + static WORD fpw=_PC_64; + if (mask != 0) + { + fpw &= ~mask; + fpw |= (newcw & mask); + } + return(fpw); #else WORD fpw = 0;