summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2013-01-14Fix code formatting in mpa.cSiddhesh Poyarekar3-766/+1531
This includes the overridden mpa.c in power4.
2013-01-14Remove unnecessary local variable mptwoSiddhesh Poyarekar2-8/+0
2013-01-11Add 64-bit VIS3 optimized GMP routines for sparc.David S. Miller11-0/+673
* math/Makefile: Recognize gmp-sysdep_routines. * sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines to sysdeps. * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/add_n.S: New file. * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file. * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file. * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file. * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2013-01-11Redo sparc 32-bit V9 GMP optimizations with fixed copyrights.David S. Miller3-3/+233
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit sparc V9 rather than using V8 code. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-11Adjust sparc for Roland's multiarch sysdep directory changes.David S. Miller1-0/+0
* sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: Move to... * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies: Here.
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers3-12/+7
2013-01-11Add MSG_FASTOPENAndreas Jaeger1-0/+2
[BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7.
2013-01-10Undo receive sparc 32-bit V9 gmp routine commit.David S. Miller3-207/+3
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10Optimize sparc 32-bit V9 GMP multiply routines.David S. Miller3-3/+207
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit sparc V9 rather than using V8 code. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10Update sparc ULPs for new casin{,h} tests.David S. Miller1-0/+114
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers7-7/+13
2013-01-10Correct _XXX_ILP32_OFFBIG for x32H.J. Lu1-8/+17
2013-01-10Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab19-119/+0
This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
2013-01-10Revert "sysdeps/ieee754/ldbl-128ibm/e_expl.c"Andreas Schwab2-64/+16
This reverts commit 35eb879e3b7849e86f06658bdb888f7858b30759.
2013-01-10Fix formatting in mpexp.cSiddhesh Poyarekar1-54/+95
2013-01-10Make __mpexp_twomm1 an array of doublesSiddhesh Poyarekar2-87/+26
Cleanup to get rid of the `number` muck which is not necessary here.
2013-01-10sysdeps/ieee754/ldbl-128ibm/e_expl.cAndreas Schwab2-16/+64
2013-01-10Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab19-0/+119
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add ieee754/ldbl-opt/wordsize-64. * sysdeps/powerpc/powerpc64/Implies: Add ieee754/dbl-64/wordsize-64.
2013-01-10Define flags for fallocateAndreas Schwab1-0/+7
2013-01-09Sync netinet/tcp.h with upstream Linux kernel.David S. Miller1-14/+66
[BZ# 15003] * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS, TCP_FASTOPEN): Define. (tcp_repair_opt): New structure. (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New enum values. (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE, TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN, TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. (tcp_cookie_transactions): New structure.
2013-01-09PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.Anton Blanchard4-0/+36
2013-01-09Update s390 ULPsSiddhesh Poyarekar1-66/+185
2013-01-09Update powerpc ULPsSiddhesh Poyarekar1-36/+56
2013-01-09Update comments in mpa.cSiddhesh Poyarekar3-207/+145
Fixed comment style and clearer wording in some cases.
2013-01-08Don't check __GNUC__ together with __USE_EXTERN_INLINES.Joseph Myers1-1/+1
2013-01-08BZ#14985: Remove erroneous EPOLL_NONBLOCKAndreas Jaeger3-9/+3
[BZ# 14985] * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): Remove. * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. ChangeLog.mips: [BZ# 14985] * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): * Remove. ChangeLog.hppa: [BZ# 14985] * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK): Remove. ChangeLog.alpha: [BZ# 14985] * sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK): Remove.
2013-01-07Fix spelling errors in sysdeps/powerpc files.Anton Blanchard42-121/+121
2013-01-07Fix casinh, casin overflow (bug 14996).Joseph Myers2-0/+24
2013-01-05Change __x86_64 prefix in cache size to __x86H.J. Lu7-55/+46
2013-01-04Update Sparc ULPs.David S. Miller1-0/+5
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-04Fix warnings in test-powerpc-snan.cAndreas Schwab1-3/+2
2013-01-04Update powerpc libm ULPsAndreas Schwab1-0/+5
2013-01-04Remove unused __cr and __cpymnSiddhesh Poyarekar3-127/+0
2013-01-04Fix build failure on power4 processorsSiddhesh Poyarekar2-6/+14
The power4-specific mpa.c depended on some global variables that were removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-04Fix casinh, casin inaccuracy from cancellation (bug 14994).Joseph Myers2-0/+70
2013-01-04Fix code formattingSiddhesh Poyarekar1-10/+15
2013-01-04Clean up comment for MP_NOSiddhesh Poyarekar1-12/+26
2013-01-04Remove some commented codeSiddhesh Poyarekar1-13/+0
2013-01-04Remove commented declarationsSiddhesh Poyarekar1-6/+0
2013-01-04Remove argument variable name from function declarationSiddhesh Poyarekar1-1/+1
2013-01-03Add HAS_RTMH.J. Lu2-0/+16
2013-01-02Fix copyright notice corruption from update-copyright bug.Joseph Myers8-8/+8
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers2665-2773/+2665
2013-01-02Fix values in __mpexp_twomm1Siddhesh Poyarekar1-8/+8
2013-01-02Split mantissa calculation loop and add branch predictionSiddhesh Poyarekar1-24/+43
2013-01-02Add assert for potential access beyond array bounds in m1npSiddhesh Poyarekar1-4/+17
The mpexp code has an access into m1np: for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; } which could break for p >= 18 or i >= 7. Fortunately this code is never called due to the way the exp function is implemented since values having exponent less than -55 return 1.0. Make sure that if it gets called in future, it is trapped.
2013-01-02Move more constants into static variablesSiddhesh Poyarekar4-22/+8
Code cleanup.
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers63-94/+63
2012-12-31Favour normal numbersSiddhesh Poyarekar1-4/+5
2012-12-29Demystify the magic number 134217729.0Siddhesh Poyarekar3-8/+10
The number 134217729.0 gets used in various places in e_pow.c but there is no explanation of what that number is. Add that explanation.