Ulrich Drepper
b969a69b2e
Fix whitespaces
2011-08-04 15:38:35 -04:00
Liubov Dmitrieva
5fa16e9b01
Improve x86-32 strcat functions with SSE2/SSSE3
2011-08-04 15:33:38 -04:00
Roland McGrath
661607b3dd
Quash a warning in strstr-c.c built for static.
2011-07-14 20:47:54 -07:00
H.J. Lu
acb0d739c5
Fix unwind info in 32bit SSE2/SSSE3 strncpy
2011-06-25 01:32:27 -04:00
H.J. Lu
0b1cbaaef5
Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32
2011-06-24 14:15:32 -04:00
Mike Frysinger
4c559bcdf3
Fix static linking with checking x86/x86-64 memcpy.
2011-04-17 22:20:47 -04:00
Ulrich Drepper
283007197c
Undo accidental checkin.
2010-12-14 13:09:28 -05:00
Jakub Jelinek
42acbb92c8
Fix -D_FORTIFY_SOURCE memmove and bcop
2010-12-09 10:38:18 -05:00
H.J. Lu
3a4a2499ec
Remove dead code from x86-32 SSSE3 strncmp.
2010-12-01 22:18:31 -05:00
Ulrich Drepper
c0dde15b5d
32bit memset-sse2.S fails with uneven cache size
...
32bit memset-sse2.S assumes cache size is multiple of 128 bytes. If
it isn't true, memset-sse2.S will fail. For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions. This
patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache
sizes.
2010-11-05 07:57:46 -04:00
Jakub Jelinek
5e908464b9
Implement accurate fma.
2010-10-13 22:27:03 -04:00
Jakub Jelinek
9ff8d36f27
Correct implementation of fmaf.
2010-10-11 09:27:05 -04:00
Roland McGrath
6d34eb5b45
Add missing i686/multiarch/Makefile bit for shared x86_64 code.
2010-08-27 17:11:38 -07:00
Ulrich Drepper
c96d23fcaa
Fixup x86 after x86-64 varshift change.
2010-08-27 12:10:11 -07:00
H.J. Lu
e73015f2d6
Unroll 32bit SSE strlen and handle slow bsf
2010-08-25 10:07:37 -07:00
Richard Henderson
73f27d5e72
Clean up SSE variable shifts
2010-08-24 11:35:01 -07:00
Andreas Schwab
bdaa77bc20
Fix ifunc thunk for strspn on x86 in static libc
2010-08-19 07:42:16 -07:00
Andreas Schwab
b8934257ec
Add missing file from last commit.
2010-07-21 08:44:35 -07:00
Andreas Schwab
f6a31e0eb6
Add strcasestr-nonascii to i386 build
2010-07-21 07:26:18 -07:00
H.J. Lu
6cc2b8a6df
Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.S
2010-04-15 07:49:30 -07:00
H.J. Lu
a11ec63713
Add x86-32 FMA support
2010-04-14 22:27:59 -07:00
H.J. Lu
b170ff0f8f
Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.S
2010-03-18 11:40:46 -07:00
H.J. Lu
01f1f5ee8b
Pass -mtune=i686 to assembler when compiling for i686
2010-03-04 21:30:17 -08:00
H.J. Lu
dc21aae6c1
Fix unwind info in x86 strcmp-sse4.S
2010-02-26 19:54:50 -08:00
H.J. Lu
3093e0c713
Fix issues in x86 memcpy-ssse3-rep.S
2010-02-24 18:26:30 -08:00
H.J. Lu
a0ac24d98a
Fix issues in x86 memcpy-ssse3.S
2010-02-24 18:20:57 -08:00
H.J. Lu
cc50f1a4b4
Fix issues in x86 memset-sse2.S/memset-sse2-rep.S
2010-02-24 18:11:35 -08:00
H.J. Lu
039c8ae6d5
Use CPUID_OFFSET instead of FEATURE_OFFSET
2010-02-18 23:11:21 -08:00
H.J. Lu
020ecba7fc
Align x86 memcmp-sse4.S and fix unwind info.
2010-02-17 23:01:55 -08:00
H.J. Lu
c60bce2cdd
Fix unwind info in x86 memcmp-ssse3.
2010-02-17 22:35:18 -08:00
H.J. Lu
28be6098c3
Simplify x86 strcmp-sse4 unwind info.
2010-02-17 22:27:41 -08:00
Ulrich Drepper
82abe82ad7
Fix and cleanup unwind info in x86 strcmp-ssse<F3>.
2010-02-17 22:13:55 -08:00
Ulrich Drepper
d22ae6cf50
Remove commented-out code.
2010-02-15 18:47:02 -08:00
Ulrich Drepper
6bb74d9f86
Fix up new x86 string functions.
2010-02-15 13:04:54 -08:00
H.J. Lu
904057bc17
32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
2010-02-15 11:17:50 -08:00
H.J. Lu
cff0be8849
Support __memmove_ssse3_rep when SHARED isn't defined.
2010-01-19 12:20:57 -08:00
Ulrich Drepper
f9a97ddaff
Fix whitespace problems.
2010-01-12 11:28:17 -08:00
H.J. Lu
3af48cbdfa
Optimize 32bit memset/memcpy with SSE2/SSSE3.
2010-01-12 11:22:03 -08:00
H.J. Lu
2510d01ddb
Define bit_SSE2 and index_SSE2.
2009-12-13 15:23:02 -08:00
Ulrich Drepper
04ef416adc
Fix IA-32 strstr in multiarch configuration as well.
2009-09-03 06:44:22 -07:00
H.J. Lu
5a4eb7282e
Remove ENABLE_SSSE3_ON_ATOM.
...
It turns that SSSE3 isn't slow on Atom. The problem is bsf. This patch
removes ENABLE_SSSE3_ON_ATOM.
2009-08-28 14:54:46 -07:00
H.J. Lu
fc1870e6a4
Use PIC only if SHARED is defined.
...
For ia32, we can avoid PIC in IFUNC functions in static library.
2009-08-08 10:29:29 -07:00
Ulrich Drepper
2d2f482e48
Fix whitespace in last patch.
2009-08-07 10:41:54 -07:00
H.J. Lu
0eca608d05
Add the missing "; \".
2009-08-07 10:40:45 -07:00
Ulrich Drepper
2c709c6f05
Add x86 SSE strlen.
2009-08-04 18:15:02 -07:00
H.J. Lu
02cea47161
Add x86 32-bit SSE4.2 string functions.
...
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.
2009-08-04 12:13:43 -07:00
H.J. Lu
6f6f1215f6
Support multiarch for i686.
...
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.
2009-07-31 11:53:35 -07:00
Ulrich Drepper
b41f1d14f2
* sysdeps/i386/i686/memcmp.S: Fix unwind information.
...
Reported by Paul Pluzhnikov <ppluzhnikov@google.com>.
2008-07-26 05:27:49 +00:00
Ulrich Drepper
cf3a8c7f42
* elf/tls-macros.h (__TLS_GET_ADDR): Define according to the ABI
...
in use.
(TLS_LD): Use __TLS_GET_ADDR instead of .__tls_get_addr.
(TLS_GD): Likewise.
2008-04-11 21:04:10 +00:00
Ulrich Drepper
2120860435
[BZ #4314 ]
...
* sysdeps/i386/i686/memcpy.S: Optimize copying of aligned buffers.
2008-04-09 20:01:52 +00:00