libm_hidden_proto (__feupdateenv)
libm_hidden_proto (fetestexcept)
libm_hidden_proto (feclearexcept)
+libm_hidden_proto (__feclearexcept)
/* Rounding mode context. This allows functions to set/restore rounding mode
only when the desired rounding mode is different from the current rounding
/* This always fails unless nothing needs to be done. */
return (excepts != 0);
}
+libm_hidden_def (__feclearexcept)
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__feclearexcept, __old_feclearexcept)
compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1);
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fpu_fpsr_t fpsr;
fpu_fpsr_t fpsr_new;
return 0;
}
+weak_alias (__feclearexcept, feclearexcept)
+libm_hidden_def (__feclearexcept)
libm_hidden_def (feclearexcept)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
unsigned int fpsr;
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fpu_control_t fpscr, new_fpscr;
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
int fpsr;
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
#include <fenv.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
union { unsigned long long l; unsigned int sw[2]; } s;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
int cw;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
int cw;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fpu_control_t cw;
fpu_control_t cw_new;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
SIM_SET_GLOBAL (__sim_exceptions_global, __sim_exceptions_thread);
return 0;
}
+libm_hidden_def (__feclearexcept)
#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
asm volatile ("csrc fflags, %0" : : "r" (excepts));
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fexcept_t temp;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
#include <fpu_control.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fpu_control_t cw;
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__feclearexcept, __old_feclearexcept)
#include <fenv.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fenv_t temp;
unsigned int mxcsr;
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)