about summary refs log tree commit diff
path: root/sysdeps/x86_64
Commit message (Collapse)AuthorAgeFilesLines
...
* Add AVX support to ld.so auditing for x86-64.H.J. Lu2009-07-107-124/+423
|
* Minor cleanups in recently added files.Ulrich Drepper2009-07-032-79/+57
|
* Align functions to 16-byte boundary.Ulrich Drepper2009-07-034-0/+4
| | | | | | Some of the new multi-arch string functions for x86-64 were not aligned to 16 byte boundarie,s possibly creating unnecessary cache line misses and delays.
* Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.H.J. Lu2009-07-037-0/+776
|
* Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu2009-07-021-2/+4
|
* Whitespace fixes in last patch.Ulrich Drepper2009-07-021-31/+31
|
* SSSE3 strcpy/stpcpy for x86-64H.J. Lu2009-07-027-1/+1950
| | | | | | This patch adds SSSE3 strcpy/stpcpy. I got up to 4X speed up on Core 2 and Core i7. I disabled it on Atom since SSSE3 version is slower for shorter (<64byte) data.
* Regenerated.Ulrich Drepper2009-06-301-6/+38
|
* Fix little checkin problem in last patch.Ulrich Drepper2009-06-301-2/+2
|
* Determine and store processor family and model on x86-64.H.J. Lu2009-06-303-8/+33
|
* Clean up whitespaces in last patch.Ulrich Drepper2009-06-221-1/+1
|
* Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu2009-06-225-0/+1695
|
* Fix x86-64 memchr for large lengths.Jakub Jelinek2009-06-161-3/+3
|
* Fix warnings when using <sys/select.h>.Ulrich Drepper2009-06-141-30/+6
| | | | | gcc 4.4 is more picky. And the x86-64 version of <bits/select.h> contained a now unnecessary asm optimization. Remove it.
* Add SSE4.2 optimized rawmemchr implementation for x86-64.Ulrich Drepper2009-06-052-4/+96
|
* Forgot some more cleanups for the SSE4.2 strlen on x86-64.Ulrich Drepper2009-06-051-2/+7
|
* Add missing cleanups from SSE4.2 x86-64 strlen.Ulrich Drepper2009-06-051-3/+4
|
* Optimize x86-64 strlen for SSE4.2.Ulrich Drepper2009-06-054-1/+104
| | | | | The SSE4.2 implementation is used in the DSO only. The patch also adds some infrastructure to be used in similar code later one.
* More small optimizations for x86-64 strlen.Ulrich Drepper2009-06-041-9/+7
|
* Tiny strlen for x86-64 optimization.Ulrich Drepper2009-06-041-1/+0
| | | | | I didn't remove an instruction from a previous version in the final version.
* Small optimization of STT_GNU_IFUNC handling.Ulrich Drepper2009-06-011-2/+2
| | | | | | | | The test to call the indirect function now includes a subtest to checked whether the symbol is defined. When coming to that point this is almost always the case. The test for STT_GNU_IFUNC on the other hand rarely is true. Move it to the front means we don't have to perform the second test unless really necessary.
* Better error message for invalid relocatio in static binary.Ulrich Drepper2009-06-011-1/+2
|
* Fix up sched_cpucount in x86-64.Ulrich Drepper2009-05-311-13/+9
| | | | | Now that static executables can handle IFUNC functions don't exclude optimization for sched_cpucount for !SHARED.
* Finish IFUNC support for x86 and x86-64.Ulrich Drepper2009-05-312-0/+56
| | | | Add support for the IRELAIVE relocation and IFUNC in static executables.
* Simplify CPUID value handling.Ulrich Drepper2009-05-314-36/+19
| | | | | | | SO far Intel and AMD use exactly the same bits meaning the same things in CPUID index 1. Simplify the code. Should an architecture come along which doesn't use the same semantics then it must use a different index value than COMMON_CPUID_INDEX_1.
* Compact cache info data structure for x86/x86-64.Ulrich Drepper2009-05-291-77/+77
| | | | This saves about 1.5kB in the DSO.
* Add missing .text directives.H.J. Lu2009-05-211-1/+2
| | | | The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.
* Check for valid stack frame in longjmp.Ulrich Drepper2009-05-152-0/+45
| | | | | | | If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.
* * version.h (VERSION): Bump to 2.10.1. cvs/fedora-glibc-20090510T1842 cvs/masterUlrich Drepper2009-05-101-0/+1
| | | | | | | | | | | | | | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
* * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper2009-05-091-0/+2
| | | | count is zero.
* * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper2009-04-271-3/+3
| | | | | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-1/+13
| | | | | | | | | | * sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-262-4/+26
| | | | | | | | | | | | | | | | | * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
* * sysdeps/x86_64/mp_clz_tab.c: New file.Ulrich Drepper2009-04-151-0/+1
|
* Optimizations from GMP.Ulrich Drepper2009-04-146-0/+298
| | | | | | | | | | * sysdeps/x86_64/add_n.S: New file. * sysdeps/x86_64/addmul_1.S: New file. * sysdeps/x86_64/lshift.S: New file. * sysdeps/x86_64/mul_1.S: New file. * sysdeps/x86_64/rshift.S: New file. * sysdeps/x86_64/sub_n.S: New file. * sysdeps/x86_64/submul_1.S: New file.
* mpn_add_n for x86-64.Ulrich Drepper2009-04-141-0/+42
|
* * sysdeps/x86-64/strrchr.S: New file.Ulrich Drepper2009-04-141-0/+81
|
* * sysdeps/x86_64/rawmemchr.S: New file.Ulrich Drepper2009-04-102-2/+55
|
* * malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper2009-04-081-2/+1
| | | | | | size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
* * sysdeps/x86_64/strchrnul.S: New file. cvs/fedora-glibc-20090408T1602Ulrich Drepper2009-04-071-0/+64
| | | | depending libcrypt on -lfreebl3.
* * string/stratcliff.c (do_test): Add memchr tests..Ulrich Drepper2009-04-071-4/+4
| | | | | * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after first read quad word.
* * sysdeps/x86_64/memchr.S: New file.Ulrich Drepper2009-04-072-0/+68
|
* * sysdeps/x86_64/strchr.S: Likewise.Ulrich Drepper2009-04-061-267/+46
|
* * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.Ulrich Drepper2009-04-051-116/+30
|
* [BZ #9881]Ulrich Drepper2009-03-151-3/+3
| | | | | | | | | * inet/inet6_rth.c (inet6_rth_add): Add some error checking. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/Makefile (tests): Add tst-inet6_rth. * inet/tst-inet6_rth.c: New file. alignment of La_x86_64_regs. Store xmm parameters.
* * elf/dl-runtime.c (reloc_offset): Define.Ulrich Drepper2009-03-152-12/+9
| | | | | | | | | | | | | (reloc_index): Define. (_dl_fixup): Rename reloc_offset parameter to reloc_arg. (_dl_fixup_profile): Likewise. Use reloc_index instead of computing index from reloc_offset. (_dl_call_pltexit): Likewise. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass the relocation index to _dl_fixup. (_dl_runtime_profile): Likewise for _dl_fixup_profile and _dl_call_pltexit. * sysdeps/x86_64/dl-runtime.c: New file.
* [BZ #9893]Ulrich Drepper2009-03-141-99/+140
| | | | | | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix alignement of La_x86_64_regs. Store xmm parameters. Patch mostly by Jiri Olsa <olsajiri@gmail.com>.
* * config.h.in (USE_MULTIARCH): Define.Ulrich Drepper2009-03-135-4/+208
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Handle --enable-multi-arch. * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. (_dl_fixup_profile): Likewise. * elf/do-lookup.c (dl_lookup_x): Likewise. * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. * elf/elf.h (STT_GNU_IFUNC): Define. * include/libc-symbols.h (libc_ifunc): Define. * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the framework in init-arch.h to get CPUID values. * sysdeps/x86_64/multiarch/Makefile: New file. * sysdeps/x86_64/multiarch/init-arch.c: New file. * sysdeps/x86_64/multiarch/init-arch.h: New file. * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. * config.make.in (experimental-malloc): Define. * configure.in: Handle --enable-experimental-malloc. * malloc/Makefile: Handle experimental-malloc flag. * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. * malloc/arena.c: Likewise. * malloc/hooks.c: Likewise. * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
* * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branchUlrich Drepper2009-03-121-57/+57
| | | | prediction. A few size optimizations.