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/memcmp-ssse3.S:45 | jmp L(36bytes)
# endif
.p2align 4
L(less48bytes):
cmp $8, %ecx
jae L(more8bytes)
# ifndef USE_AS_WMEMCMP
cmp $2, %ecx
je L(2bytes)
cmp $3, %ecx
je L(3bytes)
cmp $4, %ecx
je L(4bytes)
cmp $5, %ecx
je L(5bytes)
cmp $6, %ecx
je L(6bytes)
jmp L(7bytes)
# else
jmp L(4bytes)
# endif
.p2align 4
L(more40bytes... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,761 | 1,820 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:46 | jmp L(47bytes)
.p2align 4
L(44bytes):
mov -44(%eax), %ecx
mov -44(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(40bytes):
mov -40(%eax), %ecx
mov -40(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(36bytes):
mov -36(%eax), %ecx
mov -36(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(32bytes):
mov -32(%eax), ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,801 | 1,860 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:47 | mov -16(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(12bytes):
mov -12(%eax), %ecx
mov -12(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(8bytes):
mov -8(%eax), %ecx
mov -8(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(4bytes):
mov -4(%eax), %ecx
mov -4(%edx), %ebx
cmp %ebx, %ecx
mov $0, %eax
jne L(find_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,841 | 1,900 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:48 | L(28bytes):
mov -28(%eax), %ecx
cmp -28(%edx), %ecx
jne L(find_diff)
L(24bytes):
mov -24(%eax), %ecx
cmp -24(%edx), %ecx
jne L(find_diff)
L(20bytes):
mov -20(%eax), %ecx
cmp -20(%edx), %ecx
jne L(find_diff)
L(16bytes):
mov -16(%eax), %ecx
cmp -16(%edx), %ecx
jne L(find_diff)
L(12bytes):
mov -12(%eax), %ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,881 | 1,940 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:49 | cmp %ebx, %ecx
jne L(find_diff)
L(41bytes):
mov -41(%eax), %ecx
mov -41(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(37bytes):
mov -37(%eax), %ecx
mov -37(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(33bytes):
mov -33(%eax), %ecx
mov -33(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(29bytes):
mov -29(%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,921 | 1,980 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:50 | cmp %ebx, %ecx
jne L(find_diff)
L(9bytes):
mov -9(%eax), %ecx
mov -9(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(5bytes):
mov -5(%eax), %ecx
mov -5(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
movzbl -1(%eax), %ecx
cmp -1(%edx), %cl
mov $0, %eax
jne L(end)
POP (%ebx)
ret
CFI_PUSH (%ebx)
.p2align 4
L(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1,961 | 2,020 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:51 | jne L(find_diff)
L(30bytes):
mov -30(%eax), %ecx
mov -30(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(26bytes):
mov -26(%eax), %ecx
mov -26(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(22bytes):
mov -22(%eax), %ecx
mov -22(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(18bytes):
mov -18(%eax), %ecx
mov -... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2,001 | 2,060 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:52 | jne L(end)
cmp %bh, %ch
mov $0, %eax
jne L(end)
POP (%ebx)
ret
CFI_PUSH (%ebx)
.p2align 4
L(47bytes):
movl -47(%eax), %ecx
movl -47(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(43bytes):
movl -43(%eax), %ecx
movl -43(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(39bytes):
movl -39(%eax), %ecx
movl -3... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2,041 | 2,100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:53 | movl -23(%eax), %ecx
movl -23(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(19bytes):
movl -19(%eax), %ecx
movl -19(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(15bytes):
movl -15(%eax), %ecx
movl -15(%edx), %ebx
cmp %ebx, %ecx
jne L(find_diff)
L(11bytes):
movl -11(%eax), %ecx
movl -11(%edx), %ebx
cmp %e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2,081 | 2,140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:54 | L(find_diff):
cmpb %bl, %cl
jne L(end)
cmp %bx, %cx
jne L(end)
shr $16,%ecx
shr $16,%ebx
cmp %bl, %cl
jne L(end)
cmp %bx, %cx
.p2align 4
L(end):
POP (%ebx)
mov $1, %eax
ja L(bigger)
neg %eax
L(bigger):
ret
# else
/* for wmemcmp */
.p2align 4
L(find_diff):
POP (%ebx)
mov $1, %eax
jg L(find_diff_bigg... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 2,121 | 2,157 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-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
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-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
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-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
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-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
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp-ssse3.S:1 | /* memcmp with SSSE3, wmemcmp with SSSE3
Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp-ssse3.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memcmp-ssse3.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:1 | /* Multiple versions of memcmp
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-2017 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memcmp.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:2 | # define ENTRY(name) \
.type __memcmp_ia32, @function; \
.p2align 4; \
.globl __memcmp_ia32; \
.hidden __memcmp_ia32; \
__memcmp_ia32: cfi_startproc; \
CALL_MCOUNT
# undef END
# define END(name) \
cfi_endproc; .size __memcmp_ia32, .-__memcmp_ia32
# ifdef SHARED
# undef libc_hidden_builtin_def
/* IFUNC doesn't ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memcmp.S | 41 | 62 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:1 | /* Multiple versions of memcmp
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-2016 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/memcmp.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:1 | /* Multiple versions of memcmp
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | 1aee37a22e3977de7a89e734e0a1e112f52045f2 | github | libc | https://github.com/bminor/glibc/blob/1aee37a22e3977de7a89e734e0a1e112f52045f2/sysdeps/i386/i686/multiarch/memcmp.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:1 | /* Multiple versions of memcmp
All versions must be listed in ifunc-impl-list.c.
Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Intel Corporation.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memcmp.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcmp.S:2 | testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
jz 2f
leal __memcmp_sse4_2@GOTOFF(%ebx), %eax
2: popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
ret
END(memcmp)
# else
.text
ENTRY(memcmp)
.type memcmp, @gnu_indirect_function
cmpl $0, KIND_OFFSET+__cpu_features
jne 1f
call __ini... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcmp.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memcmp.S | 41 | 89 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ia32.S:1 | /* memcpy 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/memcpy-ia32.S | LGPL-2.1 | 973da22a356ed072133562e6f1ecd833c31fa9a0 | github | libc | https://github.com/bminor/glibc/blob/973da22a356ed072133562e6f1ecd833c31fa9a0/sysdeps/i386/i686/multiarch/memcpy-ia32.S | 1 | 31 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:2 | cfi_adjust_cfa_offset (-4); \
cfi_restore (REG)
# define PUSH(REG) pushl REG; CFI_PUSH (REG)
# define POP(REG) popl REG; CFI_POP (REG)
# define PARMS 8 /* Preserve EBX. */
# define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CFI_PUSH (%ebx)
.section .text.sse2,"ax",@p... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:3 | movdqu (%eax), %xmm0
movdqu -16(%eax, %ecx), %xmm1
movdqu %xmm0, (%edx)
movdqu %xmm1, -16(%edx, %ecx)
jmp L(return)
L(mm_len_32_or_more_backward):
cmpl $64, %ecx
ja L(mm_len_64_or_more_backward)
/* Copy [0..64] and return. */
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu -16(%eax, %ecx), %xmm2
movdqu ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:4 | movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_backward):
add %ecx, %eax
cmp %edx, %eax
movl SRC(%esp), %eax
jbe L(forward)
PUSH (%esi)
PUSH (%edi)
PUSH (%ebx)
/* Aligning the address of destination. */
movdqu (%eax), %xmm4
movdqu 16(%eax), %xmm5
movdqu 32(%... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:5 | cmp __x86_shared_cache_size_half, %edi
# endif
# endif
jae L(mm_large_page_loop_backward)
.p2align 4
L(mm_main_loop_backward):
prefetcht0 -128(%eax)
movdqu -64(%eax), %xmm0
movdqu -48(%eax), %xmm1
movdqu -32(%eax), %xmm2
movdqu -16(%eax), %xmm3
movaps %xmm0, -64(%ecx)
subl $64, %eax
movaps %xmm1, -48(%ecx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:6 | .p2align 4,,2
je L(return)
testb $2, %cl
.p2align 4,,1
jne L(mm_len_3_4_bytes_backward)
movzbl -1(%eax,%ecx), %ebx
movzbl (%eax), %eax
movb %bl, -1(%edx,%ecx)
movb %al, (%edx)
jmp L(return)
L(mm_len_3_4_bytes_backward):
movzwl -2(%eax,%ecx), %ebx
movzwl (%eax), %eax
movw %bx, -2(%edx,%ecx)
movw %ax, (%edx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:7 | movdqu -32(%eax), %xmm2
movdqu -16(%eax), %xmm3
movntdq %xmm0, -64(%ecx)
subl $64, %eax
movntdq %xmm1, -48(%ecx)
movntdq %xmm2, -32(%ecx)
movntdq %xmm3, -16(%ecx)
subl $64, %ecx
sub $1, %ebx
jnz L(mm_large_page_loop_backward)
sfence
movdqu (%esp), %xmm0
addl $16, %esp
movdqu %xmm0, -16(%esi)
movdqu %xmm4,... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:8 | jmp L(return)
L(mm_len_32_or_more_forward):
cmpl $64, %ecx
ja L(mm_len_64_or_more_forward)
/* Copy [0..64] and return. */
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu -16(%eax, %ecx), %xmm2
movdqu -32(%eax, %ecx), %xmm3
movdqu %xmm0, (%edx)
movdqu %xmm1, 16(%edx)
movdqu %xmm2, -16(%edx, %ecx)
movdqu ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:9 | L(mm_len_128_or_more_forward):
PUSH (%esi)
PUSH (%edi)
PUSH (%ebx)
/* Aligning the address of destination. */
movdqu -16(%eax, %ecx), %xmm4
movdqu -32(%eax, %ecx), %xmm5
movdqu -48(%eax, %ecx), %xmm6
movdqu -64(%eax, %ecx), %xmm7
leal (%edx, %ecx), %esi
movdqu (%eax), %xmm0
subl $16, %esp
movdqu %xmm0, (%es... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:10 | L(mm_main_loop_forward):
prefetcht0 128(%eax)
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu 32(%eax), %xmm2
movdqu 48(%eax), %xmm3
movdqa %xmm0, (%ecx)
addl $64, %eax
movaps %xmm1, 16(%ecx)
movaps %xmm2, 32(%ecx)
movaps %xmm3, 48(%ecx)
addl $64, %ecx
sub $1, %ebx
jnz L(mm_main_loop_forward)
movdqu ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:11 | movb %bl, -1(%edx,%ecx)
movb %al, (%edx)
jmp L(return)
L(mm_len_2_4_bytes_forward):
movzwl -2(%eax,%ecx), %ebx
movzwl (%eax), %eax
movw %bx, -2(%edx,%ecx)
movw %ax, (%edx)
jmp L(return)
L(mm_len_5_8_bytes_forward):
movl (%eax), %ebx
movl -4(%eax,%ecx), %eax
movl %ebx, (%edx)
movl %eax, -4(%edx,%ecx)
jmp L... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:12 | movntdq %xmm1, 16(%ecx)
movntdq %xmm2, 32(%ecx)
movntdq %xmm3, 48(%ecx)
addl $64, %ecx
sub $1, %ebx
jnz L(mm_large_page_loop_forward)
sfence
movdqu (%esp), %xmm0
addl $16, %esp
movdqu %xmm0, (%edx)
movdqu %xmm4, -16(%esi)
movdqu %xmm5, -32(%esi)
movdqu %xmm6, -48(%esi)
movdqu %xmm7, -64(%esi)
POP (%ebx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:13 | jbe L(return)
movdqu 16(%eax), %xmm0
movdqu -32(%eax, %ecx), %xmm1
cmpl $64, %ecx
movdqu %xmm0, 16(%edx)
movdqu %xmm1, -32(%edx, %ecx)
jbe L(return)
movdqu 32(%eax), %xmm0
movdqu 48(%eax), %xmm1
movdqu -48(%eax, %ecx), %xmm2
movdqu -64(%eax, %ecx), %xmm3
cmpl $128, %ecx
movdqu %xmm0, 32(%edx)
movdq... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:14 | L(main_loop_cache):
prefetcht0 128(%ebx, %eax)
movdqu (%ebx, %eax), %xmm0
movdqu 16(%ebx, %eax), %xmm1
movdqu 32(%ebx, %eax), %xmm2
movdqu 48(%ebx, %eax), %xmm3
movdqa %xmm0, (%ebx)
movaps %xmm1, 16(%ebx)
movaps %xmm2, 32(%ebx)
movaps %xmm3, 48(%ebx)
lea 64(%ebx), %ebx
cmpl %ebx, %ecx
jne L(main_loop_cach... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:15 | movdqa %xmm0, (%ebx)
movaps %xmm1, 16(%ebx)
movaps %xmm2, 32(%ebx)
movaps %xmm3, 48(%ebx)
jmp L(return)
L(large_page):
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu 32(%eax), %xmm2
movdqu 48(%eax), %xmm3
movdqu -64(%eax, %ecx), %xmm4
movdqu -48(%eax, %ecx), %xmm5
movdqu -32(%eax, %ecx), %xmm6
movdqu -... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:16 | /* Now the main loop with non temporal stores. We align
the address of the destination. */
leal 128(%edx), %ebx
andl $-128, %ebx
addl %edx, %ecx
andl $-128, %ecx
subl %edx, %eax
.p2align 4
L(main_loop_large_page):
movdqu (%ebx, %eax), %xmm0
movdqu 16(%ebx, %eax), %xmm1
movdqu 32(%ebx, %eax), %xmm2
movdqu... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:17 | jne L(len_5_8_bytes)
testl %ecx, %ecx
.p2align 4,,2
je L(return)
movzbl (%eax), %ebx
testb $2, %cl
movb %bl, (%edx)
je L(return)
movzwl -2(%eax,%ecx), %ebx
movw %bx, -2(%edx,%ecx)
jmp L(return)
L(len_9_16_bytes):
movq (%eax), %xmm0
movq -8(%eax, %ecx), %xmm1
movq %xmm0, (%edx)
movq %xmm1, -8(%edx, %ecx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 641 | 675 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 8bad328203ee79fbc2e895e2a3f17f6a221d0814 | github | libc | https://github.com/bminor/glibc/blob/8bad328203ee79fbc2e895e2a3f17f6a221d0814/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:2 | # define CFI_PUSH(REG) \
cfi_adjust_cfa_offset (4); \
cfi_rel_offset (REG, 0)
# define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \
cfi_restore (REG)
# define PUSH(REG) pushl REG; CFI_PUSH (REG)
# define POP(REG) popl REG; CFI_POP (REG)
# define PARMS 8 /* Preserve EBX. */
# define ENTRANCE PUSH (%ebx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:3 | jbe L(mm_len_0_16_bytes_backward)
cmpl $32, %ecx
ja L(mm_len_32_or_more_backward)
/* Copy [0..32] and return. */
movdqu (%eax), %xmm0
movdqu -16(%eax, %ecx), %xmm1
movdqu %xmm0, (%edx)
movdqu %xmm1, -16(%edx, %ecx)
jmp L(return)
L(mm_len_32_or_more_backward):
cmpl $64, %ecx
ja L(mm_len_64_or_more_backward)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:4 | movdqu %xmm0, (%edx)
movdqu %xmm1, 16(%edx)
movdqu %xmm2, 32(%edx)
movdqu %xmm3, 48(%edx)
movdqu %xmm4, -64(%edx, %ecx)
movdqu %xmm5, -48(%edx, %ecx)
movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_backward):
add %ecx, %eax
cmp %edx, %eax
movl SRC(%esp), %eax
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:5 | PUSH (%ebx)
SETUP_PIC_REG (bx)
add $_GLOBAL_OFFSET_TABLE_, %ebx
cmp __x86_shared_cache_size_half@GOTOFF(%ebx), %edi
POP (%ebx)
# else
cmp __x86_shared_cache_size_half, %edi
# endif
# endif
jae L(mm_large_page_loop_backward)
.p2align 4
L(mm_main_loop_backward):
prefetcht0 -128(%eax)
movdqu -64(%eax), %xmm0... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:6 | testb $24, %cl
jnz L(mm_len_9_16_bytes_backward)
testb $4, %cl
.p2align 4,,5
jnz L(mm_len_5_8_bytes_backward)
testl %ecx, %ecx
.p2align 4,,2
je L(return)
testb $2, %cl
.p2align 4,,1
jne L(mm_len_3_4_bytes_backward)
movzbl -1(%eax,%ecx), %ebx
movzbl (%eax), %eax
movb %bl, -1(%edx,%ecx)
movb %al, (%edx)
jm... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:7 | /* Big length copy backward part. */
.p2align 4
L(mm_large_page_loop_backward):
movdqu -64(%eax), %xmm0
movdqu -48(%eax), %xmm1
movdqu -32(%eax), %xmm2
movdqu -16(%eax), %xmm3
movntdq %xmm0, -64(%ecx)
subl $64, %eax
movntdq %xmm1, -48(%ecx)
movntdq %xmm2, -32(%ecx)
movntdq %xmm3, -16(%ecx)
subl $64, %ecx
s... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:8 | /* Copy [0..32] and return. */
movdqu (%eax), %xmm0
movdqu -16(%eax, %ecx), %xmm1
movdqu %xmm0, (%edx)
movdqu %xmm1, -16(%edx, %ecx)
jmp L(return)
L(mm_len_32_or_more_forward):
cmpl $64, %ecx
ja L(mm_len_64_or_more_forward)
/* Copy [0..64] and return. */
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:9 | movdqu %xmm4, -64(%edx, %ecx)
movdqu %xmm5, -48(%edx, %ecx)
movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_forward):
PUSH (%esi)
PUSH (%edi)
PUSH (%ebx)
/* Aligning the address of destination. */
movdqu -16(%eax, %ecx), %xmm4
movdqu -32(%eax, %ecx), %xmm5
movd... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:10 | cmp __x86_shared_cache_size_half, %edi
# endif
# endif
jae L(mm_large_page_loop_forward)
.p2align 4
L(mm_main_loop_forward):
prefetcht0 128(%eax)
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu 32(%eax), %xmm2
movdqu 48(%eax), %xmm3
movdqa %xmm0, (%ecx)
addl $64, %eax
movaps %xmm1, 16(%ecx)
movaps %xm... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:11 | je L(return)
testb $2, %cl
.p2align 4,,1
jne L(mm_len_2_4_bytes_forward)
movzbl -1(%eax,%ecx), %ebx
movzbl (%eax), %eax
movb %bl, -1(%edx,%ecx)
movb %al, (%edx)
jmp L(return)
L(mm_len_2_4_bytes_forward):
movzwl -2(%eax,%ecx), %ebx
movzwl (%eax), %eax
movw %bx, -2(%edx,%ecx)
movw %ax, (%edx)
jmp L(return)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 401 | 460 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:12 | movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu 32(%eax), %xmm2
movdqu 48(%eax), %xmm3
movntdq %xmm0, (%ecx)
addl $64, %eax
movntdq %xmm1, 16(%ecx)
movntdq %xmm2, 32(%ecx)
movntdq %xmm3, 48(%ecx)
addl $64, %ecx
sub $1, %ebx
jnz L(mm_large_page_loop_forward)
sfence
movdqu (%esp), %xmm0
addl $16, %esp
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:13 | movdqu (%eax), %xmm0
movdqu -16(%eax, %ecx), %xmm1
cmpl $32, %ecx
movdqu %xmm0, (%edx)
movdqu %xmm1, -16(%edx, %ecx)
jbe L(return)
movdqu 16(%eax), %xmm0
movdqu -32(%eax, %ecx), %xmm1
cmpl $64, %ecx
movdqu %xmm0, 16(%edx)
movdqu %xmm1, -32(%edx, %ecx)
jbe L(return)
movdqu 32(%eax), %xmm0
movdqu 48(... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 481 | 540 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:14 | subl $64, %ecx
cmpl %ebx, %ecx
je L(main_loop_last_two_iterations)
.p2align 4
L(main_loop_cache):
prefetcht0 128(%ebx, %eax)
movdqu (%ebx, %eax), %xmm0
movdqu 16(%ebx, %eax), %xmm1
movdqu 32(%ebx, %eax), %xmm2
movdqu 48(%ebx, %eax), %xmm3
movdqa %xmm0, (%ebx)
movaps %xmm1, 16(%ebx)
movaps %xmm2, 32(%ebx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 521 | 580 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:15 | L(main_loop_just_one_iteration):
movdqu (%ebx, %eax), %xmm0
movdqu 16(%ebx, %eax), %xmm1
movdqu 32(%ebx, %eax), %xmm2
movdqu 48(%ebx, %eax), %xmm3
movdqa %xmm0, (%ebx)
movaps %xmm1, 16(%ebx)
movaps %xmm2, 32(%ebx)
movaps %xmm3, 48(%ebx)
jmp L(return)
L(large_page):
movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 561 | 620 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:16 | movdqu %xmm2, 96(%edx)
movdqu %xmm3, 112(%edx)
movdqu %xmm4, -128(%edx, %ecx)
movdqu %xmm5, -112(%edx, %ecx)
movdqu %xmm6, -96(%edx, %ecx)
movdqu %xmm7, -80(%edx, %ecx)
/* Now the main loop with non temporal stores. We align
the address of the destination. */
leal 128(%edx), %ebx
andl $-128, %ebx
addl %edx,... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 601 | 660 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:17 | L(len_0_16_bytes):
testb $24, %cl
jne L(len_9_16_bytes)
testb $4, %cl
.p2align 4,,5
jne L(len_5_8_bytes)
testl %ecx, %ecx
.p2align 4,,2
je L(return)
movzbl (%eax), %ebx
testb $2, %cl
movb %bl, (%edx)
je L(return)
movzwl -2(%eax,%ecx), %ebx
movw %bx, -2(%edx,%ecx)
jmp L(return)
L(len_9_16_bytes):
movq (... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 641 | 681 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | cd66c0e584c6d692bc8347b5e72723d02b8a8ada | github | libc | https://github.com/bminor/glibc/blob/cd66c0e584c6d692bc8347b5e72723d02b8a8ada/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:2 | # define CFI_PUSH(REG) \
cfi_adjust_cfa_offset (4); \
cfi_rel_offset (REG, 0)
# define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \
cfi_restore (REG)
# define PUSH(REG) pushl REG; CFI_PUSH (REG)
# define POP(REG) popl REG; CFI_POP (REG)
# define PARMS 8 /* Preserve EBX. */
# define ENTRANCE PUSH (%ebx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:3 | jbe L(mm_len_0_16_bytes_backward)
cmpl $32, %ecx
jg L(mm_len_32_or_more_backward)
/* Copy [0..32] and return. */
movdqu (%eax), %xmm0
movdqu -16(%eax, %ecx), %xmm1
movdqu %xmm0, (%edx)
movdqu %xmm1, -16(%edx, %ecx)
jmp L(return)
L(mm_len_32_or_more_backward):
cmpl $64, %ecx
jg L(mm_len_64_or_more_backward)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:4 | movdqu %xmm0, (%edx)
movdqu %xmm1, 16(%edx)
movdqu %xmm2, 32(%edx)
movdqu %xmm3, 48(%edx)
movdqu %xmm4, -64(%edx, %ecx)
movdqu %xmm5, -48(%edx, %ecx)
movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_backward):
add %ecx, %eax
cmp %edx, %eax
movl SRC(%esp), %eax
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:7 | /* Big length copy backward part. */
.p2align 4
L(mm_large_page_loop_backward):
movdqu -64(%eax), %xmm0
movdqu -48(%eax), %xmm1
movdqu -32(%eax), %xmm2
movdqu -16(%eax), %xmm3
movntdq %xmm0, -64(%ecx)
subl $64, %eax
movntdq %xmm1, -48(%ecx)
movntdq %xmm2, -32(%ecx)
movntdq %xmm3, -16(%ecx)
subl $64, %ecx
s... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | dfc93c41eebef639ba2d1f304f4d52ab6b834684 | github | libc | https://github.com/bminor/glibc/blob/dfc93c41eebef639ba2d1f304f4d52ab6b834684/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:4 | movdqu %xmm0, (%edx)
movdqu %xmm1, 16(%edx)
movdqu %xmm2, 32(%edx)
movdqu %xmm3, 48(%edx)
movdqu %xmm4, -64(%edx, %ecx)
movdqu %xmm5, -48(%edx, %ecx)
movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_backward):
add %ecx, %eax
cmp %edx, %eax
movl SRC(%esp), %eax
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | b358255f953943967398e19066eb266c6ea881b9 | github | libc | https://github.com/bminor/glibc/blob/b358255f953943967398e19066eb266c6ea881b9/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:9 | movdqu %xmm4, -64(%edx, %ecx)
movdqu %xmm5, -48(%edx, %ecx)
movdqu %xmm6, -32(%edx, %ecx)
movdqu %xmm7, -16(%edx, %ecx)
jmp L(return)
L(mm_len_128_or_more_forward):
PUSH (%esi)
PUSH (%edi)
PUSH (%ebx)
/* Aligning the address of destination. */
movdqu -16(%eax, %ecx), %xmm4
movdqu -32(%eax, %ecx), %xmm5
movd... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | b358255f953943967398e19066eb266c6ea881b9 | github | libc | https://github.com/bminor/glibc/blob/b358255f953943967398e19066eb266c6ea881b9/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:12 | movdqu (%eax), %xmm0
movdqu 16(%eax), %xmm1
movdqu 32(%eax), %xmm2
movdqu 48(%eax), %xmm3
movntdq %xmm0, (%ecx)
addl $64, %eax
movntdq %xmm1, 16(%ecx)
movntdq %xmm2, 32(%ecx)
movntdq %xmm3, 48(%ecx)
addl $64, %ecx
sub $1, %ebx
jnz L(mm_large_page_loop_forward)
sfence
movdqu (%esp), %xmm0
addl $16, %esp
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | b358255f953943967398e19066eb266c6ea881b9 | github | libc | https://github.com/bminor/glibc/blob/b358255f953943967398e19066eb266c6ea881b9/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 441 | 500 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:2 | # define CFI_PUSH(REG) \
cfi_adjust_cfa_offset (4); \
cfi_rel_offset (REG, 0)
# define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \
cfi_restore (REG)
# define PUSH(REG) pushl REG; CFI_PUSH (REG)
# define POP(REG) popl REG; CFI_POP (REG)
# define PARMS 8 /* Preserve EBX. */
# define ENTRANCE PUSH (%ebx... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-2016 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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S:1 | /* memcpy optimized with SSE2 unaligned memory access instructions.
Copyright (C) 2014-2015 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 publ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:1 | /* memcpy with SSSE3 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 Foun... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 1 | 60 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:2 | #define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \
cfi_restore (REG)
#define PUSH(REG) pushl REG; CFI_PUSH (REG)
#define POP(REG) popl REG; CFI_POP (REG)
#ifdef PIC
# define PARMS 8 /* Preserve EBX. */
# define ENTRANCE PUSH (%ebx);
# define RETURN_END POP (%ebx); ret
# define RETURN RETURN_END; CF... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 41 | 100 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:3 | # define JMPTBL(I, B) I
/* Branch to an entry in a jump table. TABLE is a jump table with
absolute offsets. INDEX is a register contains the index into the
jump table. SCALE is the scale of INDEX. */
# define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \
jmp *TABLE(,INDEX,SCALE)
# define BRANCH_TO_JMPTB... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 81 | 140 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:4 | #endif
cmp $48, %ecx
jae L(48bytesormore)
L(fwd_write_less32bytes):
#ifndef USE_AS_MEMMOVE
cmp %dl, %al
jb L(bk_write)
#endif
add %ecx, %edx
add %ecx, %eax
BRANCH_TO_JMPTBL_ENTRY (L(table_48bytes_fwd), %ecx, 4)
#ifndef USE_AS_MEMMOVE
L(bk_write):
BRANCH_TO_JMPTBL_ENTRY (L(table_48_bytes_bwd), %ecx, 4)
#endif
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 121 | 180 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:5 | cmp __x86_shared_cache_size_half, %ecx
# endif
#endif
mov %eax, %edi
jae L(large_page)
and $0xf, %edi
jz L(shl_0)
BRANCH_TO_JMPTBL_ENTRY (L(shl_table), %edi, 4)
ALIGN (4)
L(shl_0):
movdqu %xmm0, (%esi)
xor %edi, %edi
cmp $127, %ecx
ja L(shl_0_gobble)
lea -32(%ecx), %ecx
L(shl_0_loop):
movdqa (%eax, %edi)... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 161 | 220 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:6 | lea 32(%edi), %edi
jb L(shl_0_end)
movdqa (%eax, %edi), %xmm0
movdqa 16(%eax, %edi), %xmm1
sub $32, %ecx
movdqa %xmm0, (%edx, %edi)
movdqa %xmm1, 16(%edx, %edi)
lea 32(%edi), %edi
L(shl_0_end):
lea 32(%ecx), %ecx
add %ecx, %edi
add %edi, %edx
add %edi, %eax
POP (%esi)
POP (%edi)
BRANCH_TO_JMPTBL_ENTRY (L... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 201 | 260 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:7 | L(shl_0_gobble_cache_loop):
movdqa (%eax), %xmm0
movaps 0x10(%eax), %xmm1
movaps 0x20(%eax), %xmm2
movaps 0x30(%eax), %xmm3
movaps 0x40(%eax), %xmm4
movaps 0x50(%eax), %xmm5
movaps 0x60(%eax), %xmm6
movaps 0x70(%eax), %xmm7
lea 0x80(%eax), %eax
sub $128, %ecx
movdqa %xmm0, (%edx)
movaps %xmm1, 0x10(%edx)
m... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 241 | 300 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:8 | L(shl_0_cache_less_64bytes):
cmp $0x20, %ecx
jb L(shl_0_cache_less_32bytes)
movdqa (%eax), %xmm0
sub $0x20, %ecx
movdqa 0x10(%eax), %xmm1
add $0x20, %eax
movdqa %xmm0, (%edx)
movdqa %xmm1, 0x10(%edx)
add $0x20, %edx
L(shl_0_cache_less_32bytes):
cmp $0x10, %ecx
jb L(shl_0_cache_less_16bytes)
sub $0x10, %ecx
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 281 | 340 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:9 | movaps 0x20(%eax), %xmm2
movaps 0x30(%eax), %xmm3
movaps 0x40(%eax), %xmm4
movaps 0x50(%eax), %xmm5
movaps 0x60(%eax), %xmm6
movaps 0x70(%eax), %xmm7
lea 0x80(%eax), %eax
sub $0x80, %ecx
movdqa %xmm0, (%edx)
movaps %xmm1, 0x10(%edx)
movaps %xmm2, 0x20(%edx)
movaps %xmm3, 0x30(%edx)
movaps %xmm4, 0x40(%edx)
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 321 | 380 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:10 | movdqa (%eax), %xmm0
sub $0x20, %ecx
movdqa 0x10(%eax), %xmm1
add $0x20, %eax
movdqa %xmm0, (%edx)
movdqa %xmm1, 0x10(%edx)
add $0x20, %edx
L(shl_0_mem_less_32bytes):
cmp $0x10, %ecx
jb L(shl_0_mem_less_16bytes)
sub $0x10, %ecx
movdqa (%eax), %xmm0
add $0x10, %eax
movdqa %xmm0, (%edx)
add $0x10, %edx
L(shl... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 361 | 420 |
bminor/glibc:sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:11 | palignr $1, %xmm1, %xmm2
lea 32(%edi), %edi
movdqa %xmm2, -32(%edx, %edi)
movdqa %xmm3, -16(%edx, %edi)
jb L(shl_1_end)
movdqa 16(%eax, %edi), %xmm2
sub $32, %ecx
movdqa 32(%eax, %edi), %xmm3
movdqa %xmm3, %xmm1
palignr $1, %xmm2, %xmm3
palignr $1, %xmm4, %xmm2
lea 32(%edi), %edi
movdqa %xmm2, -32(%edx, %... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S | 401 | 460 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.