Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add isinf optimized for 64-bit. | Ulrich Drepper | 2009-08-26 | 1 | -0/+30 |
| | |||||
* | Optimized isnan for 64-bit machines. | Ulrich Drepper | 2009-08-26 | 1 | -0/+39 |
| | |||||
* | Make llround an alias for lround on 64-bit machines. | Ulrich Drepper | 2009-08-25 | 2 | -0/+14 |
| | |||||
* | Optimized nearbyint for 64-bit. | Ulrich Drepper | 2009-08-25 | 1 | -0/+86 |
| | |||||
* | Optimized rint implementation for x86-64. | Ulrich Drepper | 2009-08-25 | 1 | -0/+79 |
| | |||||
* | Add 64-bit optimized s_round. | Ulrich Drepper | 2009-08-25 | 1 | -0/+77 |
| | |||||
* | Optimize out duplicated scalbln code for x86-64. | Ulrich Drepper | 2009-08-25 | 3 | -6/+17 |
| | |||||
* | Add 64-bit optimized scalbln. | Ulrich Drepper | 2009-08-25 | 1 | -0/+68 |
| | |||||
* | Optimized signbit{,f} for x86-64. | Ulrich Drepper | 2009-08-25 | 2 | -0/+54 |
| | |||||
* | Add 64-bit optimized version lround. | Ulrich Drepper | 2009-08-25 | 1 | -0/+67 |
| | |||||
* | 64-bit optimized implementation of trunc. | Ulrich Drepper | 2009-08-25 | 1 | -0/+56 |
| | |||||
* | Handle AVX saving on x86-64 in interrupted smbol lookups. | Ulrich Drepper | 2009-08-25 | 1 | -1/+0 |
| | | | | | | | | | If a signal arrived during a symbol lookup and the signal handler also required a symbol lookup, the end of the lookup in the signal handler reset the flag whether restoring AVX/SSE registers is needed. Resetting means in this case that the tail part of the outer lookup code will try to restore the registers and this can fail miserably. We now restore to the previous value which makes nesting calls possible. | ||||
* | Add ceil implementation for 64-bit machines. | Ulrich Drepper | 2009-08-24 | 2 | -0/+84 |
| | | | | | | | On 64-bit machines we should not split doubles into two 32 bit integer and handle the words separately. We have wide registers. This patch implements a 64-bit ceil version. Ideally all other functions will be converted over time. | ||||
* | Optimize float construction/extraction on x86-64. | Ulrich Drepper | 2009-08-24 | 1 | -0/+20 |
| | |||||
* | Add sysdeps/unix/syscall-template.S; build syscall stubs with deps and -g ↵ | Roland McGrath | 2009-08-24 | 3 | -24/+115 |
| | | | | pointing to it. | ||||
* | Define math_errhandling is possible. | Ulrich Drepper | 2009-08-24 | 1 | -1/+5 |
| | |||||
* | Optimize x86-64 signbit{,f} a bit. | Ulrich Drepper | 2009-08-24 | 1 | -5/+7 |
| | |||||
* | Add sigstack handling to Linux ____longjmp_chk on powerpc. | Andreas Schwab | 2009-08-22 | 4 | -16/+77 |
| | |||||
* | Improve backtrace_symbols{,_fd} output when missing symbols. roland/backtrace-syms | Roland McGrath | 2009-08-20 | 2 | -46/+83 |
| | |||||
* | Support mixed SSE/AVX audit and check AVX only once. | H.J. Lu | 2009-08-08 | 2 | -237/+276 |
| | | | | | | | | | | This patch fixes mixed SSE/AVX audit and checks AVX only once in _dl_runtime_profile. When an AVX or SSE register value in pltenter is modified, we have to make sure that the SSE part value is the same in both lr_xmm and lr_vector fields so that pltexit will get the correct value from either lr_xmm or lr_vector fields. AVX-enabled pltenter should update both lr_xmm and lr_vector fields to support stacked AVX/SSE pltenter functions. | ||||
* | Use PIC only if SHARED is defined. | H.J. Lu | 2009-08-08 | 2 | -0/+30 |
| | | | | For ia32, we can avoid PIC in IFUNC functions in static library. | ||||
* | Simplify cpuid.h configure test. | Jim Meyering | 2009-08-08 | 2 | -14/+544 |
| | |||||
* | Move SSE4.2 functions together. | Ulrich Drepper | 2009-08-08 | 2 | -0/+2 |
| | |||||
* | Add SSSE3-optimized implementation of str{,n}cmp for x86-64. | Ulrich Drepper | 2009-08-07 | 5 | -47/+185 |
| | |||||
* | Avoid warning through fake initialization. | Ulrich Drepper | 2009-08-07 | 1 | -0/+2 |
| | |||||
* | Fix whitespace in last patch. | Ulrich Drepper | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Add the missing "; \". | H.J. Lu | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Fix whitespaces in last checkin. | Ulrich Drepper | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Properly count number of logical processors on Intel CPUs. | H.J. Lu | 2009-08-07 | 1 | -4/+38 |
| | | | | | | | | | | | | | | | | | | | | The meaning of the 25-14 bits in EAX returned from cpuid with EAX = 4 has been changed from "the maximum number of threads sharing the cache" to "the maximum number of addressable IDs for logical processors sharing the cache" if cpuid takes EAX = 11. We need to use results from both EAX = 4 and EAX = 11 to get the number of threads sharing the cache. The 25-14 bits in EAX on Core i7 is 15 although the number of logical processors is 8. Here is a white paper on this: http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/ This patch correctly counts number of logical processors on Intel CPUs with EAX = 11 support on cpuid. Tested on Dinnington, Core i7 and Nehalem EX/EP. It also fixed Pentium Ds workaround since EBX may not have the right value returned from cpuid with EAX = 1. | ||||
* | Add x86 SSE strlen. | Ulrich Drepper | 2009-08-04 | 3 | -6/+160 |
| | |||||
* | Add x86 32-bit SSE4.2 string functions. | H.J. Lu | 2009-08-04 | 13 | -4/+219 |
| | | | | | | This patch adds 32bit SSE4.2 string functions. It uses -16L instead of 0xfffffffffffffff0L, which works for both 32bit and 64bit long. Tested on 32bit Core i7 and Core 2. | ||||
* | Remove leftover code from Linux/x86 ____longjmp_chk. | Ulrich Drepper | 2009-08-02 | 1 | -6/+0 |
| | |||||
* | x86/x86-64 now needs <cpuid.h> from gcc. | Ulrich Drepper | 2009-08-02 | 2 | -44/+63 |
| | |||||
* | Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64. | Ulrich Drepper | 2009-08-01 | 1 | -1/+1 |
| | |||||
* | Optimize x86 and x86-64 ____longjmp_chk for Linux. | Ulrich Drepper | 2009-07-31 | 2 | -117/+50 |
| | |||||
* | Fix ____longjmp_chk on x86-64. | Ulrich Drepper | 2009-07-31 | 1 | -2/+2 |
| | | | | | After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location. | ||||
* | Support multiarch for i686. | H.J. Lu | 2009-07-31 | 12 | -49/+95 |
| | | | | | | This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later. | ||||
* | Remove CHEC_ESP handling from i386 __longjmp. | Ulrich Drepper | 2009-07-31 | 1 | -9/+0 |
| | |||||
* | Whitespace cleanup. | Ulrich Drepper | 2009-07-30 | 1 | -2/+2 |
| | |||||
* | Add sigstack handling to Linux ____longjmp_chk on i386. | Ulrich Drepper | 2009-07-30 | 3 | -61/+150 |
| | | | | All other i386 ports need to provide their own versions. | ||||
* | ____longjmp_chk is now OS-specific. | Ulrich Drepper | 2009-07-30 | 2 | -145/+146 |
| | | | | | | | We use sigaltstack internally which on some systems is a syscall and should be used as such. Move the x86-64 version to the Linux specific directory and create in its place a file which always causes compile errors. | ||||
* | Change code a bit to correct CFI. | Ulrich Drepper | 2009-07-30 | 1 | -1/+3 |
| | |||||
* | Optimize ____longjmp_chk for x86-64 a bit. | Ulrich Drepper | 2009-07-30 | 1 | -5/+3 |
| | |||||
* | Fix x86-64 ____longjmp_chk to handle signal stacks. | Ulrich Drepper | 2009-07-30 | 2 | -7/+106 |
| | | | | | | The simple test previously used might trigger if the longjmp jumps from the signal stack to the normal stack. We now explicitly test for this case. | ||||
* | Stop backtrace when we make no more progress. | Ulrich Drepper | 2009-07-30 | 1 | -2/+8 |
| | |||||
* | Add support for x86-64 fma instruction. | Ulrich Drepper | 2009-07-29 | 3 | -0/+90 |
| | | | | Use it to implement fma and fmaf, if possible. | ||||
* | Prepare use if IFUNC functions outside libc.so. | Ulrich Drepper | 2009-07-29 | 2 | -2/+30 |
| | | | | | | We use a callback function into libc.so to get access to the data structure with the information and have special versions of the test macros which automatically use this function. | ||||
* | Improve CFI in x86-64 ld.so trampoline code. | Ulrich Drepper | 2009-07-29 | 1 | -1/+2 |
| | |||||
* | Properly restore AVX registers on x86-64. | H.J. Lu | 2009-07-29 | 1 | -10/+10 |
| | | | | | tst-audit4 and tst-audit5 fail under AVX emulator due to je instead of jne. This patch fixes them. | ||||
* | Preserve SSE registers in runtime relocations on x86-64. | Ulrich Drepper | 2009-07-29 | 2 | -3/+86 |
| | | | | | | | | | | SSE registers are used for passing parameters and must be preserved in runtime relocations. This is inside ld.so enforced through the tests in tst-xmmymm.sh. But the malloc routines used after startup come from libc.so and can be arbitrarily complex. It's overkill to save the SSE registers all the time because of that. These calls are rare. Instead we save them on demand. The new infrastructure put in place in this patch makes this possible and efficient. |