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/memrchr-sse2.S:10 | lea 7(%ecx), %eax
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
re... | 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 | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:11 | 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(matches16_1):
lea -48(%edx), %edx
lea 16(%ecx), %ecx
test %ah, %ah
jnz L(exit_dispatch_1_high)
mov ... | 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 | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:12 | jnz L(exit_dispatch_1_high)
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
.p2al... | 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 | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:13 | test $0x80, %al
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(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 | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:14 | .p2align 4
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), ... | 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 | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:15 | ret
.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)... | 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 | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:16 | jl L(return_null)
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, ... | 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 | 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 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:18 | 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
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... | 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 | 681 | 724 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr-sse2.S:1 | /* Optimized memrchr with sse2 without bsf
Copyright (C) 2011-2020 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/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-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
Lic... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr-sse2.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memrchr-sse2.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr.S:1 | /* Multiple versions of memrchr
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/memrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memrchr.S | 1 | 45 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr.S:1 | /* Multiple versions of memrchr
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/memrchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/memrchr.S | 1 | 45 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr.S:1 | /* Multiple versions of memrchr
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/memrchr.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/memrchr.S | 1 | 45 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr.S:1 | /* Multiple versions of memrchr
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/memrchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memrchr.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memrchr.S:2 | call __init_cpu_features
1: testl $bit_SSE2, CPUID_OFFSET+index_SSE2+__cpu_features@GOTOFF(%ebx)
jz 2f
testl $bit_Slow_BSF, FEATURE_OFFSET+index_Slow_BSF+__cpu_features@GOTOFF(%ebx)
jz 3f
leal __memrchr_sse2@GOTOFF(%ebx), %eax
popl %ebx
CFI_POP (%ebx)
ret
CFI_PUSH (%ebx)
2: leal __memrchr_ia32@GOTOFF(%ebx),... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memrchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memrchr.S | 41 | 69 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 34 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 34 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 34 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 0b1a76c57782a03685f405ee53e6d5f691d69298 | github | libc | https://github.com/bminor/glibc/blob/0b1a76c57782a03685f405ee53e6d5f691d69298/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 34 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset 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/memset-ia32.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-ia32.S:1 | /* memset optimized for i686.
Copyright (C) 2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; eith... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-ia32.S | LGPL-2.1 | 973da22a356ed072133562e6f1ecd833c31fa9a0 | github | libc | https://github.com/bminor/glibc/blob/973da22a356ed072133562e6f1ecd833c31fa9a0/sysdeps/i386/i686/multiarch/memset-ia32.S | 1 | 33 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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 Found... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:2 | # define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CFI_PUSH (%ebx)
# define PARMS 8 /* Preserve EBX. */
# define JMPTBL(I, B) I - B
/* Load an entry in a jump table into EBX and branch to it. TABLE is a
jump table with relative offsets. */
# define BRANCH_TO_JMPTBL... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:3 | #endif
ENTRY (__memset_sse2_rep)
ENTRANCE
movl LEN(%esp), %ecx
movzbl CHR(%esp), %eax
movb %al, %ah
/* Fill the whole EAX with pattern. */
movl %eax, %edx
shl $16, %eax
or %edx, %eax
movl DEST(%esp), %edx
cmp $32, %ecx
jae L(32bytesormore)
L(write_less32bytes):
BRANCH_TO_JMPTBL_ENTRY (L(table_less_32byte... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:4 | .int JMPTBL (L(write_18bytes), L(table_less_32bytes))
.int JMPTBL (L(write_19bytes), L(table_less_32bytes))
.int JMPTBL (L(write_20bytes), L(table_less_32bytes))
.int JMPTBL (L(write_21bytes), L(table_less_32bytes))
.int JMPTBL (L(write_22bytes), L(table_less_32bytes))
.int JMPTBL (L(write_23bytes), L(table_less_3... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:5 | L(write_21bytes):
movl %eax, -21(%edx)
L(write_17bytes):
movl %eax, -17(%edx)
L(write_13bytes):
movl %eax, -13(%edx)
L(write_9bytes):
movl %eax, -9(%edx)
L(write_5bytes):
movl %eax, -5(%edx)
L(write_1bytes):
movb %al, -1(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(write_30bytes):
movl %eax, -30(%edx)
L(write_26bytes)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:6 | L(write_23bytes):
movl %eax, -23(%edx)
L(write_19bytes):
movl %eax, -19(%edx)
L(write_15bytes):
movl %eax, -15(%edx)
L(write_11bytes):
movl %eax, -11(%edx)
L(write_7bytes):
movl %eax, -7(%edx)
L(write_3bytes):
movw %ax, -3(%edx)
movb %al, -1(%edx)
SETRTNVAL
RETURN
ALIGN (4)
/* ECX > 32 and EDX is 4 byte alig... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:7 | BRANCH_TO_JMPTBL_ENTRY (L(table_16_128bytes))
ALIGN (4)
L(128bytesormore):
PUSH (%edi)
#ifdef DATA_CACHE_SIZE
PUSH (%ebx)
mov $DATA_CACHE_SIZE, %ebx
#else
# ifdef PIC
SETUP_PIC_REG(bx)
add $_GLOBAL_OFFSET_TABLE_, %ebx
mov __x86_data_cache_size@GOTOFF(%ebx), %ebx
# else
PUSH (%ebx)
mov __x86_data_cache_size, %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:8 | movdqa %xmm0, 0x70(%edx)
lea 128(%edx), %edx
jb L(128bytesless_normal)
sub $128, %ecx
movdqa %xmm0, (%edx)
movdqa %xmm0, 0x10(%edx)
movdqa %xmm0, 0x20(%edx)
movdqa %xmm0, 0x30(%edx)
movdqa %xmm0, 0x40(%edx)
movdqa %xmm0, 0x50(%edx)
movdqa %xmm0, 0x60(%edx)
movdqa %xmm0, 0x70(%edx)
lea 128(%edx), %edx
jae... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:9 | POP (%edi)
SETRTNVAL
RETURN
.pushsection .rodata.sse2,"a",@progbits
ALIGN (2)
L(table_16_128bytes):
.int JMPTBL (L(aligned_16_0bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_1bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_2bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_3bytes), L(tab... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:10 | .int JMPTBL (L(aligned_16_33bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_34bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_35bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_36bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_37bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:11 | .int JMPTBL (L(aligned_16_73bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_74bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_75bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_76bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_77bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:12 | .int JMPTBL (L(aligned_16_113bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_114bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_115bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_116bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_117bytes), L(table_16_128bytes))
.int JMPTBL (L(align... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:13 | movdqa %xmm0, -97(%edx)
L(aligned_16_81bytes):
movdqa %xmm0, -81(%edx)
L(aligned_16_65bytes):
movdqa %xmm0, -65(%edx)
L(aligned_16_49bytes):
movdqa %xmm0, -49(%edx)
L(aligned_16_33bytes):
movdqa %xmm0, -33(%edx)
L(aligned_16_17bytes):
movdqa %xmm0, -17(%edx)
L(aligned_16_1bytes):
movb %al, -1(%edx)
SETRTNVAL
RE... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:14 | movdqa %xmm0, -99(%edx)
L(aligned_16_83bytes):
movdqa %xmm0, -83(%edx)
L(aligned_16_67bytes):
movdqa %xmm0, -67(%edx)
L(aligned_16_51bytes):
movdqa %xmm0, -51(%edx)
L(aligned_16_35bytes):
movdqa %xmm0, -35(%edx)
L(aligned_16_19bytes):
movdqa %xmm0, -19(%edx)
L(aligned_16_3bytes):
movw %ax, -3(%edx)
movb %al, -1(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:15 | L(aligned_16_101bytes):
movdqa %xmm0, -101(%edx)
L(aligned_16_85bytes):
movdqa %xmm0, -85(%edx)
L(aligned_16_69bytes):
movdqa %xmm0, -69(%edx)
L(aligned_16_53bytes):
movdqa %xmm0, -53(%edx)
L(aligned_16_37bytes):
movdqa %xmm0, -37(%edx)
L(aligned_16_21bytes):
movdqa %xmm0, -21(%edx)
L(aligned_16_5bytes):
movl %e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:16 | L(aligned_16_119bytes):
movdqa %xmm0, -119(%edx)
L(aligned_16_103bytes):
movdqa %xmm0, -103(%edx)
L(aligned_16_87bytes):
movdqa %xmm0, -87(%edx)
L(aligned_16_71bytes):
movdqa %xmm0, -71(%edx)
L(aligned_16_55bytes):
movdqa %xmm0, -55(%edx)
L(aligned_16_39bytes):
movdqa %xmm0, -39(%edx)
L(aligned_16_23bytes):
movd... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:17 | ALIGN (4)
L(aligned_16_121bytes):
movdqa %xmm0, -121(%edx)
L(aligned_16_105bytes):
movdqa %xmm0, -105(%edx)
L(aligned_16_89bytes):
movdqa %xmm0, -89(%edx)
L(aligned_16_73bytes):
movdqa %xmm0, -73(%edx)
L(aligned_16_57bytes):
movdqa %xmm0, -57(%edx)
L(aligned_16_41bytes):
movdqa %xmm0, -41(%edx)
L(aligned_16_25byt... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:18 | SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_123bytes):
movdqa %xmm0, -123(%edx)
L(aligned_16_107bytes):
movdqa %xmm0, -107(%edx)
L(aligned_16_91bytes):
movdqa %xmm0, -91(%edx)
L(aligned_16_75bytes):
movdqa %xmm0, -75(%edx)
L(aligned_16_59bytes):
movdqa %xmm0, -59(%edx)
L(aligned_16_43bytes):
movdqa %xmm0, -43(%edx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 681 | 740 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:19 | L(aligned_16_12bytes):
movq %xmm0, -12(%edx)
movl %eax, -4(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_125bytes):
movdqa %xmm0, -125(%edx)
L(aligned_16_109bytes):
movdqa %xmm0, -109(%edx)
L(aligned_16_93bytes):
movdqa %xmm0, -93(%edx)
L(aligned_16_77bytes):
movdqa %xmm0, -77(%edx)
L(aligned_16_61bytes):
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 721 | 780 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:20 | movdqa %xmm0, -46(%edx)
L(aligned_16_30bytes):
movdqa %xmm0, -30(%edx)
L(aligned_16_14bytes):
movq %xmm0, -14(%edx)
movl %eax, -6(%edx)
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_127bytes):
movdqa %xmm0, -127(%edx)
L(aligned_16_111bytes):
movdqa %xmm0, -111(%edx)
L(aligned_16_95bytes):
movdqa... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 761 | 796 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:2 | # define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CFI_PUSH (%ebx)
# define PARMS 8 /* Preserve EBX. */
# define JMPTBL(I, B) I - B
/* Load an entry in a jump table into EBX and branch to it. TABLE is a
jump table with relative offsets. */
# define BRANCH_TO_JMPTBL... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 0f88a5c66e1cbb574bf37d953bf7155c0a1f5ae7 | github | libc | https://github.com/bminor/glibc/blob/0f88a5c66e1cbb574bf37d953bf7155c0a1f5ae7/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:2 | # define CHR DEST+4
# define LEN CHR+4
# define SETRTNVAL movl DEST(%esp), %eax
#endif
#ifdef PIC
# define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CFI_PUSH (%ebx)
# define PARMS 8 /* Preserve EBX. */
# define JMPTBL(I, B) I - B
/* Load an entry in a jump table into ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:3 | #if defined SHARED && IS_IN (libc) && !defined USE_AS_BZERO
ENTRY (__memset_chk_sse2_rep)
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memset_chk_sse2_rep)
#endif
ENTRY (__memset_sse2_rep)
ENTRANCE
movl LEN(%esp), %ecx
#ifdef USE_AS_BZERO
xor %eax, %eax
#else
movzbl CHR(%esp)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:4 | .int JMPTBL (L(write_8bytes), L(table_less_32bytes))
.int JMPTBL (L(write_9bytes), L(table_less_32bytes))
.int JMPTBL (L(write_10bytes), L(table_less_32bytes))
.int JMPTBL (L(write_11bytes), L(table_less_32bytes))
.int JMPTBL (L(write_12bytes), L(table_less_32bytes))
.int JMPTBL (L(write_13bytes), L(table_less_32b... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:5 | movl %eax, -4(%edx)
L(write_0bytes):
SETRTNVAL
RETURN
ALIGN (4)
L(write_29bytes):
movl %eax, -29(%edx)
L(write_25bytes):
movl %eax, -25(%edx)
L(write_21bytes):
movl %eax, -21(%edx)
L(write_17bytes):
movl %eax, -17(%edx)
L(write_13bytes):
movl %eax, -13(%edx)
L(write_9bytes):
movl %eax, -9(%edx)
L(write_5bytes... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:6 | L(write_2bytes):
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(write_31bytes):
movl %eax, -31(%edx)
L(write_27bytes):
movl %eax, -27(%edx)
L(write_23bytes):
movl %eax, -23(%edx)
L(write_19bytes):
movl %eax, -19(%edx)
L(write_15bytes):
movl %eax, -15(%edx)
L(write_11bytes):
movl %eax, -11(%edx)
L(write_7byt... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:7 | movdqu %xmm0, (%edx)
movl %edx, %eax
and $-16, %edx
add $16, %edx
sub %edx, %eax
add %eax, %ecx
movd %xmm0, %eax
ALIGN (4)
L(aligned_16):
cmp $128, %ecx
jae L(128bytesormore)
L(aligned_16_less128bytes):
BRANCH_TO_JMPTBL_ENTRY (L(table_16_128bytes))
ALIGN (4)
L(128bytesormore):
PUSH (%edi)
#ifdef DATA_CAC... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:8 | * fast string will prefetch and combine data efficiently.
*/
cmp %edi, %ecx
jae L(128bytesormore_endof_L1)
subl $128, %ecx
L(128bytesormore_normal):
sub $128, %ecx
movdqa %xmm0, (%edx)
movdqa %xmm0, 0x10(%edx)
movdqa %xmm0, 0x20(%edx)
movdqa %xmm0, 0x30(%edx)
movdqa %xmm0, 0x40(%edx)
movdqa %xmm0, 0x50(%edx)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:9 | mov %ecx, %edx
shr $2, %ecx
and $3, %edx
rep stosl
jz L(copy_page_by_rep_exit)
cmp $2, %edx
jb L(copy_page_by_rep_left_1)
movw %ax, (%edi)
add $2, %edi
sub $2, %edx
jz L(copy_page_by_rep_exit)
L(copy_page_by_rep_left_1):
movb %al, (%edi)
L(copy_page_by_rep_exit):
POP (%edi)
SETRTNVAL
RETURN
.pushsection... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:10 | .int JMPTBL (L(aligned_16_19bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_20bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_21bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_22bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_23bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:11 | .int JMPTBL (L(aligned_16_59bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_60bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_61bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_62bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_63bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:12 | .int JMPTBL (L(aligned_16_99bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_100bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_101bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_102bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_103bytes), L(table_16_128bytes))
.int JMPTBL (L(aligne... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:13 | L(aligned_16_48bytes):
movdqa %xmm0, -48(%edx)
L(aligned_16_32bytes):
movdqa %xmm0, -32(%edx)
L(aligned_16_16bytes):
movdqa %xmm0, -16(%edx)
L(aligned_16_0bytes):
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_113bytes):
movdqa %xmm0, -113(%edx)
L(aligned_16_97bytes):
movdqa %xmm0, -97(%edx)
L(aligned_16_81bytes):
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:14 | movdqa %xmm0, -50(%edx)
L(aligned_16_34bytes):
movdqa %xmm0, -34(%edx)
L(aligned_16_18bytes):
movdqa %xmm0, -18(%edx)
L(aligned_16_2bytes):
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_115bytes):
movdqa %xmm0, -115(%edx)
L(aligned_16_99bytes):
movdqa %xmm0, -99(%edx)
L(aligned_16_83bytes):
movdq... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:15 | L(aligned_16_52bytes):
movdqa %xmm0, -52(%edx)
L(aligned_16_36bytes):
movdqa %xmm0, -36(%edx)
L(aligned_16_20bytes):
movdqa %xmm0, -20(%edx)
L(aligned_16_4bytes):
movl %eax, -4(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_117bytes):
movdqa %xmm0, -117(%edx)
L(aligned_16_101bytes):
movdqa %xmm0, -101(%edx)
L(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:16 | movdqa %xmm0, -70(%edx)
L(aligned_16_54bytes):
movdqa %xmm0, -54(%edx)
L(aligned_16_38bytes):
movdqa %xmm0, -38(%edx)
L(aligned_16_22bytes):
movdqa %xmm0, -22(%edx)
L(aligned_16_6bytes):
movl %eax, -6(%edx)
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_119bytes):
movdqa %xmm0, -119(%edx)
L(aligne... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:17 | L(aligned_16_88bytes):
movdqa %xmm0, -88(%edx)
L(aligned_16_72bytes):
movdqa %xmm0, -72(%edx)
L(aligned_16_56bytes):
movdqa %xmm0, -56(%edx)
L(aligned_16_40bytes):
movdqa %xmm0, -40(%edx)
L(aligned_16_24bytes):
movdqa %xmm0, -24(%edx)
L(aligned_16_8bytes):
movq %xmm0, -8(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(ali... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:18 | movdqa %xmm0, -106(%edx)
L(aligned_16_90bytes):
movdqa %xmm0, -90(%edx)
L(aligned_16_74bytes):
movdqa %xmm0, -74(%edx)
L(aligned_16_58bytes):
movdqa %xmm0, -58(%edx)
L(aligned_16_42bytes):
movdqa %xmm0, -42(%edx)
L(aligned_16_26bytes):
movdqa %xmm0, -26(%edx)
L(aligned_16_10bytes):
movq %xmm0, -10(%edx)
movw %ax... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 681 | 740 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:19 | L(aligned_16_124bytes):
movdqa %xmm0, -124(%edx)
L(aligned_16_108bytes):
movdqa %xmm0, -108(%edx)
L(aligned_16_92bytes):
movdqa %xmm0, -92(%edx)
L(aligned_16_76bytes):
movdqa %xmm0, -76(%edx)
L(aligned_16_60bytes):
movdqa %xmm0, -60(%edx)
L(aligned_16_44bytes):
movdqa %xmm0, -44(%edx)
L(aligned_16_28bytes):
movd... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 721 | 780 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:20 | RETURN
ALIGN (4)
L(aligned_16_126bytes):
movdqa %xmm0, -126(%edx)
L(aligned_16_110bytes):
movdqa %xmm0, -110(%edx)
L(aligned_16_94bytes):
movdqa %xmm0, -94(%edx)
L(aligned_16_78bytes):
movdqa %xmm0, -78(%edx)
L(aligned_16_62bytes):
movdqa %xmm0, -62(%edx)
L(aligned_16_46bytes):
movdqa %xmm0, -46(%edx)
L(aligned... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 761 | 810 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:21 | movq %xmm0, -15(%edx)
movl %eax, -7(%edx)
movw %ax, -3(%edx)
movb %al, -1(%edx)
SETRTNVAL
RETURN_END
END (__memset_sse2_rep)
#endif | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 801 | 810 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:1 | /* memset with SSE2 and REP string.
Copyright (C) 2010-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/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:2 | # define DEST PARMS
# define CHR DEST+4
# define LEN CHR+4
# define SETRTNVAL movl DEST(%esp), %eax
#endif
#ifdef PIC
# define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CFI_PUSH (%ebx)
# define PARMS 8 /* Preserve EBX. */
# define JMPTBL(I, B) I - B
/* Load an entry ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:3 | .section .text.sse2,"ax",@progbits
#if defined SHARED && IS_IN (libc) && !defined USE_AS_BZERO
ENTRY (__memset_chk_sse2_rep)
movl 12(%esp), %eax
cmpl %eax, 16(%esp)
jb HIDDEN_JUMPTARGET (__chk_fail)
END (__memset_chk_sse2_rep)
#endif
ENTRY (__memset_sse2_rep)
ENTRANCE
movl LEN(%esp), %ecx
#ifdef USE_AS_BZERO
xor... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:4 | .int JMPTBL (L(write_7bytes), L(table_less_32bytes))
.int JMPTBL (L(write_8bytes), L(table_less_32bytes))
.int JMPTBL (L(write_9bytes), L(table_less_32bytes))
.int JMPTBL (L(write_10bytes), L(table_less_32bytes))
.int JMPTBL (L(write_11bytes), L(table_less_32bytes))
.int JMPTBL (L(write_12bytes), L(table_less_32by... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:5 | L(write_4bytes):
movl %eax, -4(%edx)
L(write_0bytes):
SETRTNVAL
RETURN
ALIGN (4)
L(write_29bytes):
movl %eax, -29(%edx)
L(write_25bytes):
movl %eax, -25(%edx)
L(write_21bytes):
movl %eax, -21(%edx)
L(write_17bytes):
movl %eax, -17(%edx)
L(write_13bytes):
movl %eax, -13(%edx)
L(write_9bytes):
movl %eax, -9(%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:6 | movl %eax, -6(%edx)
L(write_2bytes):
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(write_31bytes):
movl %eax, -31(%edx)
L(write_27bytes):
movl %eax, -27(%edx)
L(write_23bytes):
movl %eax, -23(%edx)
L(write_19bytes):
movl %eax, -19(%edx)
L(write_15bytes):
movl %eax, -15(%edx)
L(write_11bytes):
movl %eax, -1... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:7 | L(not_aligned_16):
movdqu %xmm0, (%edx)
movl %edx, %eax
and $-16, %edx
add $16, %edx
sub %edx, %eax
add %eax, %ecx
movd %xmm0, %eax
ALIGN (4)
L(aligned_16):
cmp $128, %ecx
jae L(128bytesormore)
L(aligned_16_less128bytes):
BRANCH_TO_JMPTBL_ENTRY (L(table_16_128bytes))
ALIGN (4)
L(128bytesormore):
PUSH (%... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:8 | * When data size approximate the end of L1 cache,
* fast string will prefetch and combine data efficiently.
*/
cmp %edi, %ecx
jae L(128bytesormore_endof_L1)
subl $128, %ecx
L(128bytesormore_normal):
sub $128, %ecx
movdqa %xmm0, (%edx)
movdqa %xmm0, 0x10(%edx)
movdqa %xmm0, 0x20(%edx)
movdqa %xmm0, 0x30(%edx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:9 | mov %edx, %edi
mov %ecx, %edx
shr $2, %ecx
and $3, %edx
rep stosl
jz L(copy_page_by_rep_exit)
cmp $2, %edx
jb L(copy_page_by_rep_left_1)
movw %ax, (%edi)
add $2, %edi
sub $2, %edx
jz L(copy_page_by_rep_exit)
L(copy_page_by_rep_left_1):
movb %al, (%edi)
L(copy_page_by_rep_exit):
POP (%edi)
SETRTNVAL
RETUR... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:10 | .int JMPTBL (L(aligned_16_18bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_19bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_20bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_21bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_22bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:11 | .int JMPTBL (L(aligned_16_58bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_59bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_60bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_61bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_62bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:12 | .int JMPTBL (L(aligned_16_98bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_99bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_100bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_101bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned_16_102bytes), L(table_16_128bytes))
.int JMPTBL (L(aligned... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:13 | movdqa %xmm0, -64(%edx)
L(aligned_16_48bytes):
movdqa %xmm0, -48(%edx)
L(aligned_16_32bytes):
movdqa %xmm0, -32(%edx)
L(aligned_16_16bytes):
movdqa %xmm0, -16(%edx)
L(aligned_16_0bytes):
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_113bytes):
movdqa %xmm0, -113(%edx)
L(aligned_16_97bytes):
movdqa %xmm0, -97(%edx)
L... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:14 | L(aligned_16_50bytes):
movdqa %xmm0, -50(%edx)
L(aligned_16_34bytes):
movdqa %xmm0, -34(%edx)
L(aligned_16_18bytes):
movdqa %xmm0, -18(%edx)
L(aligned_16_2bytes):
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_115bytes):
movdqa %xmm0, -115(%edx)
L(aligned_16_99bytes):
movdqa %xmm0, -99(%edx)
L(ali... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:15 | movdqa %xmm0, -68(%edx)
L(aligned_16_52bytes):
movdqa %xmm0, -52(%edx)
L(aligned_16_36bytes):
movdqa %xmm0, -36(%edx)
L(aligned_16_20bytes):
movdqa %xmm0, -20(%edx)
L(aligned_16_4bytes):
movl %eax, -4(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_117bytes):
movdqa %xmm0, -117(%edx)
L(aligned_16_101bytes):
mov... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:16 | L(aligned_16_70bytes):
movdqa %xmm0, -70(%edx)
L(aligned_16_54bytes):
movdqa %xmm0, -54(%edx)
L(aligned_16_38bytes):
movdqa %xmm0, -38(%edx)
L(aligned_16_22bytes):
movdqa %xmm0, -22(%edx)
L(aligned_16_6bytes):
movl %eax, -6(%edx)
movw %ax, -2(%edx)
SETRTNVAL
RETURN
ALIGN (4)
L(aligned_16_119bytes):
movdqa %x... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:17 | movdqa %xmm0, -104(%edx)
L(aligned_16_88bytes):
movdqa %xmm0, -88(%edx)
L(aligned_16_72bytes):
movdqa %xmm0, -72(%edx)
L(aligned_16_56bytes):
movdqa %xmm0, -56(%edx)
L(aligned_16_40bytes):
movdqa %xmm0, -40(%edx)
L(aligned_16_24bytes):
movdqa %xmm0, -24(%edx)
L(aligned_16_8bytes):
movq %xmm0, -8(%edx)
SETRTNVAL
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 641 | 700 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:18 | L(aligned_16_106bytes):
movdqa %xmm0, -106(%edx)
L(aligned_16_90bytes):
movdqa %xmm0, -90(%edx)
L(aligned_16_74bytes):
movdqa %xmm0, -74(%edx)
L(aligned_16_58bytes):
movdqa %xmm0, -58(%edx)
L(aligned_16_42bytes):
movdqa %xmm0, -42(%edx)
L(aligned_16_26bytes):
movdqa %xmm0, -26(%edx)
L(aligned_16_10bytes):
movq %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 681 | 740 |
bminor/glibc:sysdeps/i386/i686/multiarch/memset-sse2-rep.S:19 | ALIGN (4)
L(aligned_16_124bytes):
movdqa %xmm0, -124(%edx)
L(aligned_16_108bytes):
movdqa %xmm0, -108(%edx)
L(aligned_16_92bytes):
movdqa %xmm0, -92(%edx)
L(aligned_16_76bytes):
movdqa %xmm0, -76(%edx)
L(aligned_16_60bytes):
movdqa %xmm0, -60(%edx)
L(aligned_16_44bytes):
movdqa %xmm0, -44(%edx)
L(aligned_16_28byt... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memset-sse2-rep.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S | 721 | 780 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.