[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r23098 - in /trunk: ./ libc/ libc/benchtests/ libc/crypt/ libc/debug/ libc/elf/ libc/iconv/ libc/iconvdata/ libc/include/ li...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r23098 - in /trunk: ./ libc/ libc/benchtests/ libc/crypt/ libc/debug/ libc/elf/ libc/iconv/ libc/iconvdata/ libc/include/ li...
- From: joseph@xxxxxxxxxx
- Date: Sat, 18 May 2013 00:51:47 -0000
Author: joseph
Date: Sat May 18 00:51:47 2013
New Revision: 23098
Log:
Merge changes between r22954 and r23097 from /fsf/trunk.
Added:
trunk/libc/benchtests/bench-timing.h
- copied unchanged from r23097, fsf/trunk/libc/benchtests/bench-timing.h
trunk/libc/elf/dl-writev.h
- copied unchanged from r23097, fsf/trunk/libc/elf/dl-writev.h
trunk/libc/io/open64_2.c
- copied unchanged from r23097, fsf/trunk/libc/io/open64_2.c
trunk/libc/io/open_2.c
- copied unchanged from r23097, fsf/trunk/libc/io/open_2.c
trunk/libc/io/openat64_2.c
- copied unchanged from r23097, fsf/trunk/libc/io/openat64_2.c
trunk/libc/io/openat_2.c
- copied unchanged from r23097, fsf/trunk/libc/io/openat_2.c
trunk/libc/login/getlogin.c
- copied unchanged from r23097, fsf/trunk/libc/login/getlogin.c
trunk/libc/login/getlogin_r.c
- copied unchanged from r23097, fsf/trunk/libc/login/getlogin_r.c
trunk/libc/login/getlogin_r_chk.c
- copied unchanged from r23097, fsf/trunk/libc/login/getlogin_r_chk.c
trunk/libc/login/ptsname_r_chk.c
- copied unchanged from r23097, fsf/trunk/libc/login/ptsname_r_chk.c
trunk/libc/login/setlogin.c
- copied unchanged from r23097, fsf/trunk/libc/login/setlogin.c
trunk/libc/ports/sysdeps/arm/armv7/configure
- copied unchanged from r23097, fsf/trunk/libc/ports/sysdeps/arm/armv7/configure
trunk/libc/ports/sysdeps/arm/armv7/configure.in
- copied unchanged from r23097, fsf/trunk/libc/ports/sysdeps/arm/armv7/configure.in
trunk/libc/ports/sysdeps/arm/armv7/multiarch/
- copied from r23097, fsf/trunk/libc/ports/sysdeps/arm/armv7/multiarch/
trunk/libc/setjmp/tst-setjmp-fp.c
- copied unchanged from r23097, fsf/trunk/libc/setjmp/tst-setjmp-fp.c
trunk/libc/sysdeps/ieee754/dbl-64/gamma_product.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/dbl-64/gamma_product.c
trunk/libc/sysdeps/ieee754/dbl-64/gamma_productf.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/dbl-64/gamma_productf.c
trunk/libc/sysdeps/ieee754/ldbl-128/gamma_productl.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/ldbl-128/gamma_productl.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/gamma_productl.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/gamma_productl.c
trunk/libc/sysdeps/ieee754/ldbl-96/gamma_product.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/ldbl-96/gamma_product.c
trunk/libc/sysdeps/ieee754/ldbl-96/gamma_productl.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/ieee754/ldbl-96/gamma_productl.c
trunk/libc/sysdeps/unix/sysv/linux/dl-writev.h
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/unix/sysv/linux/dl-writev.h
trunk/libc/sysdeps/unix/sysv/linux/powerpc/time.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/time.c
trunk/libc/sysdeps/unix/sysv/linux/sh/getgid.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/unix/sysv/linux/sh/getgid.c
trunk/libc/sysdeps/unix/sysv/linux/wordsize-64/glob64.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/unix/sysv/linux/wordsize-64/glob64.c
trunk/libc/sysdeps/wordsize-64/glob64.c
- copied unchanged from r23097, fsf/trunk/libc/sysdeps/wordsize-64/glob64.c
Removed:
trunk/libc/benchtests/slowatan-inputs
trunk/libc/benchtests/slowatan.c
trunk/libc/benchtests/slowcos-inputs
trunk/libc/benchtests/slowcos.c
trunk/libc/benchtests/slowexp-inputs
trunk/libc/benchtests/slowexp.c
trunk/libc/benchtests/slowpow-inputs
trunk/libc/benchtests/slowpow.c
trunk/libc/benchtests/slowsin-inputs
trunk/libc/benchtests/slowsin.c
trunk/libc/benchtests/slowtan-inputs
trunk/libc/benchtests/slowtan.c
trunk/libc/debug/getlogin_r_chk.c
trunk/libc/debug/ptsname_r_chk.c
trunk/libc/posix/getlogin.c
trunk/libc/posix/getlogin_r.c
trunk/libc/posix/setlogin.c
trunk/libc/sysdeps/unix/sysv/linux/open64_2.c
trunk/libc/sysdeps/unix/sysv/linux/open_2.c
Modified:
trunk/ (props changed)
trunk/libc/ChangeLog
trunk/libc/NEWS
trunk/libc/benchtests/Makefile
trunk/libc/benchtests/atan-inputs
trunk/libc/benchtests/bench-modf.c
trunk/libc/benchtests/bench-skeleton.c
trunk/libc/benchtests/cos-inputs
trunk/libc/benchtests/exp-inputs
trunk/libc/benchtests/pow-inputs
trunk/libc/benchtests/sin-inputs
trunk/libc/benchtests/tan-inputs
trunk/libc/crypt/sha256-block.c
trunk/libc/crypt/sha256-crypt.c
trunk/libc/crypt/sha256.c
trunk/libc/crypt/sha512-block.c
trunk/libc/crypt/sha512-crypt.c
trunk/libc/crypt/sha512.c
trunk/libc/debug/Makefile
trunk/libc/debug/Versions
trunk/libc/debug/backtrace-tst.c
trunk/libc/debug/pcprofiledump.c
trunk/libc/elf/cache.c
trunk/libc/elf/dl-cache.c
trunk/libc/elf/dl-close.c
trunk/libc/elf/dl-hwcaps.c
trunk/libc/elf/dl-misc.c
trunk/libc/elf/dl-open.c
trunk/libc/elf/dl-profile.c
trunk/libc/elf/dl-support.c
trunk/libc/elf/dl-sysdep.c
trunk/libc/elf/ldconfig.c
trunk/libc/elf/sprof.c
trunk/libc/iconv/dummy-repertoire.c
trunk/libc/iconv/iconv_charmap.c
trunk/libc/iconv/iconv_prog.c
trunk/libc/iconv/skeleton.c
trunk/libc/iconvdata/8bit-generic.c
trunk/libc/iconvdata/cp737.h
trunk/libc/iconvdata/cp775.h
trunk/libc/iconvdata/ibm1008.h
trunk/libc/iconvdata/ibm1025.h
trunk/libc/iconvdata/ibm1046.h
trunk/libc/iconvdata/ibm1097.h
trunk/libc/iconvdata/ibm1112.h
trunk/libc/iconvdata/ibm1122.h
trunk/libc/iconvdata/ibm1123.h
trunk/libc/iconvdata/ibm1124.h
trunk/libc/iconvdata/ibm1129.h
trunk/libc/iconvdata/ibm1130.h
trunk/libc/iconvdata/ibm1132.h
trunk/libc/iconvdata/ibm1133.h
trunk/libc/iconvdata/ibm1137.h
trunk/libc/iconvdata/ibm1140.h
trunk/libc/iconvdata/ibm1141.h
trunk/libc/iconvdata/ibm1142.h
trunk/libc/iconvdata/ibm1143.h
trunk/libc/iconvdata/ibm1144.h
trunk/libc/iconvdata/ibm1145.h
trunk/libc/iconvdata/ibm1146.h
trunk/libc/iconvdata/ibm1147.h
trunk/libc/iconvdata/ibm1148.h
trunk/libc/iconvdata/ibm1149.h
trunk/libc/iconvdata/ibm1153.h
trunk/libc/iconvdata/ibm1154.h
trunk/libc/iconvdata/ibm1155.h
trunk/libc/iconvdata/ibm1156.h
trunk/libc/iconvdata/ibm1157.h
trunk/libc/iconvdata/ibm1158.h
trunk/libc/iconvdata/ibm1160.h
trunk/libc/iconvdata/ibm1161.h
trunk/libc/iconvdata/ibm1162.h
trunk/libc/iconvdata/ibm1163.h
trunk/libc/iconvdata/ibm1164.h
trunk/libc/iconvdata/ibm1166.h
trunk/libc/iconvdata/ibm1167.h
trunk/libc/iconvdata/ibm12712.h
trunk/libc/iconvdata/ibm1390.h
trunk/libc/iconvdata/ibm1399.h
trunk/libc/iconvdata/ibm16804.h
trunk/libc/iconvdata/ibm4517.h
trunk/libc/iconvdata/ibm4899.h
trunk/libc/iconvdata/ibm4909.h
trunk/libc/iconvdata/ibm4971.h
trunk/libc/iconvdata/ibm5347.h
trunk/libc/iconvdata/ibm803.h
trunk/libc/iconvdata/ibm856.h
trunk/libc/iconvdata/ibm901.h
trunk/libc/iconvdata/ibm902.h
trunk/libc/iconvdata/ibm9030.h
trunk/libc/iconvdata/ibm9066.h
trunk/libc/iconvdata/ibm921.h
trunk/libc/iconvdata/ibm922.h
trunk/libc/iconvdata/ibm9448.h
trunk/libc/iconvdata/isiri-3342.h
trunk/libc/iconvdata/jis0201.h
trunk/libc/include/link.h
trunk/libc/include/netdb.h
trunk/libc/inet/check_native.c
trunk/libc/inet/check_pf.c
trunk/libc/inet/getipv4sourcefilter.c
trunk/libc/inet/getnameinfo.c
trunk/libc/inet/getsourcefilter.c
trunk/libc/inet/htonl.c
trunk/libc/inet/setipv4sourcefilter.c
trunk/libc/inet/setsourcefilter.c
trunk/libc/inet/test-inet6_opt.c
trunk/libc/inet/tst-network.c
trunk/libc/io/Makefile
trunk/libc/io/fchdir.c
trunk/libc/io/open.c
trunk/libc/io/open64.c
trunk/libc/io/openat.c
trunk/libc/io/openat64.c
trunk/libc/io/poll.c
trunk/libc/libidn/ChangeLog
trunk/libc/libidn/idna.c
trunk/libc/libidn/nfkc.c
trunk/libc/libidn/stringprep.c
trunk/libc/locale/C-collate.c
trunk/libc/locale/C-ctype.c
trunk/libc/locale/C-time.c
trunk/libc/locale/C-translit.h
trunk/libc/locale/loadarchive.c
trunk/libc/locale/programs/3level.h
trunk/libc/locale/programs/charmap-dir.c
trunk/libc/locale/programs/charmap.c
trunk/libc/locale/programs/charmap.h
trunk/libc/locale/programs/ld-address.c
trunk/libc/locale/programs/ld-collate.c
trunk/libc/locale/programs/ld-ctype.c
trunk/libc/locale/programs/ld-identification.c
trunk/libc/locale/programs/ld-measurement.c
trunk/libc/locale/programs/ld-messages.c
trunk/libc/locale/programs/ld-monetary.c
trunk/libc/locale/programs/ld-name.c
trunk/libc/locale/programs/ld-numeric.c
trunk/libc/locale/programs/ld-paper.c
trunk/libc/locale/programs/ld-telephone.c
trunk/libc/locale/programs/ld-time.c
trunk/libc/locale/programs/linereader.c
trunk/libc/locale/programs/locale.c
trunk/libc/locale/programs/locarchive.c
trunk/libc/locale/programs/locfile.c
trunk/libc/locale/programs/locfile.h
trunk/libc/locale/programs/repertoire.c
trunk/libc/locale/programs/simple-hash.c
trunk/libc/locale/programs/simple-hash.h
trunk/libc/localedata/locales/en_CA
trunk/libc/localedata/locales/es_AR
trunk/libc/localedata/locales/es_ES
trunk/libc/login/Makefile
trunk/libc/login/Versions
trunk/libc/malloc/memusage.c
trunk/libc/malloc/memusagestat.c
trunk/libc/malloc/obstack.c
trunk/libc/manual/message.texi
trunk/libc/math/Makefile
trunk/libc/math/README.libm-test
trunk/libc/math/atest-exp2.c
trunk/libc/math/gen-libm-test.pl
trunk/libc/math/libm-test.inc
trunk/libc/math/s_catan.c
trunk/libc/math/s_catanf.c
trunk/libc/math/s_catanh.c
trunk/libc/math/s_catanhf.c
trunk/libc/math/s_catanhl.c
trunk/libc/math/s_catanl.c
trunk/libc/math/w_tgamma.c
trunk/libc/math/w_tgammaf.c
trunk/libc/math/w_tgammal.c
trunk/libc/misc/sys/cdefs.h
trunk/libc/misc/sys/param.h
trunk/libc/nis/nis_defaults.c
trunk/libc/nis/nis_hash.c
trunk/libc/nis/nis_print.c
trunk/libc/nis/nis_xdr.c
trunk/libc/nptl/ChangeLog
trunk/libc/nptl/pthread_create.c
trunk/libc/nptl/sysdeps/i386/tls.h
trunk/libc/nptl/sysdeps/pthread/createthread.c
trunk/libc/nptl/sysdeps/x86_64/tls.h
trunk/libc/nptl/tst-mutex8.c
trunk/libc/nptl_db/ChangeLog
trunk/libc/nptl_db/db_info.c
trunk/libc/nptl_db/fetch-value.c
trunk/libc/nptl_db/td_ta_clear_event.c
trunk/libc/nptl_db/td_ta_set_event.c
trunk/libc/nptl_db/td_ta_tsd_iter.c
trunk/libc/nptl_db/td_thr_clear_event.c
trunk/libc/nptl_db/td_thr_get_info.c
trunk/libc/nptl_db/td_thr_set_event.c
trunk/libc/nptl_db/td_thr_tsd.c
trunk/libc/nscd/connections.c
trunk/libc/nscd/hstcache.c
trunk/libc/nscd/nscd_gethst_r.c
trunk/libc/nscd/nscd_getserv_r.c
trunk/libc/nscd/nscd_helper.c
trunk/libc/nscd/servicescache.c
trunk/libc/nss/makedb.c
trunk/libc/nss/nss_db/db-XXX.c
trunk/libc/nss/nss_db/db-initgroups.c
trunk/libc/nss/nss_db/db-netgrp.c
trunk/libc/nss/nss_files/files-network.c
trunk/libc/nss/nss_files/files-parse.c
trunk/libc/ports/ChangeLog.aarch64
trunk/libc/ports/ChangeLog.alpha
trunk/libc/ports/ChangeLog.am33
trunk/libc/ports/ChangeLog.arm
trunk/libc/ports/ChangeLog.hppa
trunk/libc/ports/ChangeLog.mips
trunk/libc/ports/ChangeLog.powerpc
trunk/libc/ports/ChangeLog.tile
trunk/libc/ports/sysdeps/aarch64/soft-fp/sfp-machine.h
trunk/libc/ports/sysdeps/alpha/soft-fp/sfp-machine.h
trunk/libc/ports/sysdeps/am33/atomicity.h
trunk/libc/ports/sysdeps/arm/__longjmp.S
trunk/libc/ports/sysdeps/arm/bits/setjmp.h
trunk/libc/ports/sysdeps/arm/dl-machine.h
trunk/libc/ports/sysdeps/arm/dl-tlsdesc.S
trunk/libc/ports/sysdeps/arm/setjmp.S
trunk/libc/ports/sysdeps/hppa/fpu/fpu_control.h
trunk/libc/ports/sysdeps/hppa/fpu/libm-test-ulps
trunk/libc/ports/sysdeps/mips/bits/atomic.h
trunk/libc/ports/sysdeps/mips/mips64/soft-fp/sfp-machine.h
trunk/libc/ports/sysdeps/mips/soft-fp/sfp-machine.h
trunk/libc/ports/sysdeps/powerpc/soft-fp/sfp-machine.h
trunk/libc/ports/sysdeps/tile/tilegx/memusage.h
trunk/libc/ports/sysdeps/tile/tilegx/string-endian.h
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/clone.S
trunk/libc/ports/sysdeps/unix/sysv/linux/aarch64/ioctl.S
trunk/libc/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h
trunk/libc/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/c++-types.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/localplt.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/c++-types.data (props changed)
trunk/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/localplt.data (props changed)
trunk/libc/posix/Makefile
trunk/libc/posix/Versions
trunk/libc/posix/bug-regex5.c
trunk/libc/posix/fnmatch_loop.c
trunk/libc/posix/regcomp.c
trunk/libc/posix/regexec.c
trunk/libc/posix/tst-rfc3484-2.c
trunk/libc/posix/tst-rfc3484-3.c
trunk/libc/posix/tst-rfc3484.c
trunk/libc/resolv/nss_dns/dns-canon.c
trunk/libc/resolv/nss_dns/dns-network.c
trunk/libc/resolv/res_debug.c
trunk/libc/resolv/res_init.c
trunk/libc/resolv/res_mkquery.c
trunk/libc/resolv/resolv.h
trunk/libc/resolv/tst-aton.c
trunk/libc/resource/setrlimit.c
trunk/libc/scripts/bench.pl
trunk/libc/setjmp/Makefile
trunk/libc/soft-fp/op-common.h
trunk/libc/soft-fp/testit.c
trunk/libc/stdlib/cxa_atexit.c
trunk/libc/stdlib/cxa_finalize.c
trunk/libc/stdlib/gen-fpioconst.c
trunk/libc/stdlib/random.c
trunk/libc/stdlib/strtol_l.c
trunk/libc/string/bits/string2.h
trunk/libc/string/tst-endian.c
trunk/libc/sunrpc/auth_des.c
trunk/libc/sunrpc/clnt_udp.c
trunk/libc/sunrpc/rpc_main.c
trunk/libc/sunrpc/rtime.c
trunk/libc/sunrpc/svcauth_des.c
trunk/libc/sunrpc/xdr.c
trunk/libc/sunrpc/xdr_intXX_t.c
trunk/libc/sunrpc/xdr_rec.c
trunk/libc/sysdeps/generic/ldconfig.h
trunk/libc/sysdeps/generic/ldsodefs.h
trunk/libc/sysdeps/generic/math_private.h
trunk/libc/sysdeps/generic/memusage.h
trunk/libc/sysdeps/generic/not-cancel.h
trunk/libc/sysdeps/gnu/netinet/tcp.h
trunk/libc/sysdeps/i386/fpu/libm-test-ulps
trunk/libc/sysdeps/ieee754/dbl-64/e_gamma_r.c
trunk/libc/sysdeps/ieee754/dbl-64/e_remainder.c
trunk/libc/sysdeps/ieee754/dbl-64/s_sin.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c
trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c
trunk/libc/sysdeps/ieee754/flt-32/e_gammaf_r.c
trunk/libc/sysdeps/ieee754/k_standard.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_gammal_r.c
trunk/libc/sysdeps/ieee754/ldbl-128/e_rem_pio2l.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c
trunk/libc/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
trunk/libc/sysdeps/ieee754/ldbl-96/e_gammal_r.c
trunk/libc/sysdeps/ieee754/s_lib_version.c
trunk/libc/sysdeps/mach/hurd/bits/statvfs.h
trunk/libc/sysdeps/mach/hurd/open.c
trunk/libc/sysdeps/mach/hurd/openat.c
trunk/libc/sysdeps/posix/getaddrinfo.c
trunk/libc/sysdeps/posix/opendir.c
trunk/libc/sysdeps/posix/truncate.c
trunk/libc/sysdeps/powerpc/fpu/e_hypot.c
trunk/libc/sysdeps/powerpc/fpu/e_hypotf.c
trunk/libc/sysdeps/powerpc/fpu/e_sqrt.c
trunk/libc/sysdeps/powerpc/fpu/e_sqrtf.c
trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
trunk/libc/sysdeps/powerpc/test-gettimebase.c
trunk/libc/sysdeps/sparc/fpu/libm-test-ulps
trunk/libc/sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
trunk/libc/sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
trunk/libc/sysdeps/unix/sysv/linux/Makefile
trunk/libc/sysdeps/unix/sysv/linux/bits/sched.h
trunk/libc/sysdeps/unix/sysv/linux/bits/socket.h
trunk/libc/sysdeps/unix/sysv/linux/check_pf.c
trunk/libc/sysdeps/unix/sysv/linux/getipv4sourcefilter.c
trunk/libc/sysdeps/unix/sysv/linux/getsourcefilter.c
trunk/libc/sysdeps/unix/sysv/linux/netlinkaccess.h
trunk/libc/sysdeps/unix/sysv/linux/openat.c
trunk/libc/sysdeps/unix/sysv/linux/openat64.c
trunk/libc/sysdeps/unix/sysv/linux/powerpc/Versions
trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
trunk/libc/sysdeps/unix/sysv/linux/powerpc/init-first.c
trunk/libc/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
trunk/libc/sysdeps/unix/sysv/linux/preadv.c
trunk/libc/sysdeps/unix/sysv/linux/pwritev.c
trunk/libc/sysdeps/unix/sysv/linux/s390/bits/siginfo.h
trunk/libc/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
trunk/libc/sysdeps/unix/sysv/linux/setsourcefilter.c
trunk/libc/sysdeps/unix/sysv/linux/wordsize-64/openat.c
trunk/libc/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c
trunk/libc/sysdeps/x86_64/dl-tls.h
trunk/libc/sysdeps/x86_64/dl-tlsdesc.h
trunk/libc/sysdeps/x86_64/fpu/libm-test-ulps
trunk/libc/sysdeps/x86_64/fpu/math_private.h
trunk/libc/sysdeps/x86_64/fpu/multiarch/s_fma.c
trunk/libc/sysdeps/x86_64/fpu/multiarch/s_fmaf.c
trunk/libc/time/alt_digit.c
trunk/libc/time/era.c
trunk/libc/wcsmbs/tst-c16c32-1.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat May 18 00:51:47 2013
@@ -1,1 +1,1 @@
-/fsf/trunk:15224-22954
+/fsf/trunk:15224-23097
Modified: trunk/libc/ChangeLog
==============================================================================
--- trunk/libc/ChangeLog (original)
+++ trunk/libc/ChangeLog Sat May 18 00:51:47 2013
@@ -1,3 +1,1603 @@
+2013-05-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15480]
+ [BZ #15485]
+ * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
+ main case of finite arguments, set rounding mode to FE_TONEAREST
+ and discard exceptions.
+ * math/libm-test.inc (remainder_test_data): Disallow "inexact"
+ exceptions.
+ (remainder_tonearest_test_data): New variable.
+ (remainder_test_tonearest): New function.
+ (remainder_towardzero_test_data): New variable.
+ (remainder_test_towardzero): New function.
+ (remainder_downward_test_data): New variable.
+ (remainder_test_downward): New function.
+ (remainder_upward_test_data): New variable.
+ (remainder_test_upward): New function.
+ (main): Call the new test functions.
+
+ * math/libm-test.inc (struct test_f_f1_data): Remove field
+ extra_init.
+ (struct test_fF_f1_data): Likewise.
+ (struct test_ffI_f1_data): Likewise.
+ (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
+ based on value of EXTRA_EXPECTED.
+ (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
+ (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
+ EXTRA_VAR based on value of EXTRA_EXPECTED.
+ (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
+ (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
+ EXTRA_VAR based on value of EXTRA_EXPECTED.
+ (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
+ (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
+ EXTRA_VAR based on value of EXTRA_EXPECTED.
+ (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
+ * math/gen-libm-test.pl (parse_args): Don't output initializers
+ for extra output values.
+
+ * math/libm-test.inc (check_int): Expect result to be exactly
+ equal to expected value and do not handle ulps.
+ (check_long): Likewise.
+ (check_longlong): Likewise.
+
+ * math/libm-test.inc (ceil_test_data): Test for "inexact"
+ exceptions.
+ (cimag_test_data): Likewise.
+ (conj_test_data): Likewise.
+ (copysign_test_data): Likewise.
+ (cproj_test_data): Likewise.
+ (creal_test_data): Likewise.
+ (fabs_test_data): Likewise.
+ (fdim_test_data): Likewise.
+ (finite_test_data): Likewise.
+ (floor_test_data): Likewise.
+ (fmax_test_data): Likewise.
+ (fmin_test_data): Likewise.
+ (fmod_test_data): Likewise.
+ (fpclassify_test_data): Likewise.
+ (frexp_test_data): Likewise.
+ (ilogb_test_data): Likewise.
+ (isfinite_test_data): Likewise.
+ (isgreater_test_data): Likewise.
+ (isgreaterequal_test_data): Likewise.
+ (isinf_test_data): Likewise.
+ (isless_test_data): Likewise.
+ (islessequal_test_data): Likewise.
+ (islessgreater_test_data): Likewise.
+ (isnan_test_data): Likewise.
+ (isnormal_test_data): Likewise.
+ (issignaling_test_data): Likewise.
+ (isunordered_test_data): Likewise.
+ (ldexp_test_data): Likewise.
+ (lrint_test_data): Likewise.
+ (lrint_test_data) [TEST_FLOAT]: Disable one test.
+ (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
+ (lrint_tonearest_test_data): Test for "inexact" exceptions.
+ (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
+ (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
+ (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
+ test input.
+ (lrint_towardzero_test_data): Test for "inexact" exceptions.
+ (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
+ (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
+ (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
+ that test input.
+ (lrint_downward_test_data): Test for "inexact" exceptions.
+ (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
+ (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
+ (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
+ test input.
+ (lrint_upward_test_data): Test for "inexact" exceptions.
+ (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
+ test input.
+ (llrint_test_data): Test for "inexact" exceptions.
+ (llrint_test_data) [TEST_FLOAT]: Disable one test.
+ (llrint_tonearest_test_data): Test for "inexact" exceptions.
+ (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
+ (llrint_towardzero_test_data): Test for "inexact" exceptions.
+ (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
+ (llrint_downward_test_data): Test for "inexact" exceptions.
+ (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
+ (llrint_upward_test_data): Test for "inexact" exceptions.
+ (logb_test_data): Likewise.
+ (logb_downward_test_data): Likewise.
+ (nextafter_test_data): Likewise.
+ (nexttoward_test_data): Likewise.
+ (remainder_test_data): Likewise.
+ (remquo_test_data): Likewise.
+ (scalbn_test_data): Likewise.
+ (scalbln_test_data): Likewise.
+ (signbit_test_data): Likewise.
+ (sqrt_test_data): Likewise.
+ (significand_test_data): Likewise.
+
+2013-05-17 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ [BZ #15424]
+ * benchtests/bench-modf.c (struct args): Mark arg0 as
+ volatile.
+ * scripts/bench.pl: Mark members of struct args as volatile.
+
+2013-05-17 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
+ negative infinity on POWER6 or lower.
+ * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
+
+2013-05-16 Maciej W. Rozycki <macro@xxxxxxxxxxxxxxxx>
+
+ [BZ #15442]
+ * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
+ (_FP_FRAC_SNANP_SEMIRAW): Likewise.
+ (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
+ (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
+ (_FP_SETQNAN): New macro.
+ (_FP_SETQNAN_SEMIRAW): Likewise.
+ (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
+ (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
+ (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
+ (FP_EXTEND): Use _FP_FRAC_SNANP.
+ (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
+ * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
+ into account.
+ * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
+ New macro.
+ * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
+ Likewise.
+
+2013-05-16 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
+ with DIVIDE_BY_ZERO_EXCEPTION.
+ (gamma_test_data): Likewise.
+ (lgamma_test_data): Likewise.
+ (log_test_data): Likewise.
+ (log10_test_data): Likewise.
+ (log2_test_data): Likewise.
+ (tgamma_test_data): Likewise.
+
+ * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
+ (acos_test_tonearest): Likewise.
+ (acos_test_towardzero): Likewise.
+ (acos_test_downward): Likewise.
+ (acos_test_upward): Likewise.
+ (acosh_test): Likewise.
+ (asin_test): Likewise.
+ (asin_test_tonearest): Likewise.
+ (asin_test_towardzero): Likewise.
+ (asin_test_downward): Likewise.
+ (asin_test_upward): Likewise.
+ (asinh_test): Likewise.
+ (atan_test): Likewise.
+ (atanh_test): Likewise.
+ (atan2_test): Likewise.
+ (cabs_test): Likewise.
+ (cacos_test): Likewise.
+ (cacosh_test): Likewise.
+ (casin_test): Likewise.
+ (casinh_test): Likewise.
+ (catan_test): Likewise.
+ (catanh_test): Likewise.
+ (cbrt_test): Likewise.
+ (ccos_test): Likewise.
+ (ccosh_test): Likewise.
+ (cexp_test): Likewise.
+ (clog_test): Likewise.
+ (clog10_test): Likewise.
+ (cos_test): Likewise.
+ (cos_test_tonearest): Likewise.
+ (cos_test_towardzero): Likewise.
+ (cos_test_downward): Likewise.
+ (cos_test_upward): Likewise.
+ (cosh_test): Likewise.
+ (cosh_test_tonearest): Likewise.
+ (cosh_test_towardzero): Likewise.
+ (cosh_test_downward): Likewise.
+ (cosh_test_upward): Likewise.
+ (cpow_test): Likewise.
+ (csin_test): Likewise.
+ (csinh_test): Likewise.
+ (csqrt_test): Likewise.
+ (ctan_test): Likewise.
+ (ctan_test_tonearest): Likewise.
+ (ctan_test_towardzero): Likewise.
+ (ctan_test_downward): Likewise.
+ (ctan_test_upward): Likewise.
+ (ctanh_test): Likewise.
+ (ctanh_test_tonearest): Likewise.
+ (ctanh_test_towardzero): Likewise.
+ (ctanh_test_downward): Likewise.
+ (ctanh_test_upward): Likewise.
+ (erf_test): Likewise.
+ (erfc_test): Likewise.
+ (exp_test): Likewise.
+ (exp_test_tonearest): Likewise.
+ (exp_test_towardzero): Likewise.
+ (exp_test_downward): Likewise.
+ (exp_test_upward): Likewise.
+ (exp10_test): Likewise.
+ (exp2_test): Likewise.
+ (expm1_test): Likewise.
+ (fmod_test): Likewise.
+ (gamma_test): Likewise.
+ (hypot_test): Likewise.
+ (j0_test): Likewise.
+ (j1_test): Likewise.
+ (jn_test): Likewise.
+ (lgamma_test): Likewise.
+ (log_test): Likewise.
+ (log10_test): Likewise.
+ (log1p_test): Likewise.
+ (log2_test): Likewise.
+ (logb_test_downward): Likewise.
+ (pow_test): Likewise.
+ (pow_test_tonearest): Likewise.
+ (pow_test_towardzero): Likewise.
+ (pow_test_downward): Likewise.
+ (pow_test_upward): Likewise.
+ (remainder_test): Likewise.
+ (remquo_test): Likewise.
+ (sin_test): Likewise.
+ (sin_test_tonearest): Likewise.
+ (sin_test_towardzero): Likewise.
+ (sin_test_downward): Likewise.
+ (sin_test_upward): Likewise.
+ (sincos_test): Likewise.
+ (sinh_test): Likewise.
+ (sinh_test_tonearest): Likewise.
+ (sinh_test_towardzero): Likewise.
+ (sinh_test_downward): Likewise.
+ (sinh_test_upward): Likewise.
+ (sqrt_test): Likewise.
+ (tan_test): Likewise.
+ (tan_test_tonearest): Likewise.
+ (tan_test_towardzero): Likewise.
+ (tan_test_downward): Likewise.
+ (tan_test_upward): Likewise.
+ (tanh_test): Likewise.
+ (tgamma_test): Likewise.
+ (y0_test): Likewise.
+ (y1_test): Likewise.
+ (yn_test): Likewise.
+
+ * math/gen-libm-test.pl (adjust_arg): Remove function.
+ (special_function): Remove argument $in_func. Only handle
+ generating output for tables of tests, not inside functions.
+ (parse_args): Likewise.
+ (generate_testfile): Remove variable $in_func. Update call to
+ parse_args.
+ * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
+ (MINUS_ZERO_INIT): Rename macro to minus_zero.
+ (PLUS_INFTY_INIT): Rename macro to plus_infty.
+ (MINUS_INFTY_INIT): Rename macro to minus_infty.
+ (QNAN_VALUE_INIT): Rename macro to qnan_value.
+ (MAX_VALUE_INIT): Rename macro to max_value.
+ (MIN_VALUE_INIT): Rename macro to min_value.
+ (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
+ (plus_zero): Remove variable.
+ (minus_zero): Likewise.
+ (plus_infty): Likewise.
+ (minus_infty): Likewise.
+ (qnan_value): Likewise.
+ (max_value): Likewise.
+ (min_value): Likewise.
+ (min_subnorm_value): Likewise.
+
+2013-05-16 Ryan S. Arnold <rsa@xxxxxxxxxxxxxxxxxx>
+
+ * crypt/sha512-block.c: Add missing #include <stdint.h> due to
+ uint64_t or uint32_t usage.
+ * crypt/sha256-block.c: Likewise.
+ * crypt/sha256-crypt.c: Likewise.
+ * crypt/sha256.c: Likewise.
+ * crypt/sha512-block.c: Likewise.
+ * crypt/sha512-crypt.c: Likewise.
+ * crypt/sha512.c: Likewise.
+ * debug/backtrace-tst.c: Likewise.
+ * debug/pcprofiledump.c: Likewise.
+ * elf/cache.c: Likewise.
+ * elf/dl-cache.c: Likewise.
+ * elf/dl-misc.c: Likewise.
+ * elf/dl-profile.c: Likewise.
+ * elf/dl-support.c: Likewise.
+ * elf/ldconfig.c: Likewise.
+ * elf/sprof.c: Likewise.
+ * iconv/dummy-repertoire.c: Likewise.
+ * iconv/iconv_charmap.c: Likewise.
+ * iconv/skeleton.c: Likewise.
+ * iconvdata/8bit-generic.c: Likewise.
+ * iconvdata/cp737.h: Likewise.
+ * iconvdata/cp775.h: Likewise.
+ * iconvdata/ibm1008.h: Likewise.
+ * iconvdata/ibm1025.h: Likewise.
+ * iconvdata/ibm1046.h: Likewise.
+ * iconvdata/ibm1097.h: Likewise.
+ * iconvdata/ibm1112.h: Likewise.
+ * iconvdata/ibm1122.h: Likewise.
+ * iconvdata/ibm1123.h: Likewise.
+ * iconvdata/ibm1124.h: Likewise.
+ * iconvdata/ibm1129.h: Likewise.
+ * iconvdata/ibm1130.h: Likewise.
+ * iconvdata/ibm1132.h: Likewise.
+ * iconvdata/ibm1133.h: Likewise.
+ * iconvdata/ibm1137.h: Likewise.
+ * iconvdata/ibm1140.h: Likewise.
+ * iconvdata/ibm1141.h: Likewise.
+ * iconvdata/ibm1142.h: Likewise.
+ * iconvdata/ibm1143.h: Likewise.
+ * iconvdata/ibm1144.h: Likewise.
+ * iconvdata/ibm1145.h: Likewise.
+ * iconvdata/ibm1146.h: Likewise.
+ * iconvdata/ibm1147.h: Likewise.
+ * iconvdata/ibm1148.h: Likewise.
+ * iconvdata/ibm1149.h: Likewise.
+ * iconvdata/ibm1153.h: Likewise.
+ * iconvdata/ibm1154.h: Likewise.
+ * iconvdata/ibm1155.h: Likewise.
+ * iconvdata/ibm1156.h: Likewise.
+ * iconvdata/ibm1157.h: Likewise.
+ * iconvdata/ibm1158.h: Likewise.
+ * iconvdata/ibm1160.h: Likewise.
+ * iconvdata/ibm1161.h: Likewise.
+ * iconvdata/ibm1162.h: Likewise.
+ * iconvdata/ibm1163.h: Likewise.
+ * iconvdata/ibm1164.h: Likewise.
+ * iconvdata/ibm1166.h: Likewise.
+ * iconvdata/ibm1167.h: Likewise.
+ * iconvdata/ibm12712.h: Likewise.
+ * iconvdata/ibm1390.h: Likewise.
+ * iconvdata/ibm1399.h: Likewise.
+ * iconvdata/ibm16804.h: Likewise.
+ * iconvdata/ibm4517.h: Likewise.
+ * iconvdata/ibm4899.h: Likewise.
+ * iconvdata/ibm4909.h: Likewise.
+ * iconvdata/ibm4971.h: Likewise.
+ * iconvdata/ibm5347.h: Likewise.
+ * iconvdata/ibm803.h: Likewise.
+ * iconvdata/ibm856.h: Likewise.
+ * iconvdata/ibm901.h: Likewise.
+ * iconvdata/ibm902.h: Likewise.
+ * iconvdata/ibm9030.h: Likewise.
+ * iconvdata/ibm9066.h: Likewise.
+ * iconvdata/ibm921.h: Likewise.
+ * iconvdata/ibm922.h: Likewise.
+ * iconvdata/ibm9448.h: Likewise.
+ * iconvdata/isiri-3342.h: Likewise.
+ * iconvdata/jis0201.h: Likewise.
+ * include/link.h: Likewise.
+ * include/netdb.h: Likewise.
+ * inet/check_native.c: Likewise.
+ * inet/check_pf.c: Likewise.
+ * inet/getipv4sourcefilter.c: Likewise.
+ * inet/getnameinfo.c: Likewise.
+ * inet/getsourcefilter.c: Likewise.
+ * inet/htonl.c: Likewise.
+ * inet/setipv4sourcefilter.c: Likewise.
+ * inet/setsourcefilter.c: Likewise.
+ * inet/test-inet6_opt.c: Likewise.
+ * inet/tst-network.c: Likewise.
+ * locale/C-collate.c: Likewise.
+ * locale/C-ctype.c: Likewise.
+ * locale/C-time.c: Likewise.
+ * locale/C-translit.h: Likewise.
+ * locale/loadarchive.c: Likewise.
+ * locale/programs/3level.h: Likewise.
+ * locale/programs/charmap.c: Likewise.
+ * locale/programs/charmap.h: Likewise.
+ * locale/programs/ld-address.c: Likewise.
+ * locale/programs/ld-collate.c: Likewise.
+ * locale/programs/ld-ctype.c: Likewise.
+ * locale/programs/ld-identification.c: Likewise.
+ * locale/programs/ld-measurement.c: Likewise.
+ * locale/programs/ld-messages.c: Likewise.
+ * locale/programs/ld-monetary.c: Likewise.
+ * locale/programs/ld-name.c: Likewise.
+ * locale/programs/ld-numeric.c: Likewise.
+ * locale/programs/ld-paper.c: Likewise.
+ * locale/programs/ld-telephone.c: Likewise.
+ * locale/programs/ld-time.c: Likewise.
+ * locale/programs/linereader.c: Likewise.
+ * locale/programs/locale.c: Likewise.
+ * locale/programs/locarchive.c: Likewise.
+ * locale/programs/locfile.h: Likewise.
+ * locale/programs/repertoire.c: Likewise.
+ * locale/programs/simple-hash.c: Likewise.
+ * locale/programs/simple-hash.h: Likewise.
+ * malloc/memusage.c: Likewise.
+ * malloc/memusagestat.c: Likewise.
+ * nis/nis_defaults.c: Likewise.
+ * nis/nis_hash.c: Likewise.
+ * nis/nis_print.c: Likewise.
+ * nis/nis_xdr.c: Likewise.
+ * nscd/connections.c: Likewise.
+ * nscd/hstcache.c: Likewise.
+ * nscd/nscd_gethst_r.c: Likewise.
+ * nscd/nscd_getserv_r.c: Likewise.
+ * nscd/nscd_helper.c: Likewise.
+ * nscd/servicescache.c: Likewise.
+ * nss/makedb.c: Likewise.
+ * nss/nss_db/db-XXX.c: Likewise.
+ * nss/nss_db/db-initgroups.c: Likewise.
+ * nss/nss_db/db-netgrp.c: Likewise.
+ * nss/nss_files/files-network.c: Likewise.
+ * nss/nss_files/files-parse.c: Likewise.
+ * posix/bug-regex5.c: Likewise.
+ * posix/fnmatch_loop.c: Likewise.
+ * posix/regcomp.c: Likewise.
+ * posix/regexec.c: Likewise.
+ * posix/tst-rfc3484-2.c: Likewise.
+ * posix/tst-rfc3484-3.c: Likewise.
+ * posix/tst-rfc3484.c: Likewise.
+ * resolv/nss_dns/dns-canon.c: Likewise.
+ * resolv/nss_dns/dns-network.c: Likewise.
+ * resolv/res_init.c: Likewise.
+ * resolv/res_mkquery.c: Likewise.
+ * resolv/tst-aton.c: Likewise.
+ * stdlib/cxa_atexit.c: Likewise.
+ * stdlib/cxa_finalize.c: Likewise.
+ * stdlib/gen-fpioconst.c: Likewise.
+ * stdlib/strtol_l.c: Likewise.
+ * string/tst-endian.c: Likewise.
+ * sunrpc/auth_des.c: Likewise.
+ * sunrpc/clnt_udp.c: Likewise.
+ * sunrpc/rtime.c: Likewise.
+ * sunrpc/svcauth_des.c: Likewise.
+ * sunrpc/xdr.c: Likewise.
+ * sunrpc/xdr_intXX_t.c: Likewise.
+ * sunrpc/xdr_rec.c: Likewise.
+ * sysdeps/generic/ldconfig.h: Likewise.
+ * sysdeps/generic/ldsodefs.h: Likewise.
+ * sysdeps/generic/memusage.h: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
+ * sysdeps/posix/getaddrinfo.c: Likewise.
+ * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
+ * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+ * sysdeps/powerpc/test-gettimebase.c: Likewise.
+ * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
+ * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
+ * sysdeps/unix/sysv/linux/preadv.c: Likewise.
+ * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
+ * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
+ * sysdeps/x86_64/dl-tls.h: Likewise.
+ * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
+ * time/alt_digit.c: Likewise.
+ * time/era.c: Likewise.
+ * wcsmbs/tst-c16c32-1.c: Likewise.
+
+2013-05-16 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (struct test_sincos_data): New type.
+ (RUN_TEST_LOOP_sincos): New macro.
+ (sincos_test_data): New variable.
+ (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
+
+2013-05-16 Richard Henderson <rth@xxxxxxxxxx>
+
+ * math/atest-exp2.c (LIMB64): New macro.
+ (CONSTSZ): New macro.
+ (mp_exp1, mp_exp_m1, mp_log2): New variables.
+ (hexdig): Move ...
+ (print_mpn_fp): ... to function scope.
+ (read_mpn_hex): Remove.
+ (get_log2): Remove.
+ (exp2_mpn): Use mp_log2.
+ (main): Use mp_exp1.
+
+2013-05-16 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc: Remove comment about not testing "inexact"
+ exceptions.
+ (INEXACT_EXCEPTION): New macro.
+ (NO_INEXACT_EXCEPTION): Likewise.
+ (INVALID_EXCEPTION_OK): Update value.
+ (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
+ (OVERFLOW_EXCEPTION_OK): Likewise.
+ (UNDERFLOW_EXCEPTION_OK): Likewise.
+ (IGNORE_ZERO_INF_SIGN): Likewise.
+ (ERRNO_UNCHANGED): Likewise.
+ (ERRNO_EDOM): Likewise.
+ (ERRNO_ERANGE): Likewise.
+ (test_exceptions): Handle testing "inexact" exceptions.
+ (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
+ (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
+ (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
+ (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
+ INEXACT_EXCEPTION.
+ (rint_towardzero_test_data): Likewise.
+ (rint_downward_test_data): Likewise.
+ (rint_upward_test_data): Likewise.
+
+ * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
+ with OVERFLOW_EXCEPTION.
+ (exp10_test_data): Likewise.
+ (exp2_test_data): Likewise.
+ (expm1_test_data): Likewise.
+ (lgamma_test_data): Likewise.
+ (pow_test_data): Likewise.
+ (tgamma_test_data): Likewise.
+ (yn_test_data): Remove duplicate test of overflow.
+
+ * math/libm-test.inc (struct test_cc_c_data): New type.
+ (RUN_TEST_LOOP_cc_c): New macro.
+ (cpow_test_data): New variable.
+ (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
+
+ * math/libm-test.inc (struct test_f_L_data): New type.
+ (RUN_TEST_LOOP_f_L): New macro.
+ (llrint_test_data): New variable.
+ (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
+ (llrint_tonearest_test_data): New variable.
+ (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
+ (llrint_towardzero_test_data): New variable.
+ (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
+ (llrint_downward_test_data): New variable.
+ (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
+ (llrint_upward_test_data): New variable.
+ (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
+ (llround_test_data): New variable.
+ (llround_test): Run tests with RUN_TEST_LOOP_f_L.
+
+2013-05-13 Peter Collingbourne <pcc@xxxxxxxxxx>
+
+ * math/atest-exp2.c (get_log2): Remove const attribute.
+
+2013-05-15 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (struct test_f_l_data): New type.
+ (RUN_TEST_LOOP_f_l): New macro.
+ (lrint_test_data): New variable.
+ (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
+ (lrint_tonearest_test_data): New variable.
+ (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
+ (lrint_towardzero_test_data): New variable.
+ (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
+ (lrint_downward_test_data): New variable.
+ (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
+ (lrint_upward_test_data): New variable.
+ (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
+ (lround_test_data): New variable.
+ (lround_test): Run tests with RUN_TEST_LOOP_f_l.
+
+2013-05-15 Peter Collingbourne <pcc@xxxxxxxxxx>
+
+ * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
+ (EXTRACT_WORDS64) Use where appropriate.
+ (INSERT_WORDS64) Likewise.
+
+ * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
+ constraints with x constraints.
+ * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
+
+ * malloc/obstack.c (_obstack_compat): Add initializer.
+
+2013-05-15 Edjunior Machado <emachado@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
+ si_trapno and add si_addr_lsb to _sifields.sigfault.
+ (si_trapno): Remove macro.
+ (si_addr_lsb): Define new macro.
+ (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
+
+2013-05-15 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
+ instead of TEST_f_l.
+ (llrint_test_tonearest): Likewise.
+ (llrint_test_towardzero): Likewise.
+ (llrint_test_downward): Likewise.
+ (llrint_test_upward): Likewise.
+ (llround_test): Likewise.
+
+ * math/libm-test.inc (struct test_f_i_data): Add comment.
+ (RUN_TEST_LOOP_f_b): New macro.
+ (RUN_TEST_LOOP_f_b_tg): Likewise.
+ (finite_test_data): New variable.
+ (finite_test): Run tests with RUN_TEST_LOOP_f_b.
+ (isfinite_test_data): New variable.
+ (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+ (isinf_test_data): New variable.
+ (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+ (isnan_test_data): New variable.
+ (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+ (isnormal_test_data): New variable.
+ (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+ (issignaling_test_data): New variable.
+ (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+ (signbit_test_data): New variable.
+ (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
+
+ * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
+ with INVALID_EXCEPTION.
+ (acosh_test_data): Likewise.
+ (asin_test_data): Likewise.
+ (atanh_test_data): Likewise.
+ (fmod_test_data): Likewise.
+ (log_test_data): Likewise.
+ (log10_test_data): Likewise.
+ (log2_test_data): Likewise.
+ (pow_test_data): Likewise.
+ (sqrt_test_data): Likewise.
+ (y0_test_data): Likewise.
+ (y1_test_data): Likewise.
+ (yn_test_data): Likewise.
+
+ * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
+ function contents.
+
+ * math/libm-test.inc (struct test_ff_i_data): New type.
+ (RUN_TEST_LOOP_ff_i_tg): New macro.
+ (isgreater_test_data): New variable.
+ (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+ (isgreaterequal_test_data): New variable.
+ (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+ (isless_test_data): New variable.
+ (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+ (islessequal_test_data): New variable.
+ (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+ (islessgreater_test_data): New variable.
+ (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+ (isunordered_test_data): New variable.
+ (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
+
+2013-05-14 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2013-05-14 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
+
+ * math/libm-test.inc (struct test_fF_f1_data): Change type of
+ extra_test to int.
+ (struct test_f_i_data): Change type of max_ulp to int.
+
+ * math/libm-test.inc (test_ffI_f1_data): New type.
+ (RUN_TEST_LOOP_ffI_f1): New macro.
+ (remquo_test_data): New variable.
+ (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
+
+ * setjmp/tst-setjmp-fp.c: New file.
+ * setjmp/Makefile (tests): Add tst-setjmp-fp.
+ (link-libm): New variable.
+ ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
+
+ * math/libm-test.inc (struct test_f_i_data): New type.
+ (RUN_TEST_LOOP_f_i): New macro.
+ (RUN_TEST_LOOP_f_i_tg): Likewise.
+ (fpclassify_test_data): New variable.
+ (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
+ (ilogb_test_data): New variable.
+ (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
+
+ * math/libm-test.inc (scalbln_test): Correct function name in END
+ call.
+
+ * math/libm-test.inc (struct test_f_f1_data): Add comment.
+ (RUN_TEST_LOOP_fI_f1): New macro.
+ (frexp_test_data): New variable.
+ (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
+
+ * math/libm-test.inc (struct test_fF_f1_data): New type.
+ (RUN_TEST_LOOP_fF_f1): New macro.
+ (modf_test_data): New variable.
+ (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
+
+ * math/libm-test.inc (struct test_f_f1_data): New type.
+ (RUN_TEST_LOOP_f_f1): New macro.
+ (gamma_test_data): New variable.
+ (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
+ (lgamma_test_data): New variable.
+ (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
+
+2013-05-13 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
+ * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
+ (main): Comment "tls" pseudo-hwcap.
+
+2013-05-13 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (struct test_fl_f_data): New type.
+ (RUN_TEST_LOOP_fl_f): New variable.
+ (scalbln_test_data): New variable.
+ (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
+
+ * math/libm-test.inc (struct test_fi_f_data): New type.
+ (RUN_TEST_LOOP_fi_f): New macro.
+ (ldexp_test_data): New variable.
+ (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
+ (scalbn_test_data): New variable.
+ (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
+
+ * math/libm-test.inc (struct test_c_f_data): New type.
+ (RUN_TEST_LOOP_c_f): New macro.
+ (cabs_test_data): New variable.
+ (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
+ (carg_test_data): New variable.
+ (carg_test): Run tests with RUN_TEST_LOOP_c_f.
+ (cimag_test_data): New variable.
+ (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
+ (creal_test_data): New variable.
+ (creal_test): Run tests with RUN_TEST_LOOP_c_f.
+
+ * math/libm-test.inc (struct test_if_f_data): New type.
+ (RUN_TEST_LOOP_if_f): New macro.
+ (jn_test_data): New variable.
+ (jn_test): Run tests with RUN_TEST_LOOP_if_f.
+ (yn_test_data): New variable.
+ (yn_test): Run tests with RUN_TEST_LOOP_if_f.
+
+ * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
+
+2013-05-13 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
+ (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
+
+2013-05-13 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/Makefile (CPPFLAGS-nonlib): Add
+ -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
+ (bench-deps): Add bench-timing.h.
+ * benchtests-bench-skeleton.c: Include bench-timing.h.
+ (main): Use TIMING_* macros instead of clock_gettime.
+ * benchtests/bench-timing.h: New file.
+
+ [BZ #14582]
+ * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
+ Renamed from _LIB_VERSION.
+ (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
+
+2013-05-12 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (struct test_fff_f_data): New type.
+ (RUN_TEST_LOOP_fff_f): New macro.
+ (fma_test_data): New variable.
+ (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
+ (fma_towardzero_test_data): New variable.
+ (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
+ (fma_downward_test_data): New variable.
+ (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
+ (fma_upward_test_data): New variable.
+ (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
+
+ * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
+ (struct test_c_c_data): New type.
+ (RUN_TEST_LOOP_c_c): New macro.
+ (cacos_test_data): New variable.
+ (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
+ (cacosh_test_data): New variable.
+ (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (casin_test_data): New variable.
+ (casin_test): Run tests with RUN_TEST_LOOP_c_c.
+ (casinh_test_data): New variable.
+ (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (catan_test_data): New variable.
+ (catan_test): Run tests with RUN_TEST_LOOP_c_c.
+ (catanh_test_data): New variable.
+ (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (ccos_test_data): New variable.
+ (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
+ (ccosh_test_data): New variable.
+ (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (cexp_test_data): New variable.
+ (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
+ (clog_test_data): New variable.
+ (clog_test): Run tests with RUN_TEST_LOOP_c_c.
+ (clog10_test_data): New variable.
+ (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
+ (conj_test_data): New variable.
+ (conj_test): Run tests with RUN_TEST_LOOP_c_c.
+ (cproj_test_data): New variable.
+ (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
+ (csin_test_data): New variable.
+ (csin_test): Run tests with RUN_TEST_LOOP_c_c.
+ (csinh_test_data): New variable.
+ (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (csqrt_test_data): New variable.
+ (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
+ (ctan_test_data): New variable.
+ (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
+ (ctan_tonearest_test_data): New variable.
+ (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
+ (ctan_towardzero_test_data): New variable.
+ (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
+ (ctan_downward_test_data): New variable.
+ (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
+ (ctan_upward_test_data): New variable.
+ (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
+ (ctanh_test_data): New variable.
+ (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
+ (ctanh_tonearest_test_data): New variable.
+ (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
+ (ctanh_towardzero_test_data): New variable.
+ (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
+ (ctanh_downward_test_data): New variable.
+ (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
+ (ctanh_upward_test_data): New variable.
+ (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
+ * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
+ of BUILD_COMPLEX.
+
+ * math/libm-test.inc (struct test_ff_f_data): New type.
+ (struct test_ff_f_data_nexttoward): Likewise.
+ (RUN_TEST_LOOP_2_f): New macro.
+ (RUN_TEST_LOOP_ff_f): Likewise.
+ (atan2_test_data): New variable.
+ (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (copysign_test_data): New variable.
+ (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (fdim_test_data): New variable.
+ (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (fmax_test_data): New variable.
+ (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (fmin_test_data): New variable.
+ (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (fmod_test_data): New variable.
+ (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (hypot_test_data): New variable.
+ (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (nextafter_test_data): New variable.
+ (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (nexttoward_test_data): New variable.
+ (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (pow_test_data): New variable.
+ (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (pow_tonearest_test_data): New variable.
+ (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
+ (pow_towardzero_test_data): New variable.
+ (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
+ (pow_downward_test_data): New variable.
+ (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
+ (pow_upward_test_data): New variable.
+ (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
+ (remainder_test_data): New variable.
+ (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
+ (scalb_test_data): New variable.
+ (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2013-05-11 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (fma_test): Use max_value instead of local
+ variable fltmax.
+ (nextafter_test): Likewise.
+
+ * math/libm-test.inc (acos_towardzero_test_data): New variable.
+ (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (acos_downward_test_data): New variable.
+ (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (acos_upward_test_data): New variable.
+ (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (acosh_test_data): New variable.
+ (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (asin_test_data): New variable.
+ (asin_test): Run tests with RUN_TEST_LOOP_f_f.
+ (asin_tonearest_test_data): New variable.
+ (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (asin_towardzero_test_data): New variable.
+ (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (asin_downward_test_data): New variable.
+ (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (asin_upward_test_data): New variable.
+ (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (asinh_test_data): New variable.
+ (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (atan_test_data): New variable.
+ (atan_test): Run tests with RUN_TEST_LOOP_f_f.
+ (atanh_test_data): New variable.
+ (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (cbrt_test_data): New variable.
+ (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
+ (ceil_test_data): New variable.
+ (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
+ (cos_test_data): New variable.
+ (cos_test): Run tests with RUN_TEST_LOOP_f_f.
+ (cos_tonearest_test_data): New variable.
+ (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (cos_towardzero_test_data): New variable.
+ (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (cos_downward_test_data): New variable.
+ (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (cos_upward_test_data): New variable.
+ (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (cosh_test_data): New variable.
+ (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (cosh_tonearest_test_data): New variable.
+ (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (cosh_towardzero_test_data): New variable.
+ (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (cosh_downward_test_data): New variable.
+ (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (cosh_upward_test_data): New variable.
+ (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (erf_test_data): New variable.
+ (erf_test): Run tests with RUN_TEST_LOOP_f_f.
+ (erfc_test_data): New variable.
+ (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
+ (exp_test_data): New variable.
+ (exp_test): Run tests with RUN_TEST_LOOP_f_f.
+ (exp_tonearest_test_data): New variable.
+ (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (exp_towardzero_test_data): New variable.
+ (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (exp_downward_test_data): New variable.
+ (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (exp_upward_test_data): New variable.
+ (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (exp10_test_data): New variable.
+ (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
+ (exp2_test_data): New variable.
+ (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
+ (expm1_test_data): New variable.
+ (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
+ (fabs_test_data): New variable.
+ (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
+ (floor_test_data): New variable.
+ (floor_test): Run tests with RUN_TEST_LOOP_f_f.
+ (j0_test_data): New variable.
+ (j0_test): Run tests with RUN_TEST_LOOP_f_f.
+ (j1_test_data): New variable.
+ (j1_test): Run tests with RUN_TEST_LOOP_f_f.
+ (log_test_data): New variable.
+ (log_test): Run tests with RUN_TEST_LOOP_f_f.
+ (log10_test_data): New variable.
+ (log10_test): Run tests with RUN_TEST_LOOP_f_f.
+ (log1p_test_data): New variable.
+ (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
+ (log2_test_data): New variable.
+ (log2_test): Run tests with RUN_TEST_LOOP_f_f.
+ (logb_test_data): New variable.
+ (logb_test): Run tests with RUN_TEST_LOOP_f_f.
+ (logb_downward_test_data): New variable.
+ (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (nearbyint_test_data): New variable.
+ (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
+ (rint_test_data): New variable.
+ (rint_test): Run tests with RUN_TEST_LOOP_f_f.
+ (rint_tonearest_test_data): New variable.
+ (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (rint_towardzero_test_data): New variable.
+ (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (rint_downward_test_data): New variable.
+ (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (rint_upward_test_data): New variable.
+ (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (round_test_data): New variable.
+ (round_test): Run tests with RUN_TEST_LOOP_f_f.
+ (sin_test_data): New variable.
+ (sin_test): Run tests with RUN_TEST_LOOP_f_f.
+ (sin_tonearest_test_data): New variable.
+ (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (sin_towardzero_test_data): New variable.
+ (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (sin_downward_test_data): New variable.
+ (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (sin_upward_test_data): New variable.
+ (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (sinh_test_data): New variable.
+ (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (sinh_tonearest_test_data): New variable.
+ (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (sinh_towardzero_test_data): New variable.
+ (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (sinh_downward_test_data): New variable.
+ (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (sinh_upward_test_data): New variable.
+ (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (sqrt_test_data): New variable.
+ (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
+ (tan_test_data): New variable.
+ (tan_test): Run tests with RUN_TEST_LOOP_f_f.
+ (tan_tonearest_test_data): New variable.
+ (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+ (tan_towardzero_test_data): New variable.
+ (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
+ (tan_downward_test_data): New variable.
+ (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
+ (tan_upward_test_data): New variable.
+ (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
+ (tanh_test_data): New variable.
+ (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
+ (tgamma_test_data): New variable.
+ (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
+ (trunc_test_data): New variable.
+ (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
+ (y0_test_data): New variable.
+ (y0_test): Run tests with RUN_TEST_LOOP_f_f.
+ (y1_test_data): New variable.
+ (y1_test): Run tests with RUN_TEST_LOOP_f_f.
+ (significand_test_data): New variable.
+ (significand_test): Run tests with RUN_TEST_LOOP_f_f.
+
+2013-05-10 Christian GrÃÂnke <cgr_bugs@xxxxxxxxx>
+
+ [BZ #12387]
+ * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
+
+2013-05-10 Pino Toscano <toscano.pino@xxxxxxxxxx>
+
+ * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
+
+2013-05-10 Andreas Jaeger <aj@xxxxxxx>
+
+ [BZ #15448]
+ * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
+ (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
+
+2013-05-10 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/gen-libm-test.pl (adjust_arg): New function.
+ (special_functions): Handle generating output in both functions
+ and arrays.
+ (parse_args): Likewise.
+ (generate_testfile): Handle START_DATA and END_DATA. Pass extra
+ $in_func argument to parse_args.
+ * math/libm-test.inc (struct test_f_f_data): New type.
+ (IF_ROUND_INIT_): New macro.
+ (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
+ (IF_ROUND_INIT_FE_TONEAREST): Likewise.
+ (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
+ (IF_ROUND_INIT_FE_UPWARD): Likewise.
+ (ROUND_RESTORE_): Likewise.
+ (ROUND_RESTORE_FE_DOWNWARD): Likewise.
+ (ROUND_RESTORE_FE_TONEAREST): Likewise.
+ (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
+ (ROUND_RESTORE_FE_UPWARD): Likewise.
+ (RUN_TEST_LOOP_f_f): New macro.
+ (acos_test_data): New variable.
+ (acos_test): Run tests with RUN_TEST_LOOP_f_f.
+ (acos_tonearest_test_data): New variable.
+ (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
+
+2013-05-10 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * benchtests/bench-skeleton.c (startup): Fix coding style.
+
+2013-05-10 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #6809]
+ * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
+ negative infinity argument.
+ * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
+ negative infinity argument.
+ * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
+ negative infinity argument.
+ * math/libm-test.inc (tgamma_test): Expect errno to be set for
+ domain errors.
+
+2013-05-10 Florian Weimer <fweimer@xxxxxxxxxx>
+
+ * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
+ * iconv/iconv_charmap.c (charmap_conversion): Likewise.
+ * iconv/iconv_prog.c (main): Likewise.
+ * locale/programs/charmap-dir.c (charmap_readdir)
+ (fopen_uncompressed): Likewise.
+ * locale/programs/locfile.c (siblings_uncached)
+ (write_locale_data): Use lstat64 instead of lstat.
+ * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
+ stat.
+
+2013-05-10 Andreas Jaeger <aj@xxxxxxx>
+
+ [BZ #15395]
+ * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
+ localization.
+ Include <locale.h>.
+
+2013-05-09 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * elf/dl-close.c (_dl_close_worker): Add comments.
+
+2013-05-09 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15359]
+ * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
+ high part of pi/2.
+ (__ieee754_rem_pio2l): Update comments.
+
+ [BZ #15429]
+ * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
+ high part of pi/2.
+ (__ieee754_rem_pio2l): Update comments.
+
+ * math/libm-test.inc (M_SQRT_2_2): Remove macro.
+ (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
+
+ * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
+ M_PI_4l.
+
+ * math/libm-test.inc (M_PI_34l): Define using decimal constant.
+ (M_PI_34_LOG10El): Likewise.
+ (M_PI2_LOG10El): Likewise.
+ (M_PI4_LOG10El): Likewise.
+ (M_PI_LOG10El): Likewise.
+
+2013-05-08 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2013-05-08 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
+ (MINUS_ZERO_INIT): Likewise.
+ (PLUS_INFTY_INIT): Likewise.
+ (MINUS_INFTY_INIT): Likewise.
+ (QNAN_VALUE_INIT): Likewise.
+ (MAX_VALUE_INIT): Likewise.
+ (MIN_VALUE_INIT): Likewise.
+ (MIN_SUBNORM_VALUE_INIT): Likewise.
+ (plus_zero): Initialize with PLUS_ZERO_INIT.
+ (minus_zero): Initialize with MINUS_ZERO_INIT.
+ (plus_infty): Initialize with PLUS_INFTY_INIT.
+ (minus_infty): Initialize with MINUS_INFTY_INIT.
+ (qnan_value): Initialize with QNAN_VALUE_INIT.
+ (max_value): Initialize with MAX_VALUE_INIT.
+ (min_value): Initialize with MIN_VALUE_INIT.
+ (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
+
+ * math/libm-test.inc (RUN_TEST_if_f): New macro.
+ (jn_test): Use TEST_if_f instead of TEST_ff_f.
+ (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
+ (yn_test): Use TEST_if_f instead of TEST_ff_f.
+
+ * math/libm-test.inc (RUN_TEST_f_f): New macro.
+ (RUN_TEST_2_f): Likewise.
+ (RUN_TEST_ff_f): Likewise.
+ (RUN_TEST_fi_f): Likewise.
+ (RUN_TEST_fl_f): Likewise.
+ (RUN_TEST_fff_f): Likewise.
+ (RUN_TEST_c_f): Likewise.
+ (RUN_TEST_f_f1): Likewise.
+ (RUN_TEST_fF_f1): Likewise.
+ (RUN_TEST_fI_f1): Likewise.
+ (RUN_TEST_ffI_f1): Likewise.
+ (RUN_TEST_c_c): Likewise.
+ (RUN_TEST_cc_c): Likewise.
+ (RUN_TEST_f_i): Likewise.
+ (RUN_TEST_f_i_tg): Likewise.
+ (RUN_TEST_ff_i_tg): Likewise.
+ (RUN_TEST_f_b): Likewise.
+ (RUN_TEST_f_b_tg): Likewise.
+ (RUN_TEST_f_l): Likewise.
+ (RUN_TEST_f_L): Likewise.
+ (RUN_TEST_sincos): Likewise.
+ * math/gen-libm-test.pl (new_test): Take new argument to indicate
+ whether to show exceptions. Do not include ");\n" in return
+ value.
+ (special_functions): Output call to RUN_TEST_sincos instead of
+ check_float calls. Update calls to new_test.
+ (parse_args): Output call to single RUN_TEST_* macro instead of
+ check_* calls and other assignments. Update calls to new_test.
+
+ [BZ #2546]
+ [BZ #2560]
+ [BZ #5159]
+ [BZ #15426]
+ * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
+ input to result for tgamma overflow.
+ * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
+ (gamma_coeff): New variable.
+ (NCOEFF): New macro.
+ (gamma_positive): New function.
+ (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
+ underflow here. Use gamma_positive instead of exp (lgamma) for
+ other arguments.
+ * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
+ (gamma_coeff): New variable.
+ (NCOEFF): New macro.
+ (gammaf_positive): New function.
+ (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
+ underflow here. Use gamma_positive instead of exp (lgamma) for
+ other arguments.
+ * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
+ (gamma_coeff): New variable.
+ (NCOEFF): New macro.
+ (gammal_positive): New function.
+ (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
+ underflow here. Use gamma_positive instead of exp (lgamma) for
+ other arguments.
+ * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
+ (gamma_coeff): New variable.
+ (NCOEFF): New macro.
+ (gammal_positive): New function.
+ (__ieee754_gammal_r): Handle positive infinity, overflow and
+ underflow here. Handle NaN the same as positive infinity. Remove
+ check x < 0xffffffff for negative integers. Use gamma_positive
+ instead of exp (lgamma) for other arguments.
+ * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
+ (gamma_coeff): New variable.
+ (NCOEFF): New macro.
+ (gammal_positive): New function.
+ * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
+ * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
+ * sysdeps/generic/math_private.h (__gamma_productf): New
+ prototype.
+ (__gamma_product): Likewise.
+ (__gamma_productl): Likewise.
+ * math/Makefile (libm-calls): Add gamma_product.
+ * math/libm-test.inc (tgamma_test): Add more tests.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-05-08 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * benchtests/bench-skeleton.c (main): Preheat CPU.
+
+2013-05-07 Aurelien Jarno <aurelien@xxxxxxxxxxx>
+
+ * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
+
+2013-05-07 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
+ and _dl_skip_args_internal.
+
+2013-05-07 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ * manual/message.texi (Message Translation): Talk about users.
+ Message to key mapping impacts design.
+
+2013-05-06 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
+
+ * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
+
+ * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
+ * sysdeps/wordsize-64/glob64.c: ... here.
+
+ * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
+ (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
+ New macros.
+
+ * debug/getlogin_r_chk.c: Moved to ...
+ * login/getlogin_r_chk.c: ... here.
+ * debug/Makefile (routines): Move getlogin_r_chk to ...
+ * login/Makefile (routines): ... here.
+ * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
+ * login/Versions (libc: GLIBC_2.4): ... here.
+
+ * io/poll.c (__poll): Renamed from poll.
+ Add libc_hidden_def.
+ (poll): Define as weak alias.
+
+ * debug/ptsname_r_chk.c: Moved to ...
+ * login/ptsname_r_chk.c: ... here.
+ * debug/Makefile (routines): Move ptsname_r_chk to ...
+ * login/Makefile (routines): ... here.
+ * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
+ * login/Versions (libc: GLIBC_2.4): ... here.
+
+ * posix/getlogin.c: Moved to ...
+ * login/getlogin.c: ... here.
+ * posix/getlogin_r.c: Moved to ...
+ * login/getlogin_r.c: ... here.
+ * posix/getlogin_r.c: Moved to ...
+ * login/getlogin_r.c: ... here.
+ * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
+ * login/Makefile (routines): ... here.
+ * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
+ * login/Versions (libc: GLIBC_2.0): ... here.
+
+ * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
+ (setrlimit): Define as weak alias.
+
+ * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
+ Call __ names for open, ftruncate, and close.
+ For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
+ (truncate): Define as weak alias.
+
+2013-05-06 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/gen-libm-test.pl (parse_args): Initialize x before each
+ test of frexp, modf and remquo.
+
+ * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
+ test signgam value.
+
+2013-05-06 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ [BZ #15418]
+ [BZ #15419]
+ * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
+ internal tests.
+ * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
+
+2013-05-06 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * elf/dl-writev.h: New file.
+ * elf/dl-misc.c: Include it.
+ (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
+ * sysdeps/unix/sysv/linux/dl-writev.h: New file.
+
+2013-05-04 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (noXFails): Remove variable.
+ (noXPasses): Likewise.
+ (BUILD_COMPLEX_INT): Remove macro.
+ (print_screen): Remove xfail argument.
+ (print_screen_max_error): Likewise.
+ (update_stats): Likewise.
+ (print_max_error): Likewise. Update calls to other affected
+ functions.
+ (print_complex_max_error): Likewise.
+ (test_single_exception): Update calls to print_screen.
+ (test_single_errno): Likewise.
+ (check_float_internal): Remove xfail argument. Update calls to
+ other affected functions.
+ (check_float): Likewise.
+ (check_complex): Likewise.
+ (check_int): Likewise.
+ (check_long): Likewise.
+ (check_bool): Likewise.
+ (check_longlong): Likewise.
+ (main): Don't print noXFails and noXPasses.
+ * math/gen-libm-test.pl (top level): Don't mention expected
+ failure handling in comment.
+ (new_test): Don't handle expected failures.
+ (parse_args): Don't mention expected failure handling in comment.
+ (generate_testfile): Don't handle expected failures.
+ (parse_ulps): Likewise.
+ (print_ulps_file): Likewise.
+ (get_failure): Remove function.
+ (output_test): Don't handle expected failures.
+ * make/README.libm-test: Don't mention expected failure handling.
+
+ * math/libm-test.inc (plus_zero): Make const. Add initializer.
+ (minus_zero): Likewise.
+ (plus_infty): Likewise.
+ (minus_infty): Likewise.
+ (qnan_value): Likewise.
+ (max_value): Likewise.
+ (min_value): Likewise.
+ (min_subnorm_value): Likewise.
+ (initialize): Do not initialize those variables dynamically.
+
+2013-05-03 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * io/open.c (__open_2): Moved to ...
+ * io/open_2.c: ... this new file.
+ * io/open64.c (__open64_2): Moved to ...
+ * io/open64_2.c: ... this new file.
+ * io/openat.c (__openat_2): Moved to ...
+ * io/openat_2.c: ... this new file.
+ * io/openat64.c (__openat64_2): Moved to ...
+ * io/openat64_2.c: ... this new file.
+ * io/Makefile (routines): Add them.
+ * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
+ * sysdeps/unix/sysv/linux/open_2.c: File removed.
+ * sysdeps/unix/sysv/linux/open64_2.c: File removed.
+ * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
+ * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
+ * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
+ (__openat64): Add hidden_ver.
+ * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
+ * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
+
+ * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
+ Separately conditionalize setting of GLRO(dl_sysinfo) so
+ that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
+ as well, but the actual setting is only under [NEED_DL_SYSINFO].
+
+2013-04-30 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
+ * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
+ definition.
+ (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
+ * sysdeps/unix/sysv/linux/powerpc/init-first.c
+ (_libc_vdso_platform_setup): Add __vdso_time initialization.
+ * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
+ for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
+
+2013-05-03 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
+ test signgam value.
+
+ * math/libm-test.inc (hypot_test): Do not use
+ IGNORE_ZERO_INF_SIGN.
+
+2013-05-03 Andreas Jaeger <aj@xxxxxxx>
+
+ * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
+ Linux 3.9.
+ * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
+ (PF_MAX): Adjust for VSOCK change.
+
+2013-05-03 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2013-05-02 Carlos O'Donell <carlos@xxxxxxxxxx>
+
+ [BZ #15264]
+ * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
+ * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
+ * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
+
+2013-05-02 David S. Miller <davem@xxxxxxxxxxxxx>
+
+ * sysdeps/sparc/fpu/libm-test-ulps: Update.
+
+2013-05-01 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
+
+2013-05-01 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
+
+2013-05-01 Richard Smith <richard@xxxxxxxxxxxxx>
+
+ [BZ #14952]
+ * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
+ [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
+ Use __attribute__ ((__gnu_inline__)).
+ [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
+ Don't use __attribute__ ((__gnu_inline__)).
+
+2013-05-01 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15423]
+ * math/s_catan.c (__catan): Handle small real or imaginary part of
+ input specially to avoid spurious underflow.
+ * math/s_catanf.c (__catanf): Likewise.
+ * math/s_catanh.c (__catanh): Likewise.
+ * math/s_catanhf.c (__catanhf): Likewise.
+ * math/s_catanhl.c (__catanhl): Likewise.
+ * math/s_catanl.c (__catanl): Likewise.
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-04-30 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2013-04-30 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ [BZ #15416]
+ * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
+ accurately for denominator in atan2.
+ * math/s_catanf.c (__catanf): Likewise.
+ * math/s_catanh.c (__catanh): Likewise.
+ * math/s_catanhf.c (__catanhf): Likewise.
+ * math/s_catanhl.c (__catanhl): Likewise.
+ * math/s_catanl.c (__catanl): Likewise.
+ * math/libm-test.inc (catan_test): Add more tests.
+ (catanh_test): Likewise.
+ * sysdeps/i386/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2013-04-30 Siddhesh Poyarekar <siddhesh@xxxxxxxxxx>
+
+ * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
+
+ * benchtests/Makefile (bench): Remove slow benchmarks.
+ * benchtests/atan-inputs: Add slow benchmark inputs.
+ * benchtests/bench-modf.c (NUM_VARIANTS): Define.
+ (BENCH_FUNC): Accept variant offset.
+ (VARIANT): Define.
+ * benchtests/bench-skeleton.c (main): Run benchmark for each
+ variant.
+ * benchtests/cos-inputs: Add slow benchmark inputs.
+ * benchtests/exp-inputs: Likewise.
+ * benchtests/pow-inputs: Likewise.
+ * benchtests/sin-inputs: Likewise.
+ * benchtests/slowatan-inputs: Remove.
+ * benchtests/slowatan.c: Remove.
+ * benchtests/slowcos-inputs: Remove.
+ * benchtests/slowcos.c: Remove.
+ * benchtests/slowexp-inputs: Remove.
+ * benchtests/slowexp.c: Remove.
+ * benchtests/slowpow-inputs: Remove.
+ * benchtests/slowpow.c: Remove.
+ * benchtests/slowsin-inputs: Remove.
+ * benchtests/slowsin.c: Remove.
+ * benchtests/slowtan-inputs: Remove.
+ * benchtests/slowtan.c: Remove.
+ * benchtests/tan-inputs: Add slow benchmark inputs.
+ * scripts/bench.pl: Parse comments and directives.
+
+ * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
+ in CPPFLAGS.
+ ($(objpfx)bench-%.c): Remove *-ITER.
+ * benchtests/bench-modf.c: Remove definition of ITER.
+ * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
+ (main): Loop for DURATION seconds instead of fixed number of
+ iterations.
+ * scripts/bench.pl: Don't expect iterations in parameters.
+
+2013-04-29 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * io/fchdir.c (__fchdir): Renamed from fchdir.
+ (fchdir): Define as weak alias.
+
+2013-04-29 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
+ (ERRNO_EDOM): Likewise.
+ (ERRNO_ERANGE): Likewise.
+ (noErrnoTests): New variable.
+ (init_max_error): Set errno to 0.
+ (test_single_errno): New function.
+ (test_errno): Likewise.
+ (check_float_internal): Call test_errno. Set errno to 0.
+ (check_complex): Refer to errno tests in comment.
+ (check_int): Call test_errno. Set errno to 0.
+ (check_long): Likewise.
+ (check_bool): Likewise.
+ (check_longlong): Likewise.
+ (cos_test): Use ERRNO_* flags for errno tests instead of
+ check_int.
+ (expm1_test): Likewise.
+ (fmod_test): Likewise.
+ (ilogb_test): Likewise.
+ (lgamma_test): Likewise.
+ (pow_test): Likewise.
+ (remainder_test): Likewise.
+ (sin_test): Likewise.
+ (tan_test): Likewise.
+ (yn_test): Likewise.
+ (initialize): Set errno to 0.
+ (main): Print number of errno tests.
+ * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
+
+2013-04-29 Andreas Jaeger <aj@xxxxxxx>
+
+ [BZ #15084]
+ * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
+ and RES_USEVC.
+
+ [BZ #15085]
+ * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
+ * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
+ unimplemented.
+
+ [BZ #15380]
+ * stdlib/random.c (__initstate): Return NULL if
+ __initstate fails.
+
+ [BZ #15086]
+ * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
+ RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
+ RES_SNGLKUPREOP.
+
+2013-04-29 Adhemerval Zanella <azanella@xxxxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2013-04-29 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * math/libm-test.inc (cacos_test): Add missing semicolons at ends
+ of individual tests.
+ (casin_test): Likewise.
+ (casinh_test): Likewise.
+
2013-04-27 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
[BZ #15409]
@@ -10445,6 +12045,7 @@
2012-07-31 Roland McGrath <roland@xxxxxxxxxxxxx>
+ [BZ #10191]
* include/sys/socket.h (__libc_accept, __libc_accept4):
Add attribute_hidden.
* socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
Modified: trunk/libc/NEWS
==============================================================================
--- trunk/libc/NEWS (original)
+++ trunk/libc/NEWS Sat May 18 00:51:47 2013
@@ -9,13 +9,15 @@
* The following bugs are resolved with this release:
- 10060, 10062, 10357, 11120, 11561, 12723, 13550, 13889, 13951, 13988,
- 14142, 14176, 14200, 14280, 14293, 14317, 14327, 14478, 14496, 14686,
- 14812, 14888, 14920, 14964, 14981, 14982, 14985, 14994, 14996, 15003,
- 15006, 15007, 15020, 15023, 15036, 15054, 15055, 15062, 15078, 15160,
- 15214, 15221, 15232, 15234, 15283, 15285, 15287, 15304, 15305, 15307,
- 15309, 15327, 15330, 15335, 15336, 15337, 15342, 15346, 15361, 15366,
- 15394, 15405, 15406, 15409.
+ 2546, 2560, 5159, 6809, 10060, 10062, 10357, 10686, 11120, 11561, 12387,
+ 12723, 13550, 13889, 13951, 13988, 14142, 14176, 14200, 14280, 14293,
+ 14317, 14327, 14478, 14496, 14582, 14686, 14812, 14888, 14908, 14920,
+ 14952, 14964, 14981, 14982, 14985, 14994, 14996, 15000, 15003, 15006,
+ 15007, 15020, 15023, 15036, 15054, 15055, 15062, 15078, 15084, 15085,
+ 15086, 15160, 15214, 15221, 15232, 15234, 15283, 15285, 15287, 15304,
+ 15305, 15307, 15309, 15327, 15330, 15335, 15336, 15337, 15342, 15346,
+ 15359, 15361, 15366, 15380, 15394, 15395, 15405, 15406, 15409, 15416,
+ 15418, 15419, 15423, 15424, 15426, 15429, 15442, 15448, 15480, 15485.
* CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
#15078).
@@ -43,20 +45,20 @@
* The following bugs are resolved with this release:
1349, 3439, 3479, 3665, 5044, 5246, 5298, 5400, 6530, 6677, 6778, 6808,
- 9685, 9914, 10014, 10038, 10114, 10631, 10873, 11438, 11607, 11638, 11741,
- 12140, 13013, 13412, 13542, 13601, 13603, 13604, 13629, 13679, 13696,
- 13698, 13717, 13741, 13759, 13761, 13763, 13881, 13939, 13950, 13952,
- 13966, 14042, 14047, 14090, 14150, 14151, 14152, 14154, 14157, 14166,
- 14173, 14195, 14197, 14237, 14246, 14251, 14252, 14283, 14298, 14303,
- 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14368, 14376, 14417,
- 14447, 14459, 14476, 14477, 14501, 14505, 14510, 14516, 14518, 14519,
- 14530, 14532, 14538, 14543, 14544, 14545, 14557, 14562, 14568, 14576,
- 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645, 14648,
- 14652, 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719, 14743,
- 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805,
- 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833, 14835,
- 14838, 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872, 14879,
- 14889, 14893, 14898, 14914.
+ 9685, 9914, 10014, 10038, 10114, 10191, 10631, 10873, 11438, 11607, 11638,
+ 11741, 12140, 13013, 13412, 13542, 13601, 13603, 13604, 13629, 13679,
+ 13696, 13698, 13717, 13741, 13759, 13761, 13763, 13881, 13939, 13950,
+ 13952, 13966, 14042, 14047, 14090, 14150, 14151, 14152, 14154, 14157,
+ 14166, 14173, 14195, 14197, 14237, 14246, 14251, 14252, 14283, 14298,
+ 14303, 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14368, 14376,
+ 14417, 14447, 14459, 14476, 14477, 14501, 14505, 14510, 14516, 14518,
+ 14519, 14530, 14532, 14538, 14543, 14544, 14545, 14557, 14562, 14568,
+ 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645,
+ 14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719,
+ 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803,
+ 14805, 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833,
+ 14835, 14838, 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872,
+ 14879, 14889, 14893, 14898, 14914.
* Optimization of memcpy for MIPS.
Modified: trunk/libc/benchtests/Makefile
==============================================================================
--- trunk/libc/benchtests/Makefile (original)
+++ trunk/libc/benchtests/Makefile Sat May 18 00:51:47 2013
@@ -23,12 +23,6 @@
# - Append the function name to the bench variable
-# - Define foo-ITER with the number of iterations you want to run. Keep it
-# high enough that the overhead of clock_gettime is only a small fraction of
-# the total run time of the test. A good idea would be to keep the run time
-# of each test at around 10 seconds for x86_64. That is just a guideline,
-# since some scenarios may require higher run times.
-
# - Define foo-ARGLIST as a colon separated list of types of the input
# arguments. Use `void` if function does not take any inputs. Put in quotes
# if the input argument is a pointer, e.g.:
@@ -45,91 +39,35 @@
# See pow-inputs for an example.
subdir := benchtests
-bench := exp pow rint sin cos tan atan modf \
- slowexp slowpow slowsin slowcos slowtan slowatan
+bench := exp pow rint sin cos tan atan modf
-# exp function fast path: sysdeps/ieee754/dbl-64/e_exp.c
-exp-ITER = 5e8
exp-ARGLIST = double
exp-RET = double
LDFLAGS-bench-exp = -lm
-# pow function fast path: sysdeps/ieee754/dbl-64/e_pow.c
-pow-ITER = 2e8
pow-ARGLIST = double:double
pow-RET = double
LDFLAGS-bench-pow = -lm
-rint-ITER = 250000000
rint-ARGLIST = double
rint-RET = double
LDFLAGS-bench-rint = -lm
-# exp function slowest path: sysdeps/ieee754/dbl-64/mpexp.c
-slowexp-ITER = 3e5
-slowexp-ARGLIST = double
-slowexp-RET = double
-slowexp-INCLUDE = slowexp.c
-LDFLAGS-bench-slowexp = -lm
-
-# sin function fast path: sysdeps/ieee754/dbl-64/s_sin.c
-sin-ITER = 3e9
sin-ARGLIST = double
sin-RET = double
LDFLAGS-bench-sin = -lm
-# cos function fast path: sysdeps/ieee754/dbl-64/s_sin.c
-cos-ITER = 3e9
cos-ARGLIST = double
cos-RET = double
LDFLAGS-bench-cos = -lm
-# tan function fast path: sysdeps/ieee754/dbl-64/s_tan.c
-tan-ITER = 3e9
tan-ARGLIST = double
tan-RET = double
LDFLAGS-bench-tan = -lm
-# atan function fast path: sysdeps/ieee754/dbl-64/s_atan.c
-atan-ITER = 6e9
atan-ARGLIST = double
atan-RET = double
LDFLAGS-bench-atan = -lm
-
-# pow function slowest path: sysdeps/ieee754/dbl-64/slowpow.c
-slowpow-ITER = 1e5
-slowpow-ARGLIST = double:double
-slowpow-RET = double
-slowpow-INCLUDE = slowpow.c
-LDFLAGS-bench-slowpow = -lm
-
-# sin function slowest path: sysdeps/ieee754/dbl-64/sincos32.c
-slowsin-ITER = 3e7
-slowsin-ARGLIST = double
-slowsin-RET = double
-slowsin-INCLUDE = slowsin.c
-LDFLAGS-bench-slowsin = -lm
-
-# cos function slowest path: sysdeps/ieee754/dbl-64/sincos32.c
-slowcos-ITER = 3e7
-slowcos-ARGLIST = double
-slowcos-RET = double
-slowcos-INCLUDE = slowcos.c
-LDFLAGS-bench-slowcos = -lm
-
-# tan function slowest path: sysdeps/ieee754/dbl-64/mptan.c
-slowtan-ITER = 3e7
-slowtan-ARGLIST = double
-slowtan-RET = double
-slowtan-INCLUDE = slowtan.c
-LDFLAGS-bench-slowtan = -lm
-
-# atan function slowest path: sysdeps/ieee754/dbl-64/mpatan.c
-slowatan-ITER = 3e8
-slowatan-ARGLIST = double
-slowatan-RET = double
-slowatan-INCLUDE = slowatan.c
-LDFLAGS-bench-slowatan = -lm
@@ -141,13 +79,26 @@
binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
+# The default duration: 10 seconds.
+ifndef BENCH_DURATION
+BENCH_DURATION := 10
+endif
+
+CPPFLAGS-nonlib = -DDURATION=$(BENCH_DURATION)
+
+# Use clock_gettime to measure performance of functions. The default is to use
+# HP_TIMING if it is available.
+ifdef USE_CLOCK_GETTIME
+CPPFLAGS-nonlib += -DUSE_CLOCK_GETTIME
+endif
+
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
# for all these modules.
cpp-srcs-left := $(binaries-bench:=.c)
lib := nonlib
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
-bench-deps := bench-skeleton.c Makefile
+bench-deps := bench-skeleton.c bench-timing.h Makefile
run-bench = $(test-wrapper-env) \
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
@@ -176,5 +127,5 @@
cat $($*-INCLUDE); \
fi; \
$(..)scripts/bench.pl $(patsubst %-inputs,%,$<) \
- $($*-ITER) $($*-ARGLIST) $($*-RET); } > $@-tmp
+ $($*-ARGLIST) $($*-RET); } > $@-tmp
mv -f $@-tmp $@
Modified: trunk/libc/benchtests/atan-inputs
==============================================================================
--- trunk/libc/benchtests/atan-inputs (original)
+++ trunk/libc/benchtests/atan-inputs Sat May 18 00:51:47 2013
@@ -1,3 +1,9 @@
0x1.000000c5cba86p0
0x1.000001883003ap0
0x1.00000dfb2b674p0
+# atan slowest path at 768 bits
+# Implemented in sysdeps/ieee754/dbl-64/mpatan.c
+## name: 768bits
+0x1.000000c5cba87p0
+0x1.000001883003bp0
+0x1.00000dfb2b675p0
Modified: trunk/libc/benchtests/bench-modf.c
==============================================================================
--- trunk/libc/benchtests/bench-modf.c (original)
+++ trunk/libc/benchtests/bench-modf.c Sat May 18 00:51:47 2013
@@ -17,23 +17,28 @@
extern double modf (double, double *);
-#define CALL_BENCH_FUNC(j, i) modf ( in[j].arg0, &i);
+#define CALL_BENCH_FUNC(j, i) modf (in[j].arg0, &i);
struct args
{
- double arg0;
+ volatile double arg0;
} in[] =
{
{ 42.42 },
{ -42.42 }
};
-#define NUM_SAMPLES (sizeof (in) / sizeof (struct args))
+#define NUM_VARIANTS 1
+#define NUM_SAMPLES(v) (sizeof (in) / sizeof (struct args))
static volatile double ret = 0.0;
-#define BENCH_FUNC(j) ({double iptr; ret = CALL_BENCH_FUNC (j, iptr);})
+#define BENCH_FUNC(v, j) \
+({ \
+ double iptr; \
+ ret = CALL_BENCH_FUNC (j, iptr); \
+})
-#define ITER 250000000
#define FUNCNAME "modf"
+#define VARIANT(v) FUNCNAME "()"
#include "bench-skeleton.c"
Modified: trunk/libc/benchtests/bench-skeleton.c
==============================================================================
--- trunk/libc/benchtests/bench-skeleton.c (original)
+++ trunk/libc/benchtests/bench-skeleton.c Sat May 18 00:51:47 2013
@@ -21,55 +21,90 @@
#include <stdio.h>
#include <time.h>
#include <inttypes.h>
+#include "bench-timing.h"
+volatile unsigned int dontoptimize = 0;
+
+void
+startup (void)
+{
+ /* This loop should cause CPU to switch to maximal freqency.
+ This makes subsequent measurement more accurate. We need a side effect
+ to prevent the loop being deleted by compiler.
+ This should be enough to cause CPU to speed up and it is simpler than
+ running loop for constant time. This is used when user does not have root
+ access to set a constant freqency. */
+ for (int k = 0; k < 10000000; k++)
+ dontoptimize += 23 * dontoptimize + 2;
+}
+
+#define TIMESPEC_AFTER(a, b) \
+ (((a).tv_sec == (b).tv_sec) ? \
+ ((a).tv_nsec > (b).tv_nsec) : \
+ ((a).tv_sec > (b).tv_sec))
int
main (int argc, char **argv)
{
- unsigned long i, j, k;
- uint64_t total = 0, max = 0, min = 0x7fffffffffffffff;
- struct timespec start, end;
+ unsigned long i, k;
+ struct timespec runtime;
+ timing_t start, end;
- memset (&start, 0, sizeof (start));
- memset (&end, 0, sizeof (end));
+ startup();
- clock_getres (CLOCK_PROCESS_CPUTIME_ID, &start);
+ memset (&runtime, 0, sizeof (runtime));
- /* Measure 1000 times the resolution of the clock. So for a 1ns resolution
- clock, we measure 1000 iterations of the function call at a time.
- Measurements close to the minimum clock resolution won't make much sense,
- but it's better than having nothing at all. */
- unsigned long iters = 1000 * start.tv_nsec;
- unsigned long total_iters = ITER / iters;
+ unsigned long iters;
- for (i = 0; i < NUM_SAMPLES; i++)
+ TIMING_INIT (iters);
+
+ for (int v = 0; v < NUM_VARIANTS; v++)
{
- for (j = 0; j < total_iters; j ++)
+ /* Run for approximately DURATION seconds. */
+ clock_gettime (CLOCK_MONOTONIC_RAW, &runtime);
+ runtime.tv_sec += DURATION;
+
+ double d_total_i = 0;
+ timing_t total = 0, max = 0, min = 0x7fffffffffffffff;
+ while (1)
{
- clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &start);
- for (k = 0; k < iters; k++)
- BENCH_FUNC(i);
- clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &end);
+ for (i = 0; i < NUM_SAMPLES (v); i++)
+ {
+ uint64_t cur;
+ TIMING_NOW (start);
+ for (k = 0; k < iters; k++)
+ BENCH_FUNC (v, i);
+ TIMING_NOW (end);
- uint64_t cur = (end.tv_nsec - start.tv_nsec
- + ((end.tv_sec - start.tv_sec)
- * (uint64_t) 1000000000));
+ TIMING_DIFF (cur, start, end);
- if (cur > max)
- max = cur;
+ if (cur > max)
+ max = cur;
- if (cur < min)
- min = cur;
+ if (cur < min)
+ min = cur;
- total += cur;
+ TIMING_ACCUM (total, cur);
+
+ d_total_i += iters;
+ }
+ struct timespec curtime;
+
+ memset (&curtime, 0, sizeof (curtime));
+ clock_gettime (CLOCK_MONOTONIC_RAW, &curtime);
+ if (TIMESPEC_AFTER (curtime, runtime))
+ goto done;
}
+
+ double d_total_s;
+ double d_iters;
+
+ done:
+ d_total_s = total;
+ d_iters = iters;
+
+ TIMING_PRINT_STATS (VARIANT (v), d_total_s, d_iters, d_total_i, max,
+ min);
}
-
- double d_total_s = total * 1e-9;
- double d_iters = iters;
- double d_total_i = (double)ITER * NUM_SAMPLES;
- printf (FUNCNAME ": ITERS:%g: TOTAL:%gs, MAX:%gns, MIN:%gns, %g iter/s\n",
- d_total_i, d_total_s, max / d_iters, min / d_iters,
- d_total_i / d_total_s);
return 0;
}
Modified: trunk/libc/benchtests/cos-inputs
==============================================================================
--- trunk/libc/benchtests/cos-inputs (original)
+++ trunk/libc/benchtests/cos-inputs Sat May 18 00:51:47 2013
@@ -3,3 +3,11 @@
0x1.00000162a932ap0
0x1.000002d452a11p0
0x1.000005bc7d86cp0
+# cos slow path at 768 bits
+# Implemented in sysdeps/ieee754/dbl-64/sincos32.c
+## name: 768bits
+0x1.000000cf4a2a2p0
+0x1.0000010b239a9p0
+0x1.00000162a932bp0
+0x1.000002d452a10p0
+0x1.000005bc7d86dp0
Modified: trunk/libc/benchtests/exp-inputs
==============================================================================
--- trunk/libc/benchtests/exp-inputs (original)
+++ trunk/libc/benchtests/exp-inputs Sat May 18 00:51:47 2013
@@ -1,1 +1,5 @@
42
+# Slowest path with computation in 768 bit precision.
+# Implemented in: sysdeps/ieee754/dbl-64/mpexp.c
+## name: 768bits
+708.00096423260981737257679924368858
Modified: trunk/libc/benchtests/pow-inputs
==============================================================================
--- trunk/libc/benchtests/pow-inputs (original)
+++ trunk/libc/benchtests/pow-inputs Sat May 18 00:51:47 2013
@@ -1,1 +1,5 @@
42.0, 42.0
+# pow slowest path at 768 bits
+# Implemented in sysdeps/ieee754/dbl-64/slowpow.c
+## name: 768bits
+1.0000000000000020, 1.5
Modified: trunk/libc/benchtests/sin-inputs
==============================================================================
--- trunk/libc/benchtests/sin-inputs (original)
+++ trunk/libc/benchtests/sin-inputs Sat May 18 00:51:47 2013
@@ -5,3 +5,13 @@
4.0
4.7
5.9
+# sin slowest path at 768 bits
+# Implemented in sysdeps/ieee754/dbl-64/sincos32.c
+## name: 768bits
+0.93340582292648832662962377071381
+2.3328432680770916363144351635128
+3.7439477503636453548097051680088
+3.9225160069792437411706487182528
+4.0711651639931289992091478779912
+4.7858438478542097982426639646292
+5.9840767662578002727968851104379
Removed: trunk/libc/benchtests/slowatan-inputs
==============================================================================
--- trunk/libc/benchtests/slowatan-inputs (original)
+++ trunk/libc/benchtests/slowatan-inputs (removed)
@@ -1,3 +1,0 @@
-0x1.000000c5cba87p0
-0x1.000001883003bp0
-0x1.00000dfb2b675p0
Removed: trunk/libc/benchtests/slowatan.c
==============================================================================
--- trunk/libc/benchtests/slowatan.c (original)
+++ trunk/libc/benchtests/slowatan.c (removed)
@@ -1,19 +1,0 @@
-/* Define slowatan.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define slowatan atan
Removed: trunk/libc/benchtests/slowcos-inputs
==============================================================================
--- trunk/libc/benchtests/slowcos-inputs (original)
+++ trunk/libc/benchtests/slowcos-inputs (removed)
@@ -1,5 +1,0 @@
-0x1.000000cf4a2a2p0
-0x1.0000010b239a9p0
-0x1.00000162a932bp0
-0x1.000002d452a10p0
-0x1.000005bc7d86dp0
Removed: trunk/libc/benchtests/slowcos.c
==============================================================================
--- trunk/libc/benchtests/slowcos.c (original)
+++ trunk/libc/benchtests/slowcos.c (removed)
@@ -1,19 +1,0 @@
-/* Define slowcos.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define slowcos cos
Removed: trunk/libc/benchtests/slowexp-inputs
==============================================================================
--- trunk/libc/benchtests/slowexp-inputs (original)
+++ trunk/libc/benchtests/slowexp-inputs (removed)
@@ -1,1 +1,0 @@
-708.00096423260981737257679924368858
Removed: trunk/libc/benchtests/slowexp.c
==============================================================================
--- trunk/libc/benchtests/slowexp.c (original)
+++ trunk/libc/benchtests/slowexp.c (removed)
@@ -1,19 +1,0 @@
-/* Define slowexp.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define slowexp exp
Removed: trunk/libc/benchtests/slowpow-inputs
==============================================================================
--- trunk/libc/benchtests/slowpow-inputs (original)
+++ trunk/libc/benchtests/slowpow-inputs (removed)
@@ -1,1 +1,0 @@
-1.0000000000000020, 1.5
Removed: trunk/libc/benchtests/slowpow.c
==============================================================================
--- trunk/libc/benchtests/slowpow.c (original)
+++ trunk/libc/benchtests/slowpow.c (removed)
@@ -1,19 +1,0 @@
-/* Define slowpow.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define slowpow pow
[... 54050 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits