| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/R/files/ |
Upload File : |
--- src/unix/sys-unix.c.orig 2021-03-28 00:59:38 UTC
+++ src/unix/sys-unix.c
@@ -909,12 +909,6 @@ void R_ProcessEvents(void)
* helpers for start-up code
*/
-#ifdef __FreeBSD__
-# ifdef HAVE_FLOATINGPOINT_H
-# include <floatingpoint.h>
-# endif
-#endif
-
/* patch from Ei-ji Nakama for Intel compilers on ix86.
From http://www.nakama.ne.jp/memo/ia32_linux/R-2.1.1.iccftzdaz.patch.txt.
Since updated to include x86_64.
@@ -928,9 +922,6 @@ void R_ProcessEvents(void)
void fpu_setup(Rboolean start)
{
if (start) {
-#ifdef __FreeBSD__
- fpsetmask(0);
-#endif
#if (defined(__i386) || defined(__x86_64)) && defined(__INTEL_COMPILER) && __INTEL_COMPILER > 800
_MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_OFF);
@@ -953,8 +944,5 @@ void fpu_setup(Rboolean start)
asm volatile("msr fpcr, %0" : : "r"(fpcr));
#endif
} else {
-#ifdef __FreeBSD__
- fpsetmask(~0);
-#endif
}
}