View | Details | Raw Unified | Return to bug 22902
Collapse All | Expand All

(-)a/sysdeps/i386/fpu/fenv_private.h (+6 lines)
Lines 339-344 libc_feresetround_387 (fenv_t *e) Link Here
339
  SET_RESTORE_ROUND_GENERIC (RM, libc_feholdsetround_sse, libc_feresetround_sse)
339
  SET_RESTORE_ROUND_GENERIC (RM, libc_feholdsetround_sse, libc_feresetround_sse)
340
# define libc_feholdexcept_setroundf128	libc_feholdexcept_setround_sse
340
# define libc_feholdexcept_setroundf128	libc_feholdexcept_setround_sse
341
# define libc_feupdateenv_testf128	libc_feupdateenv_test_sse
341
# define libc_feupdateenv_testf128	libc_feupdateenv_test_sse
342
#else
343
/* The 387 rounding mode is used by soft-fp for 32-bit, but whether
344
   387 or SSE exceptions are used depends on whether libgcc was built
345
   for SSE math, which is not known when glibc is being built.  */
346
# define libc_feholdexcept_setroundf128	default_libc_feholdexcept_setround
347
# define libc_feupdateenv_testf128	default_libc_feupdateenv_test
342
#endif
348
#endif
343
349
344
/* We have support for rounding mode context.  */
350
/* We have support for rounding mode context.  */

Return to bug 22902