aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
AgeCommit message (Collapse)Author
2012-09-28Uncorrupt Sparc ULPS file.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2012-09-28Revert "Add missed ildouble case in yesterday's sparc ULPs update for ↵David S. Miller
clog/clog10." This reverts commit 084b8fabd28ab541efbe5ce7ef6008107a4b86ea. Sorry something put garbage into the string, will debug this.
2012-09-28Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-28Add Niagara-4 optimized memcpy and mempcpy.David S. Miller
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New file. * sysdeps/sparc/sparc64/multiarch/Makefile: Add to sysdep_routines. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy and mempcpy when HWCAP_SPARC_CRYPTO is set.
2012-09-28Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu
2012-09-27Update sparc ULPS for recent clog/clog10 activity.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-27Fix sparc64 crashes with LD_BIND_NOW and --enable-bind-now.David S. Miller
[BZ #14376] * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not pass reloc->r_addend in as the 'high' argument to sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2012-09-05Recognize new sparc hwcap bits.David S. Miller
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE, HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new entries.
2012-09-05Update sparc ULPs for recently added math tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-04Use sparcv8 GMP routines when building 32-bit sparcv9.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2012-08-16Fifth argument of la_pltenter() is not constant.Carlos O'Donell
The original runtime linker auditing interface described by Solaris allows the 5th argument of la_pltenter() to be modified. This patch cleans up the ldsodefs.h definitions such that the 5th argument is not constant. At one point the 5th argument *was* constant but this was changed with commit 2413fdba7a02ba8916f75d17199a6e9133a8f7b0. This patch updates alpha, ia64, mips, sh and sparc with similar changes.
2012-08-03Update SPARC ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-31Update sparc ULPs.David S. Miller
2012-07-27Update sparc ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-26Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers
2012-07-25Move ldsodefs.h audit definitions to sysdeps directories.Joseph Myers
2012-07-17Remove TLS configure checks.Marek Polacek
2012-07-17Split tls-macros.h into sysdeps directories.Joseph Myers
2012-07-11Update sparc ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-31Update sparc ulps after Joseph's math.h fixes.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test entries.
2012-05-31Avoid performance penalty in sparc optimized memcpy/memset.David S. Miller
fmovd clears the current exception field in the %fsr, fsrc2 does not and therefore runs more efficiently on some cpus. * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit values between float registers. * sysdeps/sparc/sparc64/memset.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2012-05-30Simulate sparc fpu exceptions using real FP ops again in soft-fp.David S. Miller
* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_simulate_exceptions): Use real FP ops rather than writing into the %fsr. * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions): Likewise.
2012-05-30Fix underflow generation in soft-fp.David S. Miller
* soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define. (FP_TRAPPING_EXCEPTIONS): Provide default implementation. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Define. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Define. * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for subnormals only when inexact has been signalled or underflow exceptions are enabled. (_FP_PACK_CANONICAL): Likewise.
2012-05-27Fix underflow reporting and tie up loose ends in sparc soft-fp.David S. Miller
* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete. (___Q_zero): New. (__Q_simulate_exceptions): Return void. Change to simulate exceptions by writing into the %fsr. * sysdeps/sparc/sparc64/soft-fp/qp_util.c (__Qp_handle_exceptions): Likewise. (numbers): Delete. * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for __Qp_handle_exceptions. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove __Qp_handle_exceptions. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark as unused and give dummy FP_RND_NEAREST initializer. (FP_INHIBIT_RESULTS): Define. (___Q_simulate_exceptions): Update declaration. (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm formatting. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark as unused and give dummy FP_RND_NEAREST initializer. (__Qp_handle_exceptions): Update declaration. (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm formatting.
2012-05-24Don't include exceptions in libm-test-ulps test names.Joseph Myers
2012-05-21Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32H.J. Lu
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson
2012-05-19Update sparc ULPs for ccos, csin, ccosh, csinh tests.David S. Miller
2012-05-15Split up stackguard-macros.h into sysdeps directories.Joseph Myers
2012-05-11Mark sparc %fsr load and store inline asms as volatile.David S. Miller
* sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__. * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise. (_FPU_SETCW): Likewise.
2012-05-08Minor optimization to sparc VIS3 floor() implementation.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use movxtod instead of popping the value on the stack.
2012-05-08With -frounding-math, some sparc ULPs need to be adjusted.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-07Update sparc ULPs for recently added exp tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-07Fix sparc libm when all of glibc is built with -frounding-math.David S. Miller
[BZ #14074] * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro. (SETUP_PIC_REG): Use it. (SETUP_PIC_REG_LEAF): Use it.
2012-05-02Update sparc ULPs for recently added acos/asin tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-04-26Fix missing long-double compat symbols on sparc v9.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate long-double compat symbols. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2012-04-25Restore non-v9 32-bit sparc build.David S. Miller
* sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get HWCAP_* values only after the memory barriers have been defined. (atomic_full_barrier): Define. (atomic_read_barrier): Define. (atomic_write_barrier): Define.
2012-04-25Delete everything under sysdeps/unix/sparc/David S. Miller
* sysdeps/unix/sparc/brk.S: Delete. * sysdeps/unix/sparc/dl-brk.S: Delete. * sysdeps/unix/sparc/pipe.S: Delete. * sysdeps/unix/sparc/sysdep.S: Delete. * sysdeps/unix/sparc/sysdep.h: Delete. * sysdeps/unix/sparc/vfork.S: Delete. * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG, SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define. * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Define. (JUMPTARGET): Remove. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include sysdeps/unix/sparc/sysdep.h (ENTRY, END): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2012-04-18Forgot to delete the sparc64 memcopy.h which tries to include the sparc32 oneDavid S. Miller
* sysdeps/sparc/sparc64/memcopy.h: Delete.
2012-04-18Finish ilogb changesAndreas Jaeger
[BZ# 6794] * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2012-04-17There is no legitimate reason to override reg_char on sparc32.David S. Miller
* sysdeps/sparc/sparc32/memcopy.h: Delete.
2012-04-11Update sparc libm ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-04-07Handle some new sparc relocation types.David S. Miller
* elf/elf.h (R_SPARC_WDISP10): Define. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE32. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE64 and R_SPARC_H34.
2012-04-05Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one definition. * sysdeps/powerpc/powerpc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Delete. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012-03-28Optimize mempcpy on sparc.David S. Miller
* sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub that branches into memcpy. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch bits. * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy implementation too. * sysdeps/sparc/mempcpy.S: New file.
2012-03-28Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.David S. Miller
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to the IFUNC routine in the libc case. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2012-03-28Use generic memset/memcpy in rtld on sparcv9/sparc64.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/rtld-memset.c: New file. * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2012-03-28Fix bugs and improve performance of niagara memset/bzero.David S. Miller
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main loop to 256 bytes instead of 64 bytes and fix test signedness.
2012-03-28Make sparc's -fPIC addition to ASFLAGS-.os more robust.David S. Miller
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... * sysdeps/sparc/sparc32/Makefile: rather than here... * sysdeps/sparc/sparc64/Makefile: and here.
2012-03-28Regenerate configure filesAndreas Jaeger