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/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:3 | jmp L(loop)
CFI_POP (%esi)
CFI_POP (%ebx)
.p2align 4
L(unaligned_match1):
test %ecx, %ecx
jnz L(prolog_find_zero_1)
PUSH (%esi)
PUSH (%ebx)
mov %eax, %ebx
mov %edi, %esi
and $-16, %edi
jmp L(loop)
CFI_POP (%esi)
CFI_POP (%ebx)
.p2align 4
L(crosscache):
/* Hancle unaligned string. */
and $15, %ecx
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:4 | jnz L(unaligned_match)
test %edx, %edx
jnz L(return_null)
PUSH (%esi)
PUSH (%ebx)
xor %ebx, %ebx
jmp L(loop)
CFI_POP (%esi)
CFI_POP (%ebx)
.p2align 4
L(unaligned_match):
test %edx, %edx
jnz L(prolog_find_zero)
PUSH (%esi)
PUSH (%ebx)
mov %eax, %ebx
lea (%edi, %ecx), %esi
/* Loop start on aligned ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:5 | pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %ecx
pmovmskb %xmm0, %eax
or %eax, %ecx
jnz L(matches)
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeqb %xmm1, %xmm0
pmovmskb %xmm2, %ecx
pmovmskb %xmm0, %eax
or %eax, %ecx
jnz L(matches)
movdqa (%edi), %xmm0
pcmpeqb %xmm0, %xmm2
add $16, %edi
pcmpeq... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:6 | .p2align 4
L(return_null_1):
POP (%ebx)
POP (%esi)
xor %eax, %eax
RETURN
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(match):
pmovmskb %xmm2, %ecx
test %ecx, %ecx
jnz L(find_zero)
mov %eax, %ebx
mov %edi, %esi
jmp L(loop)
.p2align 4
L(find_zero):
test %cl, %cl
jz L(find_zero_high)
mov %cl, %dl
and... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:8 | CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(find_zero_high_8):
test $0x10, %ch
jnz L(FindZeroExit13)
test $0x20, %ch
jnz L(FindZeroExit14)
test $0x40, %ch
jnz L(FindZeroExit15)
and $1 << 16 - 1, %eax
jz L(return_value)
POP (%ebx)
POP (%esi)
jmp L(match_exit)
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:9 | jmp L(match_exit)
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(FindZeroExit3):
and $1 << 3 - 1, %eax
jz L(return_value)
POP (%ebx)
POP (%esi)
jmp L(match_exit)
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(FindZeroExit5):
and $1 << 5 - 1, %eax
jz L(return_value)
POP (%ebx)
POP (%esi)
jmp L(match_ex... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:11 | jz L(return_value)
POP (%ebx)
POP (%esi)
jmp L(match_exit)
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(FindZeroExit13):
and $1 << 13 - 1, %eax
jz L(return_value)
POP (%ebx)
POP (%esi)
jmp L(match_exit)
CFI_PUSH (%ebx)
CFI_PUSH (%esi)
.p2align 4
L(FindZeroExit14):
and $1 << 14 - 1, %eax
jz L(retur... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:12 | .p2align 4
L(match_exit):
test %ah, %ah
jnz L(match_exit_high)
mov %al, %dl
and $15 << 4, %dl
jnz L(match_exit_8)
test $0x08, %al
jnz L(Exit4)
test $0x04, %al
jnz L(Exit3)
test $0x02, %al
jnz L(Exit2)
lea -16(%edi), %eax
RETURN
.p2align 4
L(match_exit_8):
test $0x80, %al
jnz L(Exit8)
test $0x40, %al
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:13 | RETURN
.p2align 4
L(match_exit_high_8):
test $0x80, %ah
jnz L(Exit16)
test $0x40, %ah
jnz L(Exit15)
test $0x20, %ah
jnz L(Exit14)
lea -4(%edi), %eax
RETURN
.p2align 4
L(Exit2):
lea -15(%edi), %eax
RETURN
.p2align 4
L(Exit3):
lea -14(%edi), %eax
RETURN
.p2align 4
L(Exit4):
lea -13(%edi), %eax
RETUR... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:14 | lea -9(%edi), %eax
RETURN
.p2align 4
L(Exit10):
lea -7(%edi), %eax
RETURN
.p2align 4
L(Exit11):
lea -6(%edi), %eax
RETURN
.p2align 4
L(Exit12):
lea -5(%edi), %eax
RETURN
.p2align 4
L(Exit14):
lea -3(%edi), %eax
RETURN
.p2align 4
L(Exit15):
lea -2(%edi), %eax
RETURN
.p2align 4
L(Exit16):
lea -1(%... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:15 | L(prolog_find_zero):
add %ecx, %edi
mov %edx, %ecx
L(prolog_find_zero_1):
test %cl, %cl
jz L(prolog_find_zero_high)
mov %cl, %dl
and $15, %dl
jz L(prolog_find_zero_8)
test $0x01, %cl
jnz L(PrologFindZeroExit1)
test $0x02, %cl
jnz L(PrologFindZeroExit2)
test $0x04, %cl
jnz L(PrologFindZeroExit3)
and $1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:16 | test $0x02, %ch
jnz L(PrologFindZeroExit10)
test $0x04, %ch
jnz L(PrologFindZeroExit11)
and $1 << 12 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(prolog_find_zero_high_8):
test $0x10, %ch
jnz L(PrologFindZeroExit13)
test $0x20, %ch
jnz L(PrologFindZeroExit14)
test $0x40, %ch
jnz L(Prolo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:17 | xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit5):
and $1 << 5 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit6):
and $1 << 6 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit7):
and $1 << 7 - 1, %eax
jnz L(match_exit)
xor %eax, %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:18 | and $1 << 11 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit13):
and $1 << 13 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit14):
and $1 << 14 - 1, %eax
jnz L(match_exit)
xor %eax, %eax
RETURN
.p2align 4
L(PrologFindZeroExit15):
and $... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 681 | 708 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr-sse2.S:1 | /* strrchr SSE2 without bsf and bsr
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... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr.S:1 | /* Multiple versions of strrchr
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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strrchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr.S:1 | /* Multiple versions of strrchr
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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strrchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr.S:1 | /* Multiple versions of strrchr
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 ter... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/strrchr.S | 1 | 57 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr.S:1 | /* Multiple versions of strrchr
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 ter... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strrchr.S:2 | leal __strrchr_sse2@GOTOFF(%ebx), %eax
2: popl %ebx
cfi_adjust_cfa_offset (-4);
cfi_restore (ebx)
ret
END(strrchr)
# undef ENTRY
# define ENTRY(name) \
.type __strrchr_ia32, @function; \
.globl __strrchr_ia32; \
.p2align 4; \
__strrchr_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(name) \
cfi_en... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strrchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strrchr.S | 41 | 66 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn 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/strspn-ia32.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn-ia32.S:1 | /* strspn optimized for i686.
All versions must be listed in ifunc-impl-list.c.
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
... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strspn-ia32.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/strspn-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:1 | /* Multiple versions of strspn
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2009-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/strspn.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/strspn.S | 1 | 56 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:1 | /* Multiple versions of strspn
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2009-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/strspn.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/strspn.S | 1 | 56 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:1 | /* Multiple versions of strspn
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2009-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/strspn.S | LGPL-2.1 | 3b7aa5bf59c59adccc1c883840db59926bbfc6de | github | libc | https://github.com/bminor/glibc/blob/3b7aa5bf59c59adccc1c883840db59926bbfc6de/sysdeps/i386/i686/multiarch/strspn.S | 1 | 56 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:1 | /* Multiple versions of strspn
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2009-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/strspn.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/strspn.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:2 | # undef ENTRY
# define ENTRY(name) \
.type __strspn_ia32, @function; \
.globl __strspn_ia32; \
.p2align 4; \
__strspn_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(name) \
cfi_endproc; .size __strspn_ia32, .-__strspn_ia32
# undef libc_hidden_builtin_def
/* IFUNC doesn't work with the hidden functions... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strspn.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/strspn.S | 41 | 61 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:1 | /* Multiple versions of strspn
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2009-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/strspn.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strspn.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/strspn.S:2 | 1: leal __strspn_ia32@GOTOFF(%ebx), %eax
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
jz 2f
leal __strspn_sse42@GOTOFF(%ebx), %eax
2: popl %ebx
cfi_adjust_cfa_offset (-4);
cfi_restore (ebx)
ret
END(strspn)
# else
.text
ENTRY(strspn)
.type strspn, @gnu_indirect_function
cmpl $0, KIND... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/strspn.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/strspn.S | 41 | 85 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:2 | movd STR2(%esp), %xmm1
mov %ecx, %eax
punpckldq %xmm1, %xmm1
pxor %xmm2, %xmm2
punpckldq %xmm1, %xmm1
and $63, %eax
cmp $48, %eax
ja L(cross_cache)
movdqu (%ecx), %xmm0
pcmpeqd %xmm0, %xmm2
pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
and $-16, %ecx
jmp ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:3 | POP (%edi)
test %edx, %edx
jz L(match_case1)
test %al, %al
jz L(match_higth_case2)
test $15, %al
jnz L(match_case2_4)
test $15, %dl
jnz L(return_null)
lea 4(%ecx), %eax
ret
CFI_PUSH (%edi)
.p2align 4
L(unaligned_no_match):
mov %edi, %ecx
POP (%edi)
test %edx, %edx
jnz L(return_null)
pxor %xmm2, %x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:4 | pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
add $16, %ecx
movdqa (%ecx), %xmm0
pcmpeqd %xmm0, %xmm2
pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
add $16, %ecx
movdqa (%ecx), %xmm0
pcmpeqd %xmm0, %xmm2
pcmpeq... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:5 | lea 4(%ecx), %eax
ret
.p2align 4
L(match_case2_4):
mov %ecx, %eax
ret
.p2align 4
L(match_higth_case2):
test %dl, %dl
jnz L(return_null)
test $15, %ah
jnz L(match_case2_12)
test $15, %dh
jnz L(return_null)
lea 12(%ecx), %eax
ret
.p2align 4
L(match_case2_12):
lea 8(%ecx), %eax
ret
.p2align 4
L(match_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 161 | 218 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:6 | .p2align 4
L(exit0):
mov %ecx, %eax
ret
.p2align 4
L(exit3):
lea 8(%ecx), %eax
ret
.p2align 4
L(return_null):
xor %eax, %eax
ret
END (__wcschr_sse2)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 201 | 218 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Fre... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:2 | mov STR1(%esp), %ecx
movd STR2(%esp), %xmm1
mov %ecx, %eax
punpckldq %xmm1, %xmm1
pxor %xmm2, %xmm2
punpckldq %xmm1, %xmm1
and $63, %eax
cmp $48, %eax
ja L(cross_cache)
movdqu (%ecx), %xmm0
pcmpeqd %xmm0, %xmm2
pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:3 | add %edi, %ecx
POP (%edi)
test %edx, %edx
jz L(match_case1)
test %al, %al
jz L(match_higth_case2)
test $15, %al
jnz L(match_case2_4)
test $15, %dl
jnz L(return_null)
lea 4(%ecx), %eax
ret
CFI_PUSH (%edi)
.p2align 4
L(unaligned_no_match):
mov %edi, %ecx
POP (%edi)
test %edx, %edx
jnz L(return_null)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:4 | pcmpeqd %xmm0, %xmm2
pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
add $16, %ecx
movdqa (%ecx), %xmm0
pcmpeqd %xmm0, %xmm2
pcmpeqd %xmm1, %xmm0
pmovmskb %xmm2, %edx
pmovmskb %xmm0, %eax
or %eax, %edx
jnz L(matches)
add $16, %ecx
movdqa (%ecx), %xmm0
pcmpeq... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:5 | jnz L(return_null)
lea 4(%ecx), %eax
ret
.p2align 4
L(match_case2_4):
mov %ecx, %eax
ret
.p2align 4
L(match_higth_case2):
test %dl, %dl
jnz L(return_null)
test $15, %ah
jnz L(match_case2_12)
test $15, %dh
jnz L(return_null)
lea 12(%ecx), %eax
ret
.p2align 4
L(match_case2_12):
lea 8(%ecx), %eax
ret
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 161 | 219 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:6 | ret
.p2align 4
L(exit0):
mov %ecx, %eax
ret
.p2align 4
L(exit3):
lea 8(%ecx), %eax
ret
.p2align 4
L(return_null):
xor %eax, %eax
ret
END (__wcschr_sse2)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 201 | 219 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr-sse2.S:1 | /* wcschr with SSE2, without using bsf instructions
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 Publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcschr-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/wcschr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr.S:1 | /* Multiple versions of wcschr
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/wcschr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/wcschr.S | 1 | 36 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr.S:1 | /* Multiple versions of wcschr
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/wcschr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/wcschr.S | 1 | 36 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr.S:1 | /* Multiple versions of wcschr
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/wcschr.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/wcschr.S | 1 | 36 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcschr.S:1 | /* Multiple versions of wcschr
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/wcschr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/wcschr.S | 1 | 45 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:1 | /* wcscmp 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; either
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:2 | .text
ENTRY (__wcscmp_sse2)
/*
* This implementation uses SSE to compare up to 16 bytes at a time.
*/
mov STR1(%esp), %edx
mov STR2(%esp), %eax
mov (%eax), %ecx
cmp %ecx, (%edx)
jne L(neq)
test %ecx, %ecx
jz L(eq)
mov 4(%eax), %ecx
cmp %ecx, 4(%edx)
jne L(neq)
test %ecx, %ecx
jz L(eq)
mov 8(%eax), %ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:3 | mov %al, %ch
mov %dl, %cl
and $63, %eax /* esi alignment in cache line */
and $63, %edx /* edi alignment in cache line */
and $15, %cl
jz L(continue_00)
cmp $16, %edx
jb L(continue_0)
cmp $32, %edx
jb L(continue_16)
cmp $48, %edx
jb L(continue_32)
L(continue_48):
and $15, %ch
jz L(continue_48_00)
cmp $... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:4 | test %ecx, %ecx
jz L(equal)
mov 12(%esi), %ecx
cmp %ecx, 12(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
movdqu 16(%edi), %xmm1
movdqu 16(%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd %xmm2, %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:5 | L(continue_0):
and $15, %ch
jz L(continue_0_00)
cmp $16, %eax
jb L(continue_0_0)
cmp $32, %eax
jb L(continue_0_16)
cmp $48, %eax
jb L(continue_0_32)
.p2align 4
L(continue_0_48):
mov (%esi), %ecx
cmp %ecx, (%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 4(%esi), %ecx
cmp %ecx, 4(%edi)
jne L(nequa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:6 | psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_double_words_16)
movdqu 32(%edi), %xmm1
movdqu 32(%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd %xmm2, %xmm1 /* compare fi... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:7 | jmp L(continue_0_48)
.p2align 4
L(continue_00):
and $15, %ch
jz L(continue_00_00)
cmp $16, %eax
jb L(continue_00_0)
cmp $32, %eax
jb L(continue_00_16)
cmp $48, %eax
jb L(continue_00_32)
.p2align 4
L(continue_00_48):
pcmpeqd (%edi), %xmm0
mov (%edi), %eax
pmovmskb %xmm0, %ecx
test %ecx, %ecx
jnz L(less4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:8 | pmovmskb %xmm2, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_double_words_16)
movdqu 32(%esi), %xmm2
pcmpeqd %xmm2, %xmm0 /* Any null double_word? */
pcmpeqd 32(%edi), %xmm2 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm2 /* packed sub of compari... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:9 | test %ecx, %ecx
jz L(equal)
mov 4(%esi), %ecx
cmp %ecx, 4(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 8(%esi), %ecx
cmp %ecx, 8(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 12(%esi), %ecx
cmp %ecx, 12(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 16(%esi), %ecx
cmp %ecx, 16(%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:10 | cmp %ecx, 28(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
movdqu 32(%edi), %xmm1
movdqu 32(%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd %xmm2, %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:11 | mov (%esi), %ecx
cmp %ecx, (%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 4(%esi), %ecx
cmp %ecx, 4(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 8(%esi), %ecx
cmp %ecx, 8(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 12(%esi), %ecx
cmp %ecx, 12(%edi)
jne L(nequal)
test %ecx, %ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:12 | cmp %ecx, 36(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 40(%esi), %ecx
cmp %ecx, 40(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
mov 44(%esi), %ecx
cmp %ecx, 44(%edi)
jne L(nequal)
test %ecx, %ecx
jz L(equal)
movdqu 48(%edi), %xmm1
movdqu 48(%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:13 | movdqa 16(%edi), %xmm3
pcmpeqd %xmm3, %xmm0 /* Any null double_word? */
pcmpeqd 16(%esi), %xmm3 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm3 /* packed sub of comparison results*/
pmovmskb %xmm3, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_doub... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:14 | jmp L(continue_00_48)
.p2align 4
L(continue_00_16):
movdqu (%esi), %xmm2
pcmpeqd %xmm2, %xmm0 /* Any null double_word? */
pcmpeqd (%edi), %xmm2 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm2 /* packed sub of comparison results*/
pmovmskb %xmm2, %edx
sub $0xffff, %edx /* if first 4 double... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:15 | jnz L(less4_double_words_16)
movdqu 32(%esi), %xmm2
pcmpeqd %xmm2, %xmm0 /* Any null double_word? */
pcmpeqd 32(%edi), %xmm2 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm2 /* packed sub of comparison results*/
pmovmskb %xmm2, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:16 | psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_double_words_16)
movdqu 32(%edi), %xmm1
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd 32(%esi), %xmm1 /* compare first 4 double_words fo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:17 | L(continue_16_00):
movdqu (%edi), %xmm1
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd (%esi), %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:18 | pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd 32(%esi), %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_double_words_32)
add $48, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 681 | 740 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:19 | pcmpeqd %xmm4, %xmm3 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm3 /* packed sub of comparison results*/
pmovmskb %xmm3, %edx
sub $0xffff, %edx /* if first 4 double_words are same, edx == 0xffff */
jnz L(less4_double_words_16)
add $32, %esi
add $32, %edi
jmp L(continue_48_48)
.p2align ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 721 | 780 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:20 | add $48, %edi
jmp L(continue_48_48)
.p2align 4
L(continue_0_16):
movdqu (%edi), %xmm1
movdqu (%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd %xmm2, %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 761 | 820 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:21 | jmp L(continue_16_48)
.p2align 4
L(continue_16_32):
movdqu (%edi), %xmm1
movdqu (%esi), %xmm2
pcmpeqd %xmm1, %xmm0 /* Any null double_word? */
pcmpeqd %xmm2, %xmm1 /* compare first 4 double_words for equality */
psubb %xmm0, %xmm1 /* packed sub of comparison results*/
pmovmskb %xmm1, %edx
sub $0xffff, %edx ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 801 | 860 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:22 | RETURN
.p2align 4
L(less4_double_words):
xor %eax, %eax
test %dl, %dl
jz L(next_two_double_words)
and $15, %dl
jz L(second_double_word)
mov (%esi), %ecx
cmp %ecx, (%edi)
jne L(nequal)
RETURN
.p2align 4
L(second_double_word):
mov 4(%esi), %ecx
cmp %ecx, 4(%edi)
jne L(nequal)
RETURN
.p2align 4
L(next_t... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 841 | 900 |
bminor/glibc:sysdeps/i386/i686/multiarch/wcscmp-sse2.S:23 | test %dl, %dl
jz L(next_two_double_words_16)
and $15, %dl
jz L(second_double_word_16)
mov 16(%esi), %ecx
cmp %ecx, 16(%edi)
jne L(nequal)
RETURN
.p2align 4
L(second_double_word_16):
mov 20(%esi), %ecx
cmp %ecx, 20(%edi)
jne L(nequal)
RETURN
.p2align 4
L(next_two_double_words_16):
and $15, %dh
jz L(four... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/wcscmp-sse2.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/wcscmp-sse2.S | 881 | 940 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.