about summary refs log tree commit diff
path: root/sysdeps/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* More whitespace fixes.Ulrich Drepper2010-06-141-2/+2
|
* Fix whitespaces.Ulrich Drepper2010-06-144-37/+37
|
* power7 string compare optimizationsLuis Machado2010-06-144-0/+2330
|
* Small fix to POWER7 32-bit memcpyLuis Machado2010-05-281-2/+2
|
* Small fix to POWER7 32-bit memsetLuis Machado2010-05-241-3/+2
|
* Add missing files.Luis Machado2010-05-202-0/+833
|
* Fix whitespace issues.Ulrich Drepper2010-03-102-705/+705
|
* power7-optimized 64-bit and 32-bit memcpyLuis Machado2010-03-102-0/+918
|
* Cleanup old obsolete PPC_REL16 checksLuis Machado2010-02-1224-153/+8
|
* Fix POWER7 ImpliesLuis Machado2010-02-104-4/+0
|
* Fix whitespace issues.Ulrich Drepper2010-02-094-4/+0
|
* power7-optimized classification functionsLuis Machado2010-02-0912-0/+487
|
* Avoid PLT call to fegetenv on s390Andreas Schwab2010-02-091-0/+1
|
* Fix whitespace issues.Ulrich Drepper2010-01-182-24/+24
|
* memcpy for ppc/cell.Ulrich Drepper2010-01-182-0/+490
|
* Fix spelling of (Newton-)RaphsonPhilippe De Muyter2009-11-062-6/+6
|
* Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.Jakub Jelinek2009-11-061-2/+4
| | | | | | | | | I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink, and this patch is needed on the glibc side. Without it ld.so segfaults, as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense, because with prelink we know it is already properly relocated (all relative relocations are applied by prelink).
* Uglify IFUNC tests for PPC.Alan Modra2009-10-301-0/+46
|
* Implement IFUNC for PPC.Alan Modra2009-10-305-4/+152
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-155-44/+44
|
* Fix use of 64-bit insn in 32-bit memcpy for POWER6.Joshua W. Boyer2009-09-011-1/+1
|
* Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab2009-08-224-109/+16
|
* Fix wrong PPC_FEATURE_* values.Andreas Schwab2009-07-051-2/+2
| | | | | Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
* Fix text relocation on ppc32.Andreas Schwab2009-06-251-2/+21
| | | | | The ____longjmp_chk implementation didn't load from memory the right way.
* Fix cfa offset for saved registers in PPC sqrt implementations.Andreas Schwab2009-06-244-8/+8
|
* Fix incorrect use of cmpldi in 32-bit PPC code.Ryan S. Arnold2009-06-162-31/+31
| | | | | The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi. BZ #10107
* Add ___longjmp_chk support for powerpc{32,64}.Andreas Schwab2009-05-225-5/+107
|
* * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. cvs/fedora-glibc-20090414T2104Jakub Jelinek2009-04-142-2/+6
| | | | | | | | | | | | * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. 2009-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
* * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branchUlrich Drepper2009-03-121-0/+1
| | | | prediction. A few size optimizations.
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: UseUlrich Drepper2009-03-102-5/+13
| | | | | | | | | | | | | .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.
* * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.Ulrich Drepper2009-03-023-0/+3
| | | | | | | | | | * 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.
* * stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek2009-02-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
* (__longjmp): Make aligned_restore_vmx a local symbol.Ulrich Drepper2009-01-302-7/+6
|
* [BZ #9726]Ulrich Drepper2009-01-301-1/+9
| | | | | | | | | | | | | | | 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.
* [BZ #6411]Ulrich Drepper2008-11-178-23/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #6867]Ulrich Drepper2008-10-311-2/+2
| | | | * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.
* [BZ #6995]Ulrich Drepper2008-10-311-2/+2
| | | | | | 2008-10-31 Ulrich Drepper <drepper@redhat.com> [BZ #6995] * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message.
* [BZ #6845]Ulrich Drepper2008-08-171-1/+9
| | | | | | | | | | 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.
* (CHECK_STATIC_TLS): Remove macro since it is now available in ↵Ulrich Drepper2008-08-131-5/+0
| | | | elf/dynamic-link.h.
* [BZ #6817]Ulrich Drepper2008-08-083-7/+15
| | | | | | | | | | | | | | | | | | 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.
* * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid usingUlrich Drepper2008-06-134-18/+18
| | | | | | | | | 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.
* * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.Ulrich Drepper2008-04-122-6/+10
| | | | * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
* * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper2008-04-127-18/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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.
* [BZ4997]Ulrich Drepper2008-04-114-87/+146
| | | | | | | | | | | | | * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the mantissa. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): Likewise. Also account for when x is an odd number between 2^52 and 2^53-1. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. * math/libm-test.inc (lround_test, llround_test): Added test cases to detect aforementioned erroneous conditions.
* * include/features.h (__GLIBC_MINOR__): Bump to 8.Ulrich Drepper2008-04-116-6/+0
| | | | | | | | | * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
* [BZ #5741]Ulrich Drepper2008-04-111-5/+11
| | | | | | | | | 2008-01-24 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5741] * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): Define additonal Data Cache Block instruction macros. (elf_machine_fixup_plt): Add dcbt for opd and plt entries. Replace dcbst with dcbf and sync with sync/isync.
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):Ulrich Drepper2008-04-101-22/+27
| | | | | Always set ELF_RTYPE_CLASS_PLT. (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.
* * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.Ulrich Drepper2008-04-103-1/+182
| | | | | | | | | * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): For ISA 2.01 and later replace mftb with mfspr 268. * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned buffers.
* [BZ #5768]Ulrich Drepper2008-04-105-14/+443
| | | | | | | | | | | | | | | 2008-02-19 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5768] * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. 2008-02-18 Steven Munroe <sjmunroe@us.ibm.com> [BZ #5768] * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed.
* isnan implementation for ppc32.Ulrich Drepper2008-04-101-0/+56
|