Allan McRae
a458e7fe38
Do not install iso3166.tab and zone.tab
...
2012-03-21 Allan McRae <allan@archlinux.org>
* timezone/Makefile: Do not install iso3166.tab and zone.tab
2012-03-21 16:13:21 +01:00
Joseph Myers
0cb7efc517
Fix missing exp2 overflow exception (bug 13871).
2012-03-21 12:17:26 +00:00
Joseph Myers
2460d3aa21
Fix pow of zero and infinity to large powers.
2012-03-21 12:16:00 +00:00
H.J. Lu
eb96ffb07d
Move stdio-common/_itoa.h to sysdeps/generic
2012-03-20 16:00:23 -07:00
H.J. Lu
d1af992d0d
Check __x86_64__ instead of __WORDSIZE in mathinline.h
2012-03-20 08:54:58 -07:00
H.J. Lu
114883e00a
Support x86-64 __jmp_buf with __WORDSIZE != 64
2012-03-20 08:53:42 -07:00
Joseph Myers
c135cc1b5f
Test for overflow exceptions in libm-test.inc.
2012-03-20 10:58:04 +00:00
H.J. Lu
c27225516c
Correct ChangeLog entry.
2012-03-19 17:47:44 -07:00
H.J. Lu
95443d88af
Use atomic64_t with 64bit atomic macros
2012-03-19 17:29:26 -07:00
H.J. Lu
490df6c441
Check __x86_64__ instead of __WORDSIZE for fenv_t
2012-03-19 16:10:51 -07:00
H.J. Lu
5e52b189f0
Check __x86_64__ instead of __WORDSIZE in mathdef.h
2012-03-19 16:00:52 -07:00
David S. Miller
e1497744f0
Update sparc ULPs for newly added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-19 15:46:15 -07:00
H.J. Lu
a9879d4cde
Add x32 support to ldd-rewrite.sed
2012-03-19 15:18:44 -07:00
H.J. Lu
b4c35121c4
Use int64_t in x86_64/fpu/math_private.h
2012-03-19 15:17:48 -07:00
David S. Miller
5df98260fe
Fix sparc build after math_private.h cleanups.
...
* sysdeps/sparc/fpu/fenv_private.h: New file.
* sysdeps/sparc/fpu/math_private.h: Use it.
(libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
Remove.
(libc_feholdexcept_setround, libc_feholdexcept_setroundf,
(libc_feholdexcept_setroundl): Remove.
(libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
Remove.
(libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
(libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2012-03-19 15:12:50 -07:00
H.J. Lu
56965fd71c
Cast _Unwind_GetCFA return to _Unwind_Ptr first
2012-03-19 13:33:20 -07:00
Joseph Myers
1897ad4432
Fix clog overflow/underflow (bug 13629).
2012-03-19 20:14:26 +00:00
Joseph Myers
7726d6a95d
Fix atan2 spurious exceptions (bug 11451).
2012-03-19 20:11:09 +00:00
Joseph Myers
83d1aec8fc
Remove common-objdir-compile and related sysdeps/unix/Makefile code.
2012-03-19 16:23:26 +00:00
Richard Henderson
bd37f2ee31
Optimize private 387 fenv access; share code between i386 and x86_64.
2012-03-19 06:51:39 -07:00
Richard Henderson
d0adc92230
i386/x86_64: Optimize feholdexcept.
2012-03-19 06:51:06 -07:00
Richard Henderson
0fe0f1f86f
Create and use libc_feupdateenv_test.
...
We can reduce the number of STMXCSR, and often we can avoid the
call to __feraiseexcept.
2012-03-19 06:50:41 -07:00
Richard Henderson
eb92c487b3
Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.
2012-03-19 06:49:44 -07:00
Richard Henderson
7d2e8012cf
i386: Convert libc_{feholdexcept_setround,updateenv}_53bit to functions.
...
Also fix a bug in libc_feupdateenv_53bit: don't force the rounding
precision back to _FPU_EXTENDED, instead restore the precision that
the user had in effect beforehand.
2012-03-19 06:49:04 -07:00
Richard Henderson
b4dabbb47a
Convert libc_feholdexcept et al from macros to inline functions.
2012-03-19 06:48:27 -07:00
Richard Henderson
4851a949b4
Make inline __isnan, __isinf_ns, __finite generic.
...
For code generation to stay identical on x86_64, this requires that
we define the fp word manipulation macros before including the
generic header.
2012-03-19 06:47:43 -07:00
Andreas Schwab
e79d442ee6
Update powerpc libm test ULPs
2012-03-18 15:20:42 +01:00
David S. Miller
90b80344c6
Add missing Versions entry for sparc's __getshmlba.
...
[BZ #6471 ]
* sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
for 2.16.
2012-03-17 15:55:27 -07:00
David S. Miller
77e927affd
Fix warnings when uintptr_t is larger than int.
...
* sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
warnings.
2012-03-16 21:02:54 -07:00
David S. Miller
374976dd13
Fix SHMLBA on sparc.
...
[BZ #6471 ]
* sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
properly.
* sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
* sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
sysdep_routines when subdir is sysvipc.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
__getshmlba helper.
2012-03-16 19:28:51 -07:00
David S. Miller
edc218041e
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test/ulps: Update.
2012-03-16 16:01:28 -07:00
H.J. Lu
473c3ef325
Define x86-64 ffsl alias only if __LP64__ is defined
2012-03-16 15:20:45 -07:00
H.J. Lu
eb0f39b6b7
Make lround the alias of llround for wordsize-64
2012-03-16 15:20:45 -07:00
H.J. Lu
6b6cd74bab
Use greg_t and uintptr_t in x86-64 __makecontext
2012-03-16 15:20:45 -07:00
H.J. Lu
f1a77b01f4
Add x32 support to ldconfig
2012-03-16 15:20:45 -07:00
David S. Miller
c0c83bc8b2
Fix too long ChangeLog lines.
2012-03-16 14:15:05 -07:00
Joseph Myers
c36e1d2369
Disable Bessel function TLOSS errors in POSIX mode.
2012-03-16 20:08:02 +00:00
Joseph Myers
11b90b9f50
Fix tan, tanl for large inputs.
2012-03-16 20:05:37 +00:00
Jan Kratochvil
6a1bd2a100
* sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
...
(_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2012-03-16 20:49:23 +01:00
Roland McGrath
10a803e0a2
Use sysdeps/*/preconfigure fragments from main source tree.
2012-03-16 11:12:50 -07:00
H.J. Lu
f196c7f7af
Use time_t on ays, rem, y and yg in __offtime
2012-03-16 09:10:12 -07:00
Joseph Myers
96cbe7f482
Include program generating __sincosl_table in comment.
2012-03-16 15:18:19 +00:00
Joseph Myers
8848d99dce
Implement ldbl-96 sinl / cosl / sincosl (bug 13851).
2012-03-16 12:30:05 +00:00
David S. Miller
dd7f470327
Implement optimized libc_fe*() math routines on sparc.
...
* sysdeps/sparc/fpu/math_private.h: New file.
2012-03-16 03:05:49 -07:00
David S. Miller
e6a62e18fd
Add sparc vis3 optimized fma/fmaf.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
sysdep routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2012-03-15 23:09:16 -07:00
David S. Miller
88cb87d908
Sparc long double is emulated in software, therefore use dbl-64's s_fma.c
...
* sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
* sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2012-03-15 20:55:42 -07:00
David S. Miller
006f1daa5a
Create a header for sparc ifunc expansion and use it for VIS3 ifuncs.
...
* sysdeps/sparc/sparc-ifunc.h: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use sparc-ifunc.h
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2012-03-15 20:29:44 -07:00
Andreas Schwab
11e0098ef0
Use double precision instead of scaling for powerpc __ieee754_hypotf
2012-03-15 18:13:52 +01:00
Andreas Jaeger
e85b09d064
Update.
2012-03-15 18:04:51 +01:00
Andreas Jaeger
81c6415384
[BZ #13658 ]
...
* math/libm-test.inc (cos_test): Add more test cases.
(sin_test): Likewise.
(sincos_test): Likewise.
2012-03-15 16:25:57 +01:00