aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-13 powerpc: POWER7 optimizationsibm/2.8/masterLuis Machado
Add optimizations for classification functions (32-bit and 64-bit) and string functions (32-bit and 64-bit). powerpc: Re-work the Implies structure This patch tries to organize the implies files for ppc, since there are a number of processors and most of them are compatible with each other (backwards compatible). Having in mind that we start the search for processor-specific files in the sysdeps/unix/sysv/linux tree (sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be exact), we would like to grab any linux-specific code from that tree prior to going through the other tree (sysdeps/powerpc/...). For that, i removed the Implies files that were originally inside the fpu directories and placed then in the non-fpu directories (still inside the unix/sysv/linux tree). If no processor-specific/linux-specific files could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu directory for that specific processor AND also the non-fpu directory for that same tree. If, again, no processor-specific code is found, we read another Implies file that will point to the most compatible processor that we should grab code from, and so on, until we reach the power4 processor. So, in summary, the Implies files will live inside these directories now: * sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor] * sysdeps/powerpc/powerpc[32|64]/[processor] Practical example of the order we will use to pick power6-specific code with the new structure. sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu -> sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 -> sysdeps/powerpc/powerpc[32|64]/power6/fpu -> sysdeps/powerpc/powerpc[32|64]/power6 -> sysdeps/powerpc/powerpc[32|64]/power5+/fpu -> sysdeps/powerpc/powerpc[32|64]/power5+ -> sysdeps/powerpc/powerpc[32|64]/power5/fpu -> sysdeps/powerpc/powerpc[32|64]/power5 -> sysdeps/powerpc/powerpc[32|64]/power4/fpu -> sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the generic path as usual)
2010-06-29Experimental patch to default PPC64 to no-execstack support. This will needRyan Arnold
to be abstracted to remove the guards from common files and put the stack initialization into a header file that can be overridden. 2010-06-11 Ryan S. Arnold <rsa@us.ibm.com> * elf/dl-load.c (_dl_map_object_from_fd): Set default stack_flags to no-exec for ARCH_PPC64. * elf/dl-support.c [_dl_stack_flags]: Set default stack_flags to no-exec for ARCH_PPC64. * elf/rtld.c (_dl_starting_up): Set default stack_flags to no-exec for ARCH_PPC64.
2009-10-16Git cherry-pick of commit a050d2a5e722876623a70d501c3cdfedfce8b5ceJoshua W. Boyer
Fix use of 64-bit insn in 32-bit memcpy for POWER6. 2009-08-31 Joshua W. Boyer <jwboyer@linux.vnet.ibm.com> * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction to srwi in 32-bit memcpy for power6.
2009-10-16Git cherry-pick of commit 25bfbb9e0e610afaf6b67e5ee1a1a5338018c42eRyan S. Arnold
Fix incorrect use of cmpldi in 32-bit PPC code. The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi. 2009-04-22 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10107] * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi with cmplwi. * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2009-10-15Git cherry-pick of commit 4c14c8c348ee3e9a5fea3608cabcabdb275b6141H.J. Lu
2009-09-05 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Support binutils 2.20. * configure: regenerate.
2009-10-15Cherry-pick of git commit 6de79a499109333fe328c28e7ffaab2ded06b3f0Ulrich Drepper
2008-12-09 Jakub Jelinek <jakub@redhat.com> * pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the fast path here, for robust/PI/PP mutexes call __pthread_mutex_lock_full. Don't use switch, instead use a series of ifs according to their probability. (__pthread_mutex_lock_full): New function. * pthread_mutex_unlock.c: Include assert.h. (__pthread_mutex_unlock_usercnt): Handle only the fast path here, for robust/PI/PP mutexes call __pthread_mutex_unlock_full. Don't use switch, instead use a series of ifs according to their probability. (__pthread_mutex_unlock_full): New function. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c (__pthread_mutex_lock_full): Define.
2009-10-15Git cherry-pick of commit efac1fce6212f0e471ce7fa2519b1d3a4a084ddcUlrich Drepper
[BZ #6955] 2008-11-01 Ulrich Drepper <drepper@redhat.com> [BZ #6955] * pthread_mutex_lock.c: Add support for private PI mutexes. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_unlock.c: Likewise. Patch mostly by Ben Jackson <ben@ben.com>.
2009-09-182009-09-18 Ryan S. Arnold <rsa@us.ibm.com>Ryan Arnold
* ChangeLog: Updated to reflect following patch. Selective Cherry Pick of Roland McGrath's head commit 7967983fd42380b090a63b53fe57a05e1d1c0b4f. The configure.in and Makefile parts are the same as Roland's patch but since this is a backport to a GLIBC 2.8 branch the individual configure files are different so those were regenerated locally by Ryan. Roland's ChangeLog is still relevant: 2009-09-15 Roland McGrath <roland@redhat.com> * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE. * nptl/sysdeps/pthread/configure: Regenerated. * nptl/sysdeps/x86_64/configure: Regenerated. * sysdeps/unix/sysv/linux/configure: Regenerated. * sysdeps/x86_64/elf/configure: Regenerated. * Makefile (autoconf-it): Set execute bit only on top-level configure. * configure.in: Let add-ons set $libc_add_on_config_subdirs to have the effect of AC_CONFIG_SUBDIRS relative to the add-on directory. * aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS. * configure: Regenerated. This fix makes configure recurse into an add-on's standalone directories where the directories in libc_add_on_config_subdirs (relative path to the add-on) have their own pre-configured 'configure' and 'Makefile.in' that is maintained 'out-of-project'.
2009-08-05PowerPC PRIVATE FUTEX support picked from git commits: ↵Ryan Arnold
619cc2f69d1670f8b81196e31f60092334bf562b 1311b164df26ee49740b805d4f32fffde163b1e6
2009-08-03Change prototypes to use __iovec for struct iovec * parameters names ratherRyan Arnold
than __iovector which is reserved in GCC 4.3. 2009-08-03 Ryan S. Arnold <rsa@us.ibm.com> * include/sys/uio.h (__readv, __libc_readv, __writev, __libc_writev): Change prototypes to use __iovec for struct iovec * parameters rather than __iovector which is a reserved word in GCC 4.3.
2009-07-31This patch corrects compile errors when we build -maltivecSteven Munroe
where gcc-4.3 takes vector as a key word. 2009-07-31 Steven Munroe <munroesj@us.ibm.com> * misc/readv.c (__libc_readv): Change vector to io_vector to avoid -altivec keyword. * misc/writev.c (__libc_writev): Ditto. * sysdeps/posix/readv.c (__libc_readv): Ditto. * sysdeps/posix/writev.c (__libc_writev): Ditto. * sysdeps/unix/sysv/linux/readv.c (do_readv, __libc_readv): Ditto. * sysdeps/unix/sysv/linux/writev.c (do_writev, __libc_writev): Ditto.
2009-07-29(AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM in elf/elf.h.Ulrich Drepper
This patch was missing from the previous AT_BASE_PLATFORM patch. We need this define for full support.
2009-07-29Hand merged ChangeLog and git cherry-pick of commit ↵Ulrich Drepper
eb29449a9a601f535cab50068e02aee0aa1ed379 2009-05-09 Ulrich Drepper <drepper@redhat.com> * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the same place we add ASFLAGS-config.
2009-07-29Hand merged ChangeLog and git cherry-pick of commit ↵Ulrich Drepper
23b6b4664622ba8efb728b1cd02c2992a4a1b717 [BZ #10118] 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
2009-07-292008-08-18 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in (--with-cpu): Check compiler support for -march/-mcpu. * configure: Regenerated. * config.make.in (cflags-cpu): New substituted variable. (with-cpu): Variable removed. * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).
2009-07-29Revert "Add Linux fallocate support."Ryan Arnold
This reverts commit a14f7dce07b58c6af4d7af89eb596320ecee7f9b.
2009-07-29Revert "More Linux fallocate patches."Ryan Arnold
This reverts commit c2621cbf6d0502ebbf27ea2e2165d8bfae6feb99.
2009-07-29Revert "Handle old kernel headers with new fallocate patches."Ryan Arnold
This reverts commit 3353ea9028f569552e12bef515582a48c49100e0 because fallocate is defined in GLIBC 2.10 and we don't want to make it available early in 2.8.
2009-07-29Revert "backport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS ↵Ryan Arnold
to the IBM 2.8 branch. It includes two merged patch sets." This reverts commit fd178a794dcd98b27b074cef2d72b16cade6ed2d so that the ASFLAGS patches can be applied in the correct order starting with a missing patch from Roland McGrath.
2009-07-24backport the pre glibc 2.10 patch which added -mcpu=<CPU> to ASFLAGS to the ↵Ryan S. Arnold
IBM 2.8 branch. It includes two merged patch sets. commit ed27dcf1bc22bb3b011bfefc392d6900c3bbeeb9 Author: Ryan S. Arnold <rsa@us.ibm.com> Date: Fri Jul 24 00:11:42 2009 -0500 2009-05-09 Ulrich Drepper <drepper@redhat.com> * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the same place we add ASFLAGS-config. 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
2009-07-24Add new AT_BASE_PLATFORM bits to AUXV.Ryan S. Arnold
commit f53713a8e729c441aef2b4ccc7562306fc306fbe Author: Ulrich Drepper <drepper@redhat.com> Date: Sat Mar 14 18:33:58 2009 +0000 * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. * elf/dl-sysdep.c (auxvars): Compress data structure.
2009-07-24Fix mixed up PPC_FEATURE_* values related to VSX.Ryan S. Arnold
REALLY DID remove redundant mathinline.h this time. commit 2123d5815eaaa53a772be4b6069bdc6332f2f491 Author: Andreas Schwab <aschwab@redhat.com> Date: Sun Jul 5 23:46:03 2009 -0700 Fix wrong PPC_FEATURE_* values. Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
2009-07-24Fixed up sed invocation to work with newer linker scripts.Ryan S. Arnold
Also committed changes from previous patch set which removed redundant mathinline.h file. commit 7c8a67320e26b8c11108bf0a3410d3aef9cf3486 Author: Ulrich Drepper <drepper@redhat.com> Date: Sat Jan 31 00:21:15 2009 +0000 * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts.
2009-07-24POWER7 powerpc-cpu support for optimized libraries.Ryan S. Arnold
commit 134a97667f1d50963af87713840ffd2efddfc1f2 Author: Ulrich Drepper <drepper@redhat.com> Date: Mon Mar 2 13:50:16 2009 +0000 * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2009-07-24POWER7 VSX HWCAP enablement.Ryan S. Arnold
commit 1642331d3066e43daea5a33a6c12db6edf0e34f7 Author: Ulrich Drepper <drepper@redhat.com> Date: Fri Aug 8 04:51:57 2008 +0000 2008-08-01 Steven Munroe <sjmunroe@us.ibm.com> Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> [BZ #6817] * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Added the members 'vsx' and 'arch_2_06'. (_dl_powerpc_platforms): Add the member 'power7'. * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST to reflect the changes required by VSX and ISA 2.06. Modify _DL_PLATFORMS_COUNT to reflect the addition of 'power7'. Defined PPC_PLATFORM_POWER7. (_dl_string_platform): Add support for POWER7. * sysdeps/powerpc/sysdep.h: Define bit masks for VSX capability and ISA 2.06.
2009-07-24Remove redundant mathinline.h.Ryan S. Arnold
commit 7df49c5d81b9f8ea55f16af939e0662d24cc099e Author: Ulrich Drepper <drepper@redhat.com> Date: Sun Aug 17 07:34:10 2008 +0000 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6845] * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new __signbitl definition and __LONG_DOUBLE_128__ guard from: * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as redundant. Functions which call floating point assembler operations should go into a sysdeps powerpc/fpu directory.
2009-07-24Fix to avoid using the fields 3 and 4 of the CR.Ryan S. Arnold
commit 9ea8bfec35c54cb5769209227d94ab61f9efb935 Author: Ulrich Drepper <drepper@redhat.com> Date: Fri Jun 13 01:18:22 2008 +0000 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using cr[34] registers. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 register. 2008-06-12 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache
2009-07-24Handle old kernel headers with new fallocate patches.Ryan S. Arnold
commit 353f210707092e3e57418b4954888f2d15cc3da3 Author: Ulrich Drepper <drepper@redhat.com> Date: Wed Apr 15 00:39:57 2009 +0000 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2009-07-24More Linux fallocate patches.Ryan S. Arnold
commit 99eb932f75c941f08b7cb66890b7d406bf37ba9b Author: Ulrich Drepper <drepper@redhat.com> Date: Tue Mar 3 13:53:19 2009 +0000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2009-07-24Add Linux fallocate support.Ryan S. Arnold
commit 749f5cc96803f5a2ec0ca76b4bb290cea44fb3f1 Author: Ulrich Drepper <drepper@redhat.com> Date: Mon Mar 2 16:15:58 2009 +0000 * sysdeps/unix/sysv/linux/fallocate.c: New file. * sysdeps/unix/sysv/linux/fallocate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 for GLIBC_2.10. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add fallocate and fallocate64. * io/fcntl.h: Pretty printing.
2009-07-24Added .machine push; .machine "power6"; .machine pop in macros.Ryan S. Arnold
commit 1454da21955742494232aa8b34c5e238263ad37a Author: Ulrich Drepper <drepper@redhat.com> Date: Tue Mar 10 04:47:30 2009 +0000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use .machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, relax_fenv_state): Likewise.
2009-07-24Use .machine push; .machine "power6" and .machine pop around mtfsf insns ↵Ryan S. Arnold
outside of _ARCH_PWR6 define. commit bddec78c7b827fde3f086f6a576237508f7099b0 Author: Ulrich Drepper <drepper@redhat.com> Date: Tue Mar 10 04:46:08 2009 +0000 Use .machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define.
2009-07-24Fix up some bugs with the 64-bit FPSCR patch including erroneous test-case ↵Ryan S. Arnold
passes. commit b7219e53bcd54d874f85c67469f4c1dd4f2ad5d2 Author: Ulrich Drepper <drepper@redhat.com> Date: Fri Jan 30 20:30:46 2009 +0000 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
2009-07-24Enable 64-bit FPSCR for POWER6 and include some dynamic feature checks for ↵Ryan S. Arnold
DFP facility availability. commit edba7a54eb83c37610b15454a21d54f47ec9dee7 Author: Ulrich Drepper <drepper@redhat.com> Date: Mon Nov 17 02:49:45 2008 +0000 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6411] * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically choose mtfsf insn based on PPC_FEATURE_HAS_DFP. (relax_fenv_state): Same as above. (FPSCR_29): Reserve bit in ISA 2.05. (FPSCR_NI): Provide define for compat. * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to test setcontext and swapcontext with dynamic 64-bit FPSCR detection. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S (*setcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP.
2009-07-24Use correct macro to detect use of 128 bit long double.Ryan S. Arnold
commit 48b9466105cf4bf7012b90356ae097573a23fc5c Author: Ulrich Drepper <drepper@redhat.com> Date: Thu Aug 7 23:06:01 2008 +0000 2008-08-07 Ulrich Drepper <drepper@redhat.com> [BZ #6824] * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct macro to detect use of 128 bit long double. Patch by Ryan S. Arnold <rsa@us.ibm.com>.
2009-07-24Fix to exclude test when IBM 128-bit long double is being used in order to ↵Ryan S. Arnold
avoid representing an exponent that is out of bounds. commit 8fb0af98d8fcbdad7a982b41e6b0fe65b7d3b45d Author: Ulrich Drepper <drepper@redhat.com> Date: Thu May 22 19:59:10 2008 +0000 Work around braindead IBM128 long double format.
2009-07-24Test case addition.Ryan S. Arnold
commit a7eb802f1147cc2237be3a410b3c658f59178d72 Author: Ulrich Drepper <drepper@redhat.com> Date: Sun May 11 17:49:25 2008 +0000 2008-02-11 Joseph Myers <joseph@codesourcery.com> [BZ #3406] * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. * math/libm-test.inc (exp_test): Test 88.72269439697265625.
2009-07-24Define bit for PROT_SAO.Ryan S. Arnold
Backported for ibm/2.8 by Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>. commit 30a4429e923d2383a0f2fe9a5fd4b046db1de021 Author: Ulrich Drepper <drepper@redhat.com> Date: Fri Aug 8 05:13:34 2008 +0000 2008-08-07 Pete Eberlein <eberlein@us.ibm.com> [BZ #6791] * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.
2008-04-17* sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.cvs/glibc-2_8-basecvs/glibc-2_8-branchJakub Jelinek
2008-04-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.
2008-04-15* sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c Jakub Jelinek
(__old_sem_wait): Fix argument to lll_futex_wait(). 2008-04-14 David S. Miller <davem@davemloft.net> * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c (__old_sem_wait): Fix argument to lll_futex_wait().
2008-04-12* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):glibc-2.8cvs/glibc-2_8cvs/fedora-glibc-20080412T0741Ulrich Drepper
Also use for 32-bit.
2008-04-12* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): UseUlrich Drepper
__nextafter instead of nextafter to avoid local PLT.
2008-04-12* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.Ulrich Drepper
* sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2008-04-12* sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. IncludeUlrich Drepper
<fenv_libc.h> instead of <fenv.h>.
2008-04-12* scripts/data/localplt-powerpc64-linux-gnu.data: New file.Ulrich Drepper
2008-04-12* sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper
__fe_nomask_env. * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. * sysdeps/powerpc/bits/fenv.h: Make safe for C++. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename function from fegetexcept and make old name weak alias. * include/fenv.h: Declare __fegetexcept. * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of fegetexcept. * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call to fetestexcept. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl instead of frexpl to avoid local PLT. * math/s_significandl.c (__significandl): Use __ilogbl instead of ilogbl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl instead of ldexpl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use __roundl not roundl to avoid local PLT. * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid local PLTs. Use __sincosl instead of separate sinl and cosl calls. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2008-04-11* sysdeps/unix/sysv/linux/configure.in: Bump minimal kernelUlrich Drepper
version for ppc64 to 2.4.21 since without it makecontext will fail.
2008-04-11* elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define accordingUlrich Drepper
to the ABI in use. [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. [__powerpc64__] (TLS_GD): Likewise.
2008-04-11* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABIUlrich Drepper
in use. (TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr. (TLS_GD): Likewise.
2008-04-11[BZ #4997]cvs/fedora-glibc-20080411T1934Ulrich Drepper