aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/strpbrk.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /sysdeps/i386/strpbrk.S
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.tar
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.bz2
glibc-a334319f6530564d22e775935d9c91663623a1b4.zip
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'sysdeps/i386/strpbrk.S')
-rw-r--r--sysdeps/i386/strpbrk.S67
1 files changed, 1 insertions, 66 deletions
diff --git a/sysdeps/i386/strpbrk.S b/sysdeps/i386/strpbrk.S
index 1f78e20646..66136c209e 100644
--- a/sysdeps/i386/strpbrk.S
+++ b/sysdeps/i386/strpbrk.S
@@ -1,7 +1,7 @@
/* strcspn (str, ss) -- Return the length of the initial segement of STR
which contains no characters from SS.
For Intel 80x86, x>=3.
- Copyright (C) 1994-1997, 2000, 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1994-1997, 2000, 2003 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>
Bug fixes by Alan Modra <Alan@SPRI.Levels.UniSA.Edu.Au>
This file is part of the GNU C Library.
@@ -47,133 +47,69 @@ ENTRY (BP_SYM (strpbrk))
xorl %ecx, %ecx /* %ecx = 0 !!! */
pushl %ecx /* make a 256 bytes long block filled with 0 */
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl %ecx
- cfi_adjust_cfa_offset (4)
pushl $0 /* These immediate values make the label 2 */
- cfi_adjust_cfa_offset (4)
pushl $0 /* to be aligned on a 16 byte boundary to */
- cfi_adjust_cfa_offset (4)
pushl $0 /* get a better performance of the loop. */
- cfi_adjust_cfa_offset (4)
pushl $0
- cfi_adjust_cfa_offset (4)
pushl $0
- cfi_adjust_cfa_offset (4)
pushl $0
- cfi_adjust_cfa_offset (4)
/* For understanding the following code remember that %ecx == 0 now.
Although all the following instruction only modify %cl we always
@@ -237,7 +173,6 @@ L(6): incl %eax
L(5): incl %eax
L(4): addl $256, %esp /* remove stopset */
- cfi_adjust_cfa_offset (-256)
CHECK_BOUNDS_HIGH (%eax, STR(%esp), jb)
orb %cl, %cl /* was last character NUL? */