mirror of git://sourceware.org/git/glibc.git
m68k: add __*_finite aliases
This commit is contained in:
parent
c3beb30239
commit
d3d9bde557
|
@ -1,3 +1,48 @@
|
||||||
|
2011-10-13 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
|
||||||
|
* sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
|
||||||
|
|
||||||
2011-10-09 Andreas Schwab <schwab@linux-m68k.org>
|
2011-10-09 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
* sysdeps/m68k/m680x0/s_isinfl.c: Remove.
|
* sysdeps/m68k/m680x0/s_isinfl.c: Remove.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997, 1999, 2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -21,10 +21,11 @@
|
||||||
#include "mathimpl.h"
|
#include "mathimpl.h"
|
||||||
|
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_acos
|
# define FUNC __ieee754_acos
|
||||||
|
# define FUNC_FINITE __acos_finite
|
||||||
#endif
|
#endif
|
||||||
#ifndef float_type
|
#ifndef float_type
|
||||||
#define float_type double
|
# define float_type double
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float_type
|
float_type
|
||||||
|
@ -33,3 +34,6 @@ FUNC (x)
|
||||||
{
|
{
|
||||||
return __m81_u(FUNC)(x);
|
return __m81_u(FUNC)(x);
|
||||||
}
|
}
|
||||||
|
#ifdef FUNC_FINITE
|
||||||
|
strong_alias (FUNC, FUNC_FINITE)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_acosf
|
# define FUNC __ieee754_acosf
|
||||||
|
# define FUNC_FINITE __acosf_finite
|
||||||
#endif
|
#endif
|
||||||
#define float_type float
|
#define float_type float
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_acosl
|
# define FUNC __ieee754_acosl
|
||||||
|
# define FUNC_FINITE __acosl_finite
|
||||||
#endif
|
#endif
|
||||||
#define float_type long double
|
#define float_type long double
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_asin
|
#define FUNC __ieee754_asin
|
||||||
|
#define FUNC_FINITE __asin_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_asinf
|
#define FUNC __ieee754_asinf
|
||||||
|
#define FUNC_FINITE __asinf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_asinl
|
#define FUNC __ieee754_asinl
|
||||||
|
#define FUNC_FINITE __asinl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1997, 1999, 2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -102,3 +102,4 @@ s(__ieee754_atan2) (float_type y, float_type x)
|
||||||
}
|
}
|
||||||
return z;
|
return z;
|
||||||
}
|
}
|
||||||
|
strong_alias (s(__ieee754_atan2), CONCATX (s (__atan2), _finite))
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_atanh
|
#define FUNC __ieee754_atanh
|
||||||
|
#define FUNC_FINITE __atanh_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_atanhf
|
#define FUNC __ieee754_atanhf
|
||||||
|
#define FUNC_FINITE __atanhf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_atanhl
|
#define FUNC __ieee754_atanhl
|
||||||
|
#define FUNC_FINITE __atanhl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_cosh
|
#define FUNC __ieee754_cosh
|
||||||
|
#define FUNC_FINITE __cosh_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_coshf
|
#define FUNC __ieee754_coshf
|
||||||
|
#define FUNC_FINITE __coshf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_coshl
|
#define FUNC __ieee754_coshl
|
||||||
|
#define FUNC_FINITE __coshl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp10
|
#define FUNC __ieee754_exp10
|
||||||
|
#define FUNC_FINITE __exp10_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp10f
|
#define FUNC __ieee754_exp10f
|
||||||
|
#define FUNC_FINITE __exp10f_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp10l
|
#define FUNC __ieee754_exp10l
|
||||||
|
#define FUNC_FINITE __exp10l_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp2
|
#define FUNC __ieee754_exp2
|
||||||
|
#define FUNC_FINITE __exp2_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp2f
|
#define FUNC __ieee754_exp2f
|
||||||
|
#define FUNC_FINITE __exp2f_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_exp2l
|
#define FUNC __ieee754_exp2l
|
||||||
|
#define FUNC_FINITE __exp2l_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997, 1999, 2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -21,10 +21,11 @@
|
||||||
#include "mathimpl.h"
|
#include "mathimpl.h"
|
||||||
|
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_fmod
|
# define FUNC __ieee754_fmod
|
||||||
|
# define FUNC_FINITE __fmod_finite
|
||||||
#endif
|
#endif
|
||||||
#ifndef float_type
|
#ifndef float_type
|
||||||
#define float_type double
|
# define float_type double
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
float_type
|
float_type
|
||||||
|
@ -34,3 +35,6 @@ FUNC (x, y)
|
||||||
{
|
{
|
||||||
return __m81_u(FUNC)(x, y);
|
return __m81_u(FUNC)(x, y);
|
||||||
}
|
}
|
||||||
|
#ifdef FUNC_FINITE
|
||||||
|
strong_alias (FUNC, FUNC_FINITE)
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_fmodf
|
# define FUNC __ieee754_fmodf
|
||||||
|
# define FUNC_FINITE __fmodf_finite
|
||||||
#endif
|
#endif
|
||||||
#define float_type float
|
#define float_type float
|
||||||
#include <e_fmod.c>
|
#include <e_fmod.c>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef FUNC
|
#ifndef FUNC
|
||||||
#define FUNC __ieee754_fmodl
|
# define FUNC __ieee754_fmodl
|
||||||
|
# define FUNC_FINITE __fmodl_finite
|
||||||
#endif
|
#endif
|
||||||
#define float_type long double
|
#define float_type long double
|
||||||
#include <e_fmod.c>
|
#include <e_fmod.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log
|
#define FUNC __ieee754_log
|
||||||
|
#define FUNC_FINITE __log_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log10
|
#define FUNC __ieee754_log10
|
||||||
|
#define FUNC_FINITE __log10_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log10f
|
#define FUNC __ieee754_log10f
|
||||||
|
#define FUNC_FINITE __log10f_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log10l
|
#define FUNC __ieee754_log10l
|
||||||
|
#define FUNC_FINITE __log10l_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log2
|
#define FUNC __ieee754_log2
|
||||||
|
#define FUNC_FINITE __log2_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log2f
|
#define FUNC __ieee754_log2f
|
||||||
|
#define FUNC_FINITE __log2f_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_log2l
|
#define FUNC __ieee754_log2l
|
||||||
|
#define FUNC_FINITE __log2l_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_logf
|
#define FUNC __ieee754_logf
|
||||||
|
#define FUNC_FINITE __logf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_logl
|
#define FUNC __ieee754_logl
|
||||||
|
#define FUNC_FINITE __logl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1997, 1999, 2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -124,3 +124,4 @@ s(__ieee754_pow) (float_type x, float_type y)
|
||||||
z = m81(__ieee754_exp) (y * m81(__ieee754_log) (x));
|
z = m81(__ieee754_exp) (y * m81(__ieee754_log) (x));
|
||||||
return z;
|
return z;
|
||||||
}
|
}
|
||||||
|
strong_alias (s(__ieee754_pow), CONCATX (s(__pow), _finite))
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_remainder
|
#define FUNC __ieee754_remainder
|
||||||
|
#define FUNC_FINITE __remainder_finite
|
||||||
#include <e_fmod.c>
|
#include <e_fmod.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_remainderf
|
#define FUNC __ieee754_remainderf
|
||||||
|
#define FUNC_FINITE __remainderf_finite
|
||||||
#include <e_fmodf.c>
|
#include <e_fmodf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_remainderl
|
#define FUNC __ieee754_remainderl
|
||||||
|
#define FUNC_FINITE __remainderl_finite
|
||||||
#include <e_fmodl.c>
|
#include <e_fmodl.c>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
/* Copyright (C) 1997, 1999, 2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
|
Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
|
||||||
|
|
||||||
|
@ -58,3 +58,4 @@ s(__ieee754_scalb) (float_type x, float_type fn)
|
||||||
__asm ("fscale%.x %1, %0" : "=f" (retval) : "f" (fn), "0" (x));
|
__asm ("fscale%.x %1, %0" : "=f" (retval) : "f" (fn), "0" (x));
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
strong_alias (s(__ieee754_scalb), CONCATX (s(__scalb), _finite))
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sinh
|
#define FUNC __ieee754_sinh
|
||||||
|
#define FUNC_FINITE __sinh_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sinhf
|
#define FUNC __ieee754_sinhf
|
||||||
|
#define FUNC_FINITE __sinhf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sinhl
|
#define FUNC __ieee754_sinhl
|
||||||
|
#define FUNC_FINITE __sinhl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sqrt
|
#define FUNC __ieee754_sqrt
|
||||||
|
#define FUNC_FINITE __sqrt_finite
|
||||||
#include <e_acos.c>
|
#include <e_acos.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sqrtf
|
#define FUNC __ieee754_sqrtf
|
||||||
|
#define FUNC_FINITE __sqrtf_finite
|
||||||
#include <e_acosf.c>
|
#include <e_acosf.c>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#define FUNC __ieee754_sqrtl
|
#define FUNC __ieee754_sqrtl
|
||||||
|
#define FUNC_FINITE __sqrtl_finite
|
||||||
#include <e_acosl.c>
|
#include <e_acosl.c>
|
||||||
|
|
Loading…
Reference in New Issue