Blame SOURCES/ilmbase-1.0.3-ucontext.patch
|
|
990902 |
diff -up ilmbase-1.0.3/IexMath/IexMathFpu.cpp.ucontext ilmbase-1.0.3/IexMath/IexMathFpu.cpp
|
|
|
990902 |
--- ilmbase-1.0.3/IexMath/IexMathFpu.cpp.ucontext 2012-07-26 20:51:55.000000000 +0200
|
|
|
990902 |
+++ ilmbase-1.0.3/IexMath/IexMathFpu.cpp 2012-08-02 23:33:14.815036891 +0200
|
|
|
990902 |
@@ -228,6 +228,7 @@ clearExceptions ()
|
|
|
990902 |
const uint16_t cwRestoreMask = ~((3 << 10) | (3 << 8));
|
|
|
990902 |
const uint16_t cwRestoreVal = (0 << 10) | (3 << 8);
|
|
|
990902 |
|
|
|
990902 |
+#if 0
|
|
|
990902 |
inline void
|
|
|
990902 |
restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
|
|
|
990902 |
{
|
|
|
990902 |
@@ -235,7 +236,7 @@ restoreControlRegs (const ucontext_t & u
|
|
|
990902 |
setMxcsr (ucon.uc_mcontext.fpregs->mxcsr, clearExceptions);
|
|
|
990902 |
}
|
|
|
990902 |
|
|
|
990902 |
-#if 0
|
|
|
990902 |
+#endif
|
|
|
990902 |
|
|
|
990902 |
//
|
|
|
990902 |
// Ugly, the mxcsr isn't defined in GNU libc ucontext_t, but
|
|
|
990902 |
@@ -255,7 +256,6 @@ restoreControlRegs (const ucontext_t & u
|
|
|
990902 |
setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
|
|
|
990902 |
}
|
|
|
990902 |
|
|
|
990902 |
-#endif
|
|
|
990902 |
|
|
|
990902 |
} // namespace FpuControl
|
|
|
990902 |
|