id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:5 | jnz L(Exit14)
test $0x40, %ah
jnz L(Exit15)
movlpd (%ecx), %xmm0
movlpd 8(%ecx), %xmm1
movlpd %xmm0, (%edx)
movlpd %xmm1, 8(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit1):
movb %bh, 1(%edx)
L(Exit1):
movb (%ecx), %al
movb %al, (%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit2):
movb %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:6 | L(StrncatExit4):
movb %bh, 4(%edx)
L(Exit4):
movl (%ecx), %eax
movl %eax, (%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit5):
movb %bh, 5(%edx)
L(Exit5):
movl (%ecx), %eax
movl %eax, (%edx)
movb 4(%ecx), %al
movb %al, 4(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit6):
movb %bh, 6(%edx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:7 | .p2align 4
L(StrncatExit8):
movb %bh, 8(%edx)
L(Exit8):
movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit9):
movb %bh, 9(%edx)
L(Exit9):
movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movb 8(%ecx), %al
movb %al, 8(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:8 | movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit12):
movb %bh, 12(%edx)
L(Exit12):
movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movl 8(%ecx), %eax
movl %eax, 8(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit13):
movb %bh, 13(%edx)
L(Exit13):
movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movlpd 5(%ecx), ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:9 | movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movlpd 7(%ecx), %xmm0
movlpd %xmm0, 7(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit16):
movb %bh, 16(%edx)
L(Exit16):
movlpd (%ecx), %xmm0
movlpd 8(%ecx), %xmm1
movlpd %xmm0, (%edx)
movlpd %xmm1, 8(%edx)
movl %edi, %eax
RETURN1
# ifdef USE_AS_STRNCPY
C... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:10 | jnz L(Exit2)
cmp $2, %ebx
je L(StrncatExit2)
test $0x04, %al
jnz L(Exit3)
cmp $3, %ebx
je L(StrncatExit3)
test $0x08, %al
jnz L(Exit4)
cmp $4, %ebx
je L(StrncatExit4)
test $0x10, %al
jnz L(Exit5)
cmp $5, %ebx
je L(StrncatExit5)
test $0x20, %al
jnz L(Exit6)
cmp $6, %ebx
je L(StrncatExit6)
test $0x40, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:11 | jnz L(Exit10)
cmp $10, %ebx
je L(StrncatExit10)
test $0x04, %ah
jnz L(Exit11)
cmp $11, %ebx
je L(StrncatExit11)
test $0x8, %ah
jnz L(Exit12)
cmp $12, %ebx
je L(StrncatExit12)
test $0x10, %ah
jnz L(Exit13)
cmp $13, %ebx
je L(StrncatExit13)
test $0x20, %ah
jnz L(Exit14)
cmp $14, %ebx
je L(StrncatExit14)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:12 | add %esi, %ecx
POP (%esi)
cmp $8, %ebx
ja L(ExitHighCase3)
cmp $1, %ebx
je L(StrncatExit1)
cmp $2, %ebx
je L(StrncatExit2)
cmp $3, %ebx
je L(StrncatExit3)
cmp $4, %ebx
je L(StrncatExit4)
cmp $5, %ebx
je L(StrncatExit5)
cmp $6, %ebx
je L(StrncatExit6)
cmp $7, %ebx
je L(StrncatExit7)
movlpd (%ecx), %x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:13 | cmp $15, %ebx
je L(StrncatExit15)
movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
movlpd 8(%ecx), %xmm1
movlpd %xmm1, 8(%edx)
movb %bh, 16(%edx)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit0):
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit15Bytes):
cmp $9, %ebx
je L(StrncatExit9)
cmpb $0, 9(%ecx)
jz L... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:14 | movlpd %xmm0, (%edx)
movlpd 7(%ecx), %xmm0
movlpd %xmm0, 7(%edx)
lea 14(%edx), %eax
cmpb $1, (%eax)
sbb $-1, %eax
movb %bh, (%eax)
movl %edi, %eax
RETURN1
.p2align 4
L(StrncatExit8Bytes):
cmpb $0, (%ecx)
jz L(Exit1)
cmp $1, %ebx
je L(StrncatExit1)
cmpb $0, 1(%ecx)
jz L(Exit2)
cmp $2, %ebx
je L(Strncat... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 521 | 572 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:15 | movlpd (%ecx), %xmm0
movlpd %xmm0, (%edx)
lea 7(%edx), %eax
cmpb $1, (%eax)
sbb $-1, %eax
movb %bh, (%eax)
movl %edi, %eax
RETURN1
# endif
END (STRCAT)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 561 | 572 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2020 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2018 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat-ssse3.S:1 | /* strcat with SSSE3
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat-ssse3.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strcat-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:1 | /* Multiple versions of strcat
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strcat.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:2 | /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncat in static library since we
need strncat before the initialization happened. */
#if IS_IN (libc)
.text
ENTRY(STRCAT)
.type STRCAT, @gnu_indirect_function
LOAD_GOT_AND_RTLD_GLOBAL_RO
LOAD_FUNC_GOT_EAX (STR... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strcat.S | 41 | 92 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:1 | /* Multiple versions of strcat
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strcat.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:1 | /* Multiple versions of strcat
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | 8964482ab8c9f14719bbce304ff89549c90f2bda | github | libc | https://github.com/bminor/glibc/blob/8964482ab8c9f14719bbce304ff89549c90f2bda/sysdeps/i386/i686/multiarch/strcat.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:2 | /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncat in static library since we
need strncat before the initialization happened. */
#if IS_IN (libc)
.text
ENTRY(STRCAT)
.type STRCAT, @gnu_indirect_function
LOAD_GOT_AND_RTLD_GLOBAL_RO
LOAD_FUNC_GOT_EAX (STR... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/strcat.S | 41 | 92 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:1 | /* Multiple versions of strcat
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strcat.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:2 | /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncat in static library since we
need strncat before the initialization happened. */
#if IS_IN (libc)
# ifdef SHARED
.text
ENTRY(STRCAT)
.type STRCAT, @gnu_indirect_function
pushl %ebx
cfi_adjust_cfa_offset (4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strcat.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcat.S:3 | testl $bit_SSE2, CPUID_OFFSET+index_SSE2+__cpu_features
jz 2f
leal STRCAT_SSE2, %eax
testl $bit_Fast_Unaligned_Load, FEATURE_OFFSET+index_Fast_Unaligned_Load+__cpu_features
jnz 2f
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
jz 2f
leal STRCAT_SSSE3, %eax
2: ret
END(STRCAT)
# endif
# undef ENTRY
# ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcat.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strcat.S | 81 | 122 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-ia32.S:1 | /* strchr optimized for i686.
Copyright (C) 2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; eith... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-ia32.S | LGPL-2.1 | 973da22a356ed072133562e6f1ecd833c31fa9a0 | github | libc | https://github.com/bminor/glibc/blob/973da22a356ed072133562e6f1ecd833c31fa9a0/sysdeps/i386/i686/multiarch/strchr-ia32.S | 1 | 35 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:2 | .text
ENTRY (__strchr_sse2_bsf)
ENTRANCE
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
pxor %xmm2, %xmm2
mov %ecx, %edi
punpcklbw %xmm1, %xmm1
punpcklbw %xmm1, %xmm1
/* ECX has OFFSET. */
and $15, %ecx
pshufd $0, %xmm1, %xmm1
je L(loop)
/* Handle unaligned string. */
and $-16, %edi
movdqa (%edi), %xmm0
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:3 | add %edi, %eax
add %ecx, %eax
RETURN
.p2align 4
L(unaligned_no_match):
test %edx, %edx
jne L(return_null)
pxor %xmm2, %xmm2
add $16, %edi
.p2align 4
/* Loop start on aligned string. */
L(loop):
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:4 | jnz L(matches)
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
jmp L(loop)
L(matches):
pmovmskb %xmm2, %edx
test %eax, %eax
jz L(return_null)
bsf %eax, %eax
/* There is a match. First find where NULL is.... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 121 | 157 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2021 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:2 | .text
ENTRY (__strchr_sse2_bsf)
ENTRANCE
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
pxor %xmm2, %xmm2
mov %ecx, %edi
punpcklbw %xmm1, %xmm1
punpcklbw %xmm1, %xmm1
/* ECX has OFFSET. */
and $15, %ecx
pshufd $0, %xmm1, %xmm1
je L(loop)
/* Handle unaligned string. */
and $-16, %edi
movdqa (%edi), %xmm0
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:3 | L(unaligned_match):
add %edi, %eax
add %ecx, %eax
RETURN
.p2align 4
L(unaligned_no_match):
test %edx, %edx
jne L(return_null)
pxor %xmm2, %xmm2
add $16, %edi
.p2align 4
/* Loop start on aligned string. */
L(loop):
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeqb %xmm1, %xmm0
pmovmskb %x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:4 | or %eax, %edx
jnz L(matches)
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
jmp L(loop)
L(matches):
pmovmskb %xmm2, %edx
test %eax, %eax
jz L(return_null)
bsf %eax, %eax
/* There is a match. First find... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 121 | 158 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2020 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2018 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:1 | /* strchr with SSE2 with bsf
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:2 | atom_text_section
ENTRY (__strchr_sse2)
ENTRANCE
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
pxor %xmm2, %xmm2
mov %ecx, %edi
punpcklbw %xmm1, %xmm1
punpcklbw %xmm1, %xmm1
/* ECX has OFFSET. */
and $15, %ecx
pshufd $0, %xmm1, %xmm1
je L(loop)
/* Handle unaligned string. */
and $-16, %edi
movdqa (%edi),... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:3 | jne L(return_null)
pxor %xmm2, %xmm2
add $16, %edi
.p2align 4
/* Loop start on aligned string. */
L(loop):
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches)
test %edx, %edx
jnz L(return_null)
add $16, %edi
movdqa (%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:4 | movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches)
test %edx, %edx
jnz L(return_null)
add $16, %edi
jmp L(loop)
L(matches):
/* There is a match. First find where NULL is. */
test %edx, %edx
jz L(match_case1)
.p2align ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:5 | jnz L(Exit7)
test $0x40, %dl
jnz L(return_null)
lea 7(%edi), %eax
RETURN
.p2align 4
L(match_case2_4):
test $0x01, %al
jnz L(Exit1)
test $0x01, %dl
jnz L(return_null)
test $0x02, %al
jnz L(Exit2)
test $0x02, %dl
jnz L(return_null)
test $0x04, %al
jnz L(Exit3)
test $0x04, %dl
jnz L(return_null)
lea 3(%... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:6 | test $0x20, %ah
jnz L(Exit14)
test $0x20, %dh
jnz L(return_null)
test $0x40, %ah
jnz L(Exit15)
test $0x40, %dh
jnz L(return_null)
lea 15(%edi), %eax
RETURN
.p2align 4
L(match_case2_12):
test $0x01, %ah
jnz L(Exit9)
test $0x01, %dh
jnz L(return_null)
test $0x02, %ah
jnz L(Exit10)
test $0x02, %dh
jnz L... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:7 | jnz L(Exit4)
test $0x10, %al
jnz L(Exit5)
test $0x20, %al
jnz L(Exit6)
test $0x40, %al
jnz L(Exit7)
lea 7(%edi), %eax
RETURN
.p2align 4
L(match_higth_case1):
test $0x01, %ah
jnz L(Exit9)
test $0x02, %ah
jnz L(Exit10)
test $0x04, %ah
jnz L(Exit11)
test $0x08, %ah
jnz L(Exit12)
test $0x10, %ah
jnz L(E... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:8 | L(Exit3):
lea 2(%edi), %eax
RETURN
.p2align 4
L(Exit4):
lea 3(%edi), %eax
RETURN
.p2align 4
L(Exit5):
lea 4(%edi), %eax
RETURN
.p2align 4
L(Exit6):
lea 5(%edi), %eax
RETURN
.p2align 4
L(Exit7):
lea 6(%edi), %eax
RETURN
.p2align 4
L(Exit9):
lea 8(%edi), %eax
RETURN
.p2align 4
L(Exit10):
lea 9(%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:9 | L(Exit12):
lea 11(%edi), %eax
RETURN
.p2align 4
L(Exit13):
lea 12(%edi), %eax
RETURN
.p2align 4
L(Exit14):
lea 13(%edi), %eax
RETURN
.p2align 4
L(Exit15):
lea 14(%edi), %eax
RETURN
/* Return NULL. */
.p2align 4
L(return_null):
xor %eax, %eax
RETURN
END (__strchr_sse2)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 321 | 347 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2021 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:2 | atom_text_section
ENTRY (__strchr_sse2)
ENTRANCE
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
pxor %xmm2, %xmm2
mov %ecx, %edi
punpcklbw %xmm1, %xmm1
punpcklbw %xmm1, %xmm1
/* ECX has OFFSET. */
and $15, %ecx
pshufd $0, %xmm1, %xmm1
je L(loop)
/* Handle unaligned string. */
and $-16, %edi
movdqa (%edi),... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:3 | test %edx, %edx
jne L(return_null)
pxor %xmm2, %xmm2
add $16, %edi
.p2align 4
/* Loop start on aligned string. */
L(loop):
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches)
test %edx, %edx
jnz L(return_null)
add $16, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:4 | add $16, %edi
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches)
test %edx, %edx
jnz L(return_null)
add $16, %edi
jmp L(loop)
L(matches):
/* There is a match. First find where NULL is. */
test %edx, %edx
jz L(match_ca... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:5 | test $0x40, %al
jnz L(Exit7)
test $0x40, %dl
jnz L(return_null)
lea 7(%edi), %eax
RETURN
.p2align 4
L(match_case2_4):
test $0x01, %al
jnz L(Exit1)
test $0x01, %dl
jnz L(return_null)
test $0x02, %al
jnz L(Exit2)
test $0x02, %dl
jnz L(return_null)
test $0x04, %al
jnz L(Exit3)
test $0x04, %dl
jnz L(retu... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:6 | jnz L(return_null)
test $0x20, %ah
jnz L(Exit14)
test $0x20, %dh
jnz L(return_null)
test $0x40, %ah
jnz L(Exit15)
test $0x40, %dh
jnz L(return_null)
lea 15(%edi), %eax
RETURN
.p2align 4
L(match_case2_12):
test $0x01, %ah
jnz L(Exit9)
test $0x01, %dh
jnz L(return_null)
test $0x02, %ah
jnz L(Exit10)
te... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:7 | test $0x08, %al
jnz L(Exit4)
test $0x10, %al
jnz L(Exit5)
test $0x20, %al
jnz L(Exit6)
test $0x40, %al
jnz L(Exit7)
lea 7(%edi), %eax
RETURN
.p2align 4
L(match_higth_case1):
test $0x01, %ah
jnz L(Exit9)
test $0x02, %ah
jnz L(Exit10)
test $0x04, %ah
jnz L(Exit11)
test $0x08, %ah
jnz L(Exit12)
test $0... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:8 | .p2align 4
L(Exit3):
lea 2(%edi), %eax
RETURN
.p2align 4
L(Exit4):
lea 3(%edi), %eax
RETURN
.p2align 4
L(Exit5):
lea 4(%edi), %eax
RETURN
.p2align 4
L(Exit6):
lea 5(%edi), %eax
RETURN
.p2align 4
L(Exit7):
lea 6(%edi), %eax
RETURN
.p2align 4
L(Exit9):
lea 8(%edi), %eax
RETURN
.p2align 4
L(Exit10)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:9 | .p2align 4
L(Exit12):
lea 11(%edi), %eax
RETURN
.p2align 4
L(Exit13):
lea 12(%edi), %eax
RETURN
.p2align 4
L(Exit14):
lea 13(%edi), %eax
RETURN
.p2align 4
L(Exit15):
lea 14(%edi), %eax
RETURN
/* Return NULL. */
.p2align 4
L(return_null):
xor %eax, %eax
RETURN
END (__strchr_sse2)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strchr-sse2.S | 321 | 348 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2020 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2019 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2018 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr-sse2.S:1 | /* strchr SSE2 without bsf
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publishe... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr.S:1 | /* Multiple versions of strchr
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr.S:1 | /* Multiple versions of strchr
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr.S:1 | /* Multiple versions of strchr
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/strchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr.S:1 | /* Multiple versions of strchr
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2011-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strchr.S:2 | leal __strchr_sse2@GOTOFF(%ebx), %eax
2: popl %ebx
cfi_adjust_cfa_offset (-4);
cfi_restore (ebx)
ret
END(strchr)
# undef ENTRY
# define ENTRY(name) \
.type __strchr_ia32, @function; \
.globl __strchr_ia32; \
.p2align 4; \
__strchr_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(name) \
cfi_endproc... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strchr.S | 41 | 66 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strcmp-ia32.S:1 | /* strcmp optimized for i686.
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2017-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strcmp-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strcmp-ia32.S | 1 | 33 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.