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/memmove_chk.S:3 | movl 12(%esp), %eax
cmpl %eax, 16(%esp)
jb __chk_fail
jmp __memmove_sse2_unaligned
cfi_endproc
.size __memmove_chk_sse2_unaligned, .-__memmove_chk_sse2_unaligned
.type __memmove_chk_ssse3, @function
.p2align 4;
__memmove_chk_ssse3:
cfi_startproc
CALL_MCOUNT
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
jb __chk_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memmove_chk.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memmove_chk.S | 81 | 124 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy-ia32.S:1 | /* mempcpy 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/mempcpy-ia32.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/mempcpy-ia32.S | 1 | 37 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:1 | /* Multiple versions of mempcpy
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/mempcpy.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:2 | HAS_ARCH_FEATURE (Fast_Rep_String)
jz 2f
LOAD_FUNC_GOT_EAX (__mempcpy_ssse3_rep)
2: ret
END(__mempcpy)
# undef ENTRY
# define ENTRY(name) \
.type __mempcpy_ia32, @function; \
.p2align 4; \
.globl __mempcpy_ia32; \
.hidden __mempcpy_ia32; \
__mempcpy_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(n... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/mempcpy.S | 41 | 81 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:1 | /* Multiple versions of mempcpy
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | 4e940b2f4b577f3a530e0580373f7c2d569f4d63 | github | libc | https://github.com/bminor/glibc/blob/4e940b2f4b577f3a530e0580373f7c2d569f4d63/sysdeps/i386/i686/multiarch/mempcpy.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:1 | /* Multiple versions of mempcpy
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/mempcpy.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:2 | HAS_CPU_FEATURE (Fast_Rep_String)
jz 2f
LOAD_FUNC_GOT_EAX (__mempcpy_ssse3_rep)
2: ret
END(__mempcpy)
# undef ENTRY
# define ENTRY(name) \
.type __mempcpy_ia32, @function; \
.p2align 4; \
.globl __mempcpy_ia32; \
.hidden __mempcpy_ia32; \
__mempcpy_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(na... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/mempcpy.S | 41 | 81 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:1 | /* Multiple versions of mempcpy
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/mempcpy.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:1 | /* Multiple versions of mempcpy
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 ter... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/mempcpy.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:2 | leal __mempcpy_sse2_unaligned@GOTOFF(%ebx), %eax
testl $bit_Fast_Unaligned_Load, FEATURE_OFFSET+index_Fast_Unaligned_Load+__cpu_features@GOTOFF(%ebx)
jnz 2f
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features@GOTOFF(%ebx)
jz 2f
leal __mempcpy_ssse3@GOTOFF(%ebx), %eax
testl $bit_Fast_Rep_String, FEATURE_OFFS... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/mempcpy.S | 41 | 90 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy.S:3 | /* IFUNC doesn't work with the hidden functions in shared library since
they will be called without setting up EBX needed for PLT which is
used by IFUNC. */
# define libc_hidden_def(name) \
.globl __GI_mempcpy; __GI_mempcpy = __mempcpy_ia32
# define libc_hidden_builtin_def(name) \
.globl __GI___mempcpy; __GI__... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/mempcpy.S | 81 | 90 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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 Sof... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S:1 | /* Non-shared version of mempcpy_chk 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... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | LGPL-2.1 | 973da22a356ed072133562e6f1ecd833c31fa9a0 | github | libc | https://github.com/bminor/glibc/blob/973da22a356ed072133562e6f1ecd833c31fa9a0/sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S | 1 | 21 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk.S:1 | /* Multiple versions of __mempcpy_chk
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/mempcpy_chk.S | 1 | 50 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk.S:1 | /* Multiple versions of __mempcpy_chk
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk.S | LGPL-2.1 | 4e940b2f4b577f3a530e0580373f7c2d569f4d63 | github | libc | https://github.com/bminor/glibc/blob/4e940b2f4b577f3a530e0580373f7c2d569f4d63/sysdeps/i386/i686/multiarch/mempcpy_chk.S | 1 | 50 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk.S:1 | /* Multiple versions of __mempcpy_chk
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/mempcpy_chk.S | 1 | 50 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk.S:1 | /* Multiple versions of __mempcpy_chk
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 t... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/mempcpy_chk.S | 1 | 50 |
bminor/glibc:sysdeps/i386/i686/multiarch/mempcpy_chk.S:1 | /* Multiple versions of __mempcpy_chk
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-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 t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/mempcpy_chk.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/mempcpy_chk.S | 1 | 59 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:2 | .text
ENTRY (MEMCHR)
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
mov LEN(%esp), %edx
sub $16, %edx
jbe L(length_less16)
punpcklbw %xmm1, %xmm1
add %edx, %ecx
punpcklbw %xmm1, %xmm1
movdqu (%ecx), %xmm0
pshufd $0, %xmm1, %xmm1
pcmpeqb %xmm1, %xmm0
/* Check if there is a match. */
pmovmskb %xmm0, %eax
t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:3 | pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches48)
movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm4
pcmpeqb %xmm1, %xmm4
pmovmskb %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:4 | pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches0)
mov %ecx, %eax
and $63, %eax
test %eax, %eax
jz L(align64_loop)
add $64, %ecx
add $64, %edx
sub %eax, %ecx
sub %eax, %edx
.p2align 4
L(align64_loop):
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:5 | test %eax, %eax
jz L(align64_loop)
pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(matches48)
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches16)
pmovmskb %xmm1, %eax
bsr %eax, %eax
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:6 | pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16_1)
cmp $48, %edx
jbe L(return_null)
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm1, %eax
test %eax, %eax
jnz L(matches0_1)
xor %eax, %eax
re... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:7 | add %ecx, %eax
ret
.p2align 4
L(matches16):
bsr %eax, %eax
lea 16(%eax, %ecx), %eax
ret
.p2align 4
L(matches32):
bsr %eax, %eax
lea 32(%eax, %ecx), %eax
ret
.p2align 4
L(matches48):
bsr %eax, %eax
lea 48(%eax, %ecx), %eax
ret
.p2align 4
L(matches0_1):
bsr %eax, %eax
sub $64, %edx
add %eax, %edx
jl... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:8 | L(matches32_1):
bsr %eax, %eax
sub $32, %edx
add %eax, %edx
jl L(return_null)
lea 32(%ecx, %eax), %eax
ret
.p2align 4
L(matches48_1):
bsr %eax, %eax
sub $16, %edx
add %eax, %edx
jl L(return_null)
lea 48(%ecx, %eax), %eax
ret
.p2align 4
L(return_null):
xor %eax, %eax
ret
.p2align 4
L(length_less16_of... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:9 | ret
.p2align 4
L(length_less16):
punpcklbw %xmm1, %xmm1
mov %ecx, %eax
punpcklbw %xmm1, %xmm1
add $16, %edx
jz L(return_null)
pshufd $0, %xmm1, %xmm1
and $15, %ecx
jz L(length_less16_offset0)
PUSH (%edi)
mov %cl, %dh
add %dl, %dh
and $-16, %eax
sub $16, %dh
ja L(length_less16_part2)
pcmpeqb (%eax),... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:10 | ret
CFI_PUSH (%edi)
.p2align 4
L(length_less16_part2):
movdqa 16(%eax), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %edi
mov %cl, %ch
mov %dh, %cl
mov $1, %edx
sal %cl, %edx
sub $1, %edx
and %edx, %edi
test %edi, %edi
jnz L(length_less16_part2_return)
pcmpeqb (%eax), %xmm1
pmovmskb %xmm1, %edi
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 361 | 416 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:11 | L(length_less16_part2_return):
bsr %edi, %edi
lea 16(%eax, %edi), %eax
POP (%edi)
ret
CFI_PUSH (%edi)
.p2align 4
L(ret_null):
xor %eax, %eax
POP (%edi)
ret
END (MEMCHR)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 401 | 416 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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/memrchr-sse2-bsf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:2 | .text
ENTRY (MEMCHR)
mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
mov LEN(%esp), %edx
sub $16, %edx
jbe L(length_less16)
punpcklbw %xmm1, %xmm1
add %edx, %ecx
punpcklbw %xmm1, %xmm1
movdqu (%ecx), %xmm0
pshufd $0, %xmm1, %xmm1
pcmpeqb %xmm1, %xmm0
/* Check if there is a match. */
pmovmskb %xmm0, %eax
t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:3 | pcmpeqb %xmm1, %xmm0
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches48)
movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm4
pcmpeqb %x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:4 | pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches0)
mov %ecx, %eax
and $63, %eax
test %eax, %eax
jz L(align64_loop)
add $64, %ecx
add $64, %edx
sub %eax, %ecx
sub %eax, %edx
.p2alig... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:5 | pmovmskb %xmm2, %eax
test %eax, %eax
jz L(align64_loop)
pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(matches48)
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches16)
pmovmskb %xmm1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:6 | movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16_1)
cmp $48, %edx
jbe L(return_null)
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm1, %eax
test %eax, %eax
jnz L(matches... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:7 | bsr %eax, %eax
add %ecx, %eax
ret
.p2align 4
L(matches16):
bsr %eax, %eax
lea 16(%eax, %ecx), %eax
ret
.p2align 4
L(matches32):
bsr %eax, %eax
lea 32(%eax, %ecx), %eax
ret
.p2align 4
L(matches48):
bsr %eax, %eax
lea 48(%eax, %ecx), %eax
ret
.p2align 4
L(matches0_1):
bsr %eax, %eax
sub $64, %edx
ad... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:8 | .p2align 4
L(matches32_1):
bsr %eax, %eax
sub $32, %edx
add %eax, %edx
jl L(return_null)
lea 32(%ecx, %eax), %eax
ret
.p2align 4
L(matches48_1):
bsr %eax, %eax
sub $16, %edx
add %eax, %edx
jl L(return_null)
lea 48(%ecx, %eax), %eax
ret
.p2align 4
L(return_null):
xor %eax, %eax
ret
.p2align 4
L(lengt... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:9 | add %ecx, %eax
ret
.p2align 4
L(length_less16):
punpcklbw %xmm1, %xmm1
mov %ecx, %eax
punpcklbw %xmm1, %xmm1
add $16, %edx
jz L(return_null)
pshufd $0, %xmm1, %xmm1
and $15, %ecx
jz L(length_less16_offset0)
PUSH (%edi)
mov %cl, %dh
add %dl, %dh
and $-16, %eax
sub $16, %dh
ja L(length_less16_part2)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:10 | POP (%edi)
ret
CFI_PUSH (%edi)
.p2align 4
L(length_less16_part2):
movdqa 16(%eax), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %edi
mov %cl, %ch
mov %dh, %cl
mov $1, %edx
sal %cl, %edx
sub $1, %edx
and %edx, %edi
test %edi, %edi
jnz L(length_less16_part2_return)
pcmpeqb (%eax), %xmm1
pmovmskb ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 361 | 417 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:11 | .p2align 4
L(length_less16_part2_return):
bsr %edi, %edi
lea 16(%eax, %edi), %eax
POP (%edi)
ret
CFI_PUSH (%edi)
.p2align 4
L(ret_null):
xor %eax, %eax
POP (%edi)
ret
END (MEMCHR)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 401 | 417 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S:1 | /* Optimized memrchr with sse2
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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:2 | movd STR2(%esp), %xmm1
mov LEN(%esp), %edx
sub $16, %edx
jbe L(length_less16)
punpcklbw %xmm1, %xmm1
add %edx, %ecx
punpcklbw %xmm1, %xmm1
movdqu (%ecx), %xmm0
pshufd $0, %xmm1, %xmm1
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(exit_dispatch)
sub $64, %ecx
mov %ecx, %eax
and $15,... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:3 | movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm4
pcmpeqb %xmm1, %xmm4
pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(exit_dispatch)
sub $6... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:4 | movdqa (%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(exit_dispatch)
mov %ecx, %eax
and $63, %eax
test %eax, %eax
jz L(align64_loop)
lea 64(%ecx), %ecx
lea 64(%edx), %edx
and $-64, %ecx
sub %eax, %edx
.p2align 4
L(align64_loop):
sub $64, %ecx
sub $64, %edx
jbe L(exit_lo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:5 | pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(matches48)
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches16)
pmovmskb %xmm1, %eax
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %d... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:6 | pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches48)
movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16_1)
cmp $48, %edx
jbe L(return_null)
pcmpeqb (%ecx), %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:7 | ret
.p2align 4
L(matches16):
lea 16(%ecx), %ecx
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %dl
and $15 << 4, %dl
jnz L(exit_dispatch_8)
test $0x08, %al
jnz L(exit_4)
test $0x04, %al
jnz L(exit_3)
test $0x02, %al
jnz L(exit_2)
mov %ecx, %eax
ret
.p2align 4
L(matches32):
lea 32(%ecx), %ecx
test ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:8 | .p2align 4
L(exit_dispatch):
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %dl
and $15 << 4, %dl
jnz L(exit_dispatch_8)
test $0x08, %al
jnz L(exit_4)
test $0x04, %al
jnz L(exit_3)
test $0x02, %al
jnz L(exit_2)
mov %ecx, %eax
ret
.p2align 4
L(exit_dispatch_8):
test $0x80, %al
jnz L(exit_8)
test $0x4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:9 | .p2align 4
L(exit_dispatch_high_8):
test $0x80, %ah
jnz L(exit_16)
test $0x40, %ah
jnz L(exit_15)
test $0x20, %ah
jnz L(exit_14)
lea 12(%ecx), %eax
ret
.p2align 4
L(exit_2):
lea 1(%ecx), %eax
ret
.p2align 4
L(exit_3):
lea 2(%ecx), %eax
ret
.p2align 4
L(exit_4):
lea 3(%ecx), %eax
ret
.p2align 4
L(e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:10 | ret
.p2align 4
L(exit_10):
lea 9(%ecx), %eax
ret
.p2align 4
L(exit_11):
lea 10(%ecx), %eax
ret
.p2align 4
L(exit_12):
lea 11(%ecx), %eax
ret
.p2align 4
L(exit_14):
lea 13(%ecx), %eax
ret
.p2align 4
L(exit_15):
lea 14(%ecx), %eax
ret
.p2align 4
L(exit_16):
lea 15(%ecx), %eax
ret
.p2align 4
L(ma... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:11 | jnz L(exit_dispatch_1_8)
test $0x08, %al
jnz L(exit_1_4)
test $0x04, %al
jnz L(exit_1_3)
test $0x02, %al
jnz L(exit_1_2)
add $0, %edx
jl L(return_null)
mov %ecx, %eax
ret
.p2align 4
L(matches16_1):
lea -48(%edx), %edx
lea 16(%ecx), %ecx
test %ah, %ah
jnz L(exit_dispatch_1_high)
mov %al, %ah
and $15 <... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:12 | mov %al, %ah
and $15 << 4, %ah
jnz L(exit_dispatch_1_8)
test $0x08, %al
jnz L(exit_1_4)
test $0x04, %al
jnz L(exit_1_3)
test $0x02, %al
jnz L(exit_1_2)
add $0, %edx
jl L(return_null)
mov %ecx, %eax
ret
.p2align 4
L(matches48_1):
lea -16(%edx), %edx
lea 48(%ecx), %ecx
.p2align 4
L(exit_dispatch_1):
te... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:13 | jnz L(exit_1_8)
test $0x40, %al
jnz L(exit_1_7)
test $0x20, %al
jnz L(exit_1_6)
add $4, %edx
jl L(return_null)
lea 4(%ecx), %eax
ret
.p2align 4
L(exit_dispatch_1_high):
mov %ah, %al
and $15 << 4, %al
jnz L(exit_dispatch_1_high_8)
test $0x08, %ah
jnz L(exit_1_12)
test $0x04, %ah
jnz L(exit_1_11)
test $... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:14 | L(exit_1_2):
add $1, %edx
jl L(return_null)
lea 1(%ecx), %eax
ret
.p2align 4
L(exit_1_3):
add $2, %edx
jl L(return_null)
lea 2(%ecx), %eax
ret
.p2align 4
L(exit_1_4):
add $3, %edx
jl L(return_null)
lea 3(%ecx), %eax
ret
.p2align 4
L(exit_1_6):
add $5, %edx
jl L(return_null)
lea 5(%ecx), %eax
ret
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:15 | .p2align 4
L(exit_1_10):
add $9, %edx
jl L(return_null)
lea 9(%ecx), %eax
ret
.p2align 4
L(exit_1_11):
add $10, %edx
jl L(return_null)
lea 10(%ecx), %eax
ret
.p2align 4
L(exit_1_12):
add $11, %edx
jl L(return_null)
lea 11(%ecx), %eax
ret
.p2align 4
L(exit_1_14):
add $13, %edx
jl L(return_null)
lea ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:16 | lea 15(%ecx), %eax
ret
.p2align 4
L(return_null):
xor %eax, %eax
ret
.p2align 4
L(length_less16_offset0):
mov %dl, %cl
pcmpeqb (%eax), %xmm1
mov $1, %edx
sal %cl, %edx
sub $1, %edx
mov %eax, %ecx
pmovmskb %xmm1, %eax
and %edx, %eax
test %eax, %eax
jnz L(exit_dispatch)
xor %eax, %eax
ret
.p2alig... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:17 | PUSH (%edi)
mov %cl, %dh
add %dl, %dh
and $-16, %eax
sub $16, %dh
ja L(length_less16_part2)
pcmpeqb (%eax), %xmm1
pmovmskb %xmm1, %edi
sar %cl, %edi
add %ecx, %eax
mov %dl, %cl
mov $1, %edx
sal %cl, %edx
sub $1, %edx
and %edx, %edi
test %edi, %edi
jz L(ret_null)
bsr %edi, %edi
add %edi, %eax
P... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:18 | mov $1, %edx
sal %cl, %edx
sub $1, %edx
and %edx, %edi
test %edi, %edi
jnz L(length_less16_part2_return)
pcmpeqb (%eax), %xmm1
pmovmskb %xmm1, %edi
mov %ch, %cl
sar %cl, %edi
test %edi, %edi
jz L(ret_null)
bsr %edi, %edi
add %edi, %eax
xor %ch, %ch
add %ecx, %eax
POP (%edi)
ret
CFI_PUSH (%ed... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 681 | 723 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 0d9166c2245cad4ac520b337dee40c9a583872b6 | github | libc | https://github.com/bminor/glibc/blob/0d9166c2245cad4ac520b337dee40c9a583872b6/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:18 | mov $1, %edx
sal %cl, %edx
sub $1, %edx
and %edx, %edi
test %edi, %edi
jnz L(length_less16_part2_return)
pcmpeqb (%eax), %xmm1
pmovmskb %xmm1, %edi
mov %ch, %cl
sar %cl, %edi
test %edi, %edi
jz L(ret_null)
bsr %edi, %edi
add %edi, %eax
xor %ch, %ch
add %ecx, %eax
POP (%edi)
ret
CFI_PUSH (%ed... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 681 | 724 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 22999b2f0fb62eed1af4095d062bd1272d6afeb1 | github | libc | https://github.com/bminor/glibc/blob/22999b2f0fb62eed1af4095d062bd1272d6afeb1/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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 Softwar... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with 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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:2 | mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
mov LEN(%esp), %edx
sub $16, %edx
jbe L(length_less16)
punpcklbw %xmm1, %xmm1
add %edx, %ecx
punpcklbw %xmm1, %xmm1
movdqu (%ecx), %xmm0
pshufd $0, %xmm1, %xmm1
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(exit_dispatch)
sub $64, %ecx
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:3 | movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16)
movdqa (%ecx), %xmm4
pcmpeqb %xmm1, %xmm4
pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(exit_dispatch)
sub $6... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:4 | movdqa (%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(exit_dispatch)
mov %ecx, %eax
and $63, %eax
test %eax, %eax
jz L(align64_loop)
lea 64(%ecx), %ecx
lea 64(%edx), %edx
and $-64, %ecx
sub %eax, %edx
.p2align 4
L(align64_loop):
sub $64, %ecx
sub $64, %edx
jbe L(exit_lo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:5 | pmovmskb %xmm4, %eax
test %eax, %eax
jnz L(matches48)
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pcmpeqb (%ecx), %xmm1
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches16)
pmovmskb %xmm1, %eax
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %d... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:6 | pcmpeqb %xmm1, %xmm0
pmovmskb %xmm0, %eax
test %eax, %eax
jnz L(matches48)
movdqa 32(%ecx), %xmm2
pcmpeqb %xmm1, %xmm2
pmovmskb %xmm2, %eax
test %eax, %eax
jnz L(matches32)
movdqa 16(%ecx), %xmm3
pcmpeqb %xmm1, %xmm3
pmovmskb %xmm3, %eax
test %eax, %eax
jnz L(matches16_1)
cmp $48, %edx
jbe L(return_nul... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:7 | xor %eax, %eax
ret
.p2align 4
L(matches16):
lea 16(%ecx), %ecx
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %dl
and $15 << 4, %dl
jnz L(exit_dispatch_8)
test $0x08, %al
jnz L(exit_4)
test $0x04, %al
jnz L(exit_3)
test $0x02, %al
jnz L(exit_2)
mov %ecx, %eax
ret
.p2align 4
L(matches32):
lea 32(%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:8 | .p2align 4
L(exit_dispatch):
test %ah, %ah
jnz L(exit_dispatch_high)
mov %al, %dl
and $15 << 4, %dl
jnz L(exit_dispatch_8)
test $0x08, %al
jnz L(exit_4)
test $0x04, %al
jnz L(exit_3)
test $0x02, %al
jnz L(exit_2)
mov %ecx, %eax
ret
.p2align 4
L(exit_dispatch_8):
test $0x80, %al
jnz L(exit_8)
test $0x4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:9 | ret
.p2align 4
L(exit_dispatch_high_8):
test $0x80, %ah
jnz L(exit_16)
test $0x40, %ah
jnz L(exit_15)
test $0x20, %ah
jnz L(exit_14)
lea 12(%ecx), %eax
ret
.p2align 4
L(exit_2):
lea 1(%ecx), %eax
ret
.p2align 4
L(exit_3):
lea 2(%ecx), %eax
ret
.p2align 4
L(exit_4):
lea 3(%ecx), %eax
ret
.p2align... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 321 | 380 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.