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/aarch64/memrchr.S:3
subs cntrem, src, srcin b.ls L(nomatch) /* Make sure that it won't overread by a 16-byte chunk */ sub cntrem, cntrem, 1 tbz cntrem, 4, L(loop32_2) add src, src, 16 .p2align 5 L(loop32): ldr qdata, [src, -32]! cmeq vhas_chr.16b, vdata.16b, vrepchr.16b umaxp vend.16b, vhas_chr.16b, vhas_chr.16b /* 128->64 */ ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
00776241776e67fc666b896c1e85770f4f3ec1e1
github
libc
https://github.com/bminor/glibc/blob/00776241776e67fc666b896c1e85770f4f3ec1e1/sysdeps/aarch64/memrchr.S
81
127
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:2
#define endm1 x9 #define vrepchr v0 #define qdata q1 #define vdata v1 #define vhas_chr v2 #define vend v3 #define dend d3 /* Core algorithm: For each 16-byte chunk we calculate a 64-bit nibble mask value with four bits per byte. We take 4 bits of every comparison byte with shift right and narrow by ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/memrchr.S
41
100
bminor/glibc:sysdeps/aarch64/memrchr.S:3
sub tmp, end, src subs cntrem, cntin, tmp b.ls L(nomatch) /* Make sure that it won't overread by a 16-byte chunk */ add tmp, cntrem, 15 tbnz tmp, 4, L(loop32_2) .p2align 4 L(loop32): ldr qdata, [src, -16]! cmeq vhas_chr.16b, vdata.16b, vrepchr.16b umaxp vend.16b, vhas_chr.16b, vhas_chr.16b /* 128->64 */ fm...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/memrchr.S
81
125
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
3c9980698988ef64072f1fac339b180f52792faf
github
libc
https://github.com/bminor/glibc/blob/3c9980698988ef64072f1fac339b180f52792faf/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:2
#define end x8 #define endm1 x9 #define vrepchr v0 #define qdata q1 #define vdata v1 #define vhas_chr v2 #define vrepmask v3 #define vend v4 #define dend d4 /* Core algorithm: For each 16-byte chunk we calculate a 64-bit syndrome value with four bits per byte. For even bytes, bits 0-3 are set if the r...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/memrchr.S
41
100
bminor/glibc:sysdeps/aarch64/memrchr.S:3
sub result, endm1, synd, lsr 2 cmp cntin, synd, lsr 2 csel result, result, xzr, hi ret L(start_loop): sub tmp, end, src subs cntrem, cntin, tmp b.ls L(nomatch) /* Make sure that it won't overread by a 16-byte chunk */ add tmp, cntrem, 15 tbnz tmp, 4, L(loop32_2) .p2align 4 L(loop32): ldr qdata, [src, -16]...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/memrchr.S
81
132
bminor/glibc:sysdeps/aarch64/memrchr.S:4
sub tmp, tmp, synd, lsr 2 cmp tmp, srcin csel result, tmp, xzr, hs ret L(nomatch): mov result, 0 ret END (__memrchr) weak_alias (__memrchr, memrchr) libc_hidden_builtin_def (memrchr)
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/memrchr.S
121
132
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
45b1e17e9150dbd9ac2d578579063fbfa8e1b327
github
libc
https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:2
#define end x8 #define endm1 x9 #define vrepchr v0 #define qdata q1 #define vdata v1 #define vhas_chr v2 #define vrepmask v3 #define vend v4 #define dend d4 /* Core algorithm: For each 16-byte chunk we calculate a 64-bit syndrome value with four bits per byte. For even bytes, bits 0-3 are set if the r...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
df06b0d90f3aa5a4702aa7d6772665e2228a0915
github
libc
https://github.com/bminor/glibc/blob/df06b0d90f3aa5a4702aa7d6772665e2228a0915/sysdeps/aarch64/memrchr.S
41
100
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memrchr.S:2
#define synd x6 #define soff x9 #define cntrem x10 #define vrepchr v0 #define vdata1 v1 #define vdata2 v2 #define vhas_chr1 v3 #define vhas_chr2 v4 #define vrepmask v5 #define vend v6 /* * Core algorithm: * * For each 32-byte chunk we calculate a 64-bit syndrome value, with two bits * per byte. For each t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/memrchr.S
41
100
bminor/glibc:sysdeps/aarch64/memrchr.S:3
mov tmp, #32 sub soff,tmp,soff and cntrem, cntin, #31 b.eq L(loop) /* * Input string is not 32-byte aligned. We calculate the syndrome * value for the aligned 32 bytes block containing the first bytes * and mask the irrelevant part. */ sub seek_dst, seek_dst, #32 ld1 {vdata1.16b, vdata2.16b}, [seek_dst]...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/memrchr.S
81
140
bminor/glibc:sysdeps/aarch64/memrchr.S:4
orr vend.16b, vhas_chr1.16b, vhas_chr2.16b addp vend.2d, vend.2d, vend.2d mov synd, vend.2d[0] /* We're not out of data, loop if we haven't found the character */ cbz synd, L(loop) L(end): /* Termination condition found, let's calculate the syndrome value */ and vhas_chr1.16b, vhas_chr1.16b, vrepmask.16b and vh...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/memrchr.S
121
165
bminor/glibc:sysdeps/aarch64/memrchr.S:1
/* memrchr - find the last occurrence of a byte in a memory block Copyright (C) 2015-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...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memrchr.S
LGPL-2.1
a7611806d5f4163656a2f5d21d349b5e7c4170e0
github
libc
https://github.com/bminor/glibc/blob/a7611806d5f4163656a2f5d21d349b5e7c4170e0/sysdeps/aarch64/memrchr.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Generic optimized memset using SIMD. Copyright (C) 2012-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 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
ENTRY (MEMSET) dup v0.16B, valw cmp count, 16 b.lo L(set_small) add dstend, dstin, count cmp count, 64 b.hs L(set_128) /* Set 16..63 bytes. */ mov off, 16 and off, off, count, lsr 1 sub dstend2, dstend, off str q0, [dstin] str q0, [dstin, off] str q0, [dstend2, -16] str q0, [dstend, -16] ret .p2alig...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
.p2align 4 L(set_128): bic dst, dstin, 15 cmp count, 128 b.hi L(set_long) stp q0, q0, [dstin] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret .p2align 4 L(set_long): str q0, [dstin] str q0, [dst, 16] tst valw, 255 b.ne L(no_zva) #ifndef ZVA64_ONLY mrs zva_val, dczid_el0 a...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/memset.S
81
137
bminor/glibc:sysdeps/aarch64/memset.S:4
.p2align 3 L(no_zva): sub count, dstend, dst /* Count is 32 too large. */ sub count, count, 64 + 32 /* Adjust count and bias for loop. */ L(no_zva_loop): stp q0, q0, [dst, 32] stp q0, q0, [dst, 64] add dst, dst, 64 subs count, count, 64 b.hi L(no_zva_loop) stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/memset.S
121
137
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Generic optimized memset using SIMD. Copyright (C) 2012-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 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
ce2f26a22e6b6f5c108d156afd9b43a452bb024c
github
libc
https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Generic optimized memset using SIMD. Copyright (C) 2012-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 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
ENTRY (MEMSET) PTR_ARG (0) SIZE_ARG (2) dup v0.16B, valw cmp count, 16 b.lo L(set_small) add dstend, dstin, count cmp count, 64 b.hs L(set_128) /* Set 16..63 bytes. */ mov off, 16 and off, off, count, lsr 1 sub dstend2, dstend, off str q0, [dstin] str q0, [dstin, off] str q0, [dstend2, -16] str q0, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
strb valw, [dstin, off] strb valw, [dstend, -1] 3: ret .p2align 4 L(set_128): bic dst, dstin, 15 cmp count, 128 b.hi L(set_long) stp q0, q0, [dstin] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret .p2align 4 L(set_long): str q0, [dstin] str q0, [dst, 16] tst valw, 255 b....
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
subs count, count, 64 b.hi L(zva64_loop) ret .p2align 3 L(no_zva): sub count, dstend, dst /* Count is 32 too large. */ sub count, count, 64 + 32 /* Adjust count and bias for loop. */ L(no_zva_loop): stp q0, q0, [dst, 32] stp q0, q0, [dst, 64] add dst, dst, 64 subs count, count, 64 b.hi L(no_zva_loop) stp ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/memset.S
121
140
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Generic optimized memset using SIMD. Copyright (C) 2012-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 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a08d9a52f967531a77e1824c23b5368c6434a72d
github
libc
https://github.com/bminor/glibc/blob/a08d9a52f967531a77e1824c23b5368c6434a72d/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:3
strb valw, [dstin, off] strb valw, [dstend, -1] 3: ret .p2align 4 L(set_128): bic dst, dstin, 15 cmp count, 128 b.hi L(set_long) stp q0, q0, [dstin] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret .p2align 4 L(set_long): str q0, [dstin] str q0, [dst, 16] tst valw, 255 b....
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
8ecb477ea16a387a44ace5bf59d39a7e270b238b
github
libc
https://github.com/bminor/glibc/blob/8ecb477ea16a387a44ace5bf59d39a7e270b238b/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
subs count, count, 64 b.hi L(zva64_loop) ret .p2align 3 L(no_zva): sub count, dstend, dst /* Count is 32 too large. */ sub count, count, 64 + 32 /* Adjust count and bias for loop. */ L(no_zva_loop): stp q0, q0, [dst, 32] stp q0, q0, [dst, 64] add dst, dst, 64 subs count, count, 64 b.hi L(no_zva_loop) stp ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
8ecb477ea16a387a44ace5bf59d39a7e270b238b
github
libc
https://github.com/bminor/glibc/blob/8ecb477ea16a387a44ace5bf59d39a7e270b238b/sysdeps/aarch64/memset.S
121
163
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Generic optimized memset using SIMD. Copyright (C) 2012-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 ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
cec3aef32412779e207f825db0d057ebb4628ae8
github
libc
https://github.com/bminor/glibc/blob/cec3aef32412779e207f825db0d057ebb4628ae8/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
ENTRY (MEMSET) PTR_ARG (0) SIZE_ARG (2) dup v0.16B, valw cmp count, 16 b.lo L(set_small) add dstend, dstin, count cmp count, 64 b.hs L(set_128) /* Set 16..63 bytes. */ mov off, 16 and off, off, count, lsr 1 sub dstend2, dstend, off str q0, [dstin] str q0, [dstin, off] str q0, [dstend2, -16] str q0, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
cec3aef32412779e207f825db0d057ebb4628ae8
github
libc
https://github.com/bminor/glibc/blob/cec3aef32412779e207f825db0d057ebb4628ae8/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
strb valw, [dstin] strb valw, [dstin, off] strb valw, [dstend, -1] 3: ret .p2align 4 L(set_128): bic dst, dstin, 15 cmp count, 128 b.hi L(set_long) stp q0, q0, [dstin] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret .p2align 4 L(set_long): str q0, [dstin] str q0, [dst, 16...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
cec3aef32412779e207f825db0d057ebb4628ae8
github
libc
https://github.com/bminor/glibc/blob/cec3aef32412779e207f825db0d057ebb4628ae8/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
dc zva, dst subs count, count, 64 b.hi L(zva64_loop) ret .p2align 3 L(no_zva): sub count, dstend, dst /* Count is 32 too large. */ sub count, count, 64 + 32 /* Adjust count and bias for loop. */ L(no_zva_loop): stp q0, q0, [dst, 32] stp q0, q0, [dst, 64] add dst, dst, 64 subs count, count, 64 b.hi L(no_zv...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
cec3aef32412779e207f825db0d057ebb4628ae8
github
libc
https://github.com/bminor/glibc/blob/cec3aef32412779e207f825db0d057ebb4628ae8/sysdeps/aarch64/memset.S
121
164
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
b.hi L(set_long) cmp count, 16 b.hs L(set_medium) mov val, v0.D[0] /* Set 0..15 bytes. */ tbz count, 3, 1f str val, [dstin] str val, [dstend, -8] ret nop 1: tbz count, 2, 2f str valw, [dstin] str valw, [dstend, -4] ret 2: cbz count, 3f strb valw, [dstin] tbz count, 1, 3f strh valw, [dstend, -2] 3: ret ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
.p2align 3 nop L(set_long): and valw, valw, 255 bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(no_zva): sub count, dstend, dst /* Count is 16 too large. */ sub dst, dst, 16 /* Dst is biased by -32. */ sub count, count, 64 + 16 /* Adjust count and bias for loop. */ ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
stp q0, q0, [dst, 64] stp q0, q0, [dst, 96] sub count, dstend, dst /* Count is now 128 too large. */ sub count, count, 128+64+64 /* Adjust count and bias for loop. */ add dst, dst, 128 1: dc zva, dst add dst, dst, 64 subs count, count, 64 b.hi 1b stp q0, q0, [dst, 0] stp q0, q0, [dst, 32] stp q0, q0, [dstend...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/memset.S
121
180
bminor/glibc:sysdeps/aarch64/memset.S:5
mov tmp2w, 4 lsl zva_lenw, tmp2w, tmp1w add tmp1, zva_len, 64 /* Max alignment bytes written. */ cmp count, tmp1 blo L(no_zva) sub tmp2, zva_len, 1 add tmp1, dst, zva_len add dst, dst, 16 subs count, tmp1, dst /* Actual alignment bytes to write. */ bic tmp1, tmp1, tmp2 /* Aligned dc zva start address. */ ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/memset.S
161
191
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
3d7090f14b13312320e425b27dcf0fe72de026fd
github
libc
https://github.com/bminor/glibc/blob/3d7090f14b13312320e425b27dcf0fe72de026fd/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:3
.p2align 3 nop L(set_long): and valw, valw, 255 bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(no_zva): sub count, dstend, dst /* Count is 16 too large. */ sub dst, dst, 16 /* Dst is biased by -32. */ sub count, count, 64 + 16 /* Adjust count and bias for loop. */ ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
9fd3409842b3e2d31cff5dbd6f96066c430f0aa2
github
libc
https://github.com/bminor/glibc/blob/9fd3409842b3e2d31cff5dbd6f96066c430f0aa2/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
45b1e17e9150dbd9ac2d578579063fbfa8e1b327
github
libc
https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
04277e02d7f54d3582bebcf8386b317018cd5e1d
github
libc
https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5770c0ad1e0c784e817464ca2cf9436a58c9beb7
github
libc
https://github.com/bminor/glibc/blob/5770c0ad1e0c784e817464ca2cf9436a58c9beb7/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
b.hi L(set_long) cmp count, 16 b.hs L(set_medium) mov val, v0.D[0] /* Set 0..15 bytes. */ tbz count, 3, 1f str val, [dstin] str val, [dstend, -8] ret nop 1: tbz count, 2, 2f str valw, [dstin] str valw, [dstend, -4] ret 2: cbz count, 3f strb valw, [dstin] tbz count, 1, 3f strh valw, [dstend, -2] 3: ret ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
.p2align 3 nop L(set_long): and valw, valw, 255 bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(no_zva): sub count, dstend, dst /* Count is 16 too large. */ add dst, dst, 16 sub count, count, 64 + 16 /* Adjust count and bias for loop. */ 1: stp q0, q0, [dst], 64 stp ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:5
mov tmp2w, 4 lsl zva_lenw, tmp2w, tmp1w add tmp1, zva_len, 64 /* Max alignment bytes written. */ cmp count, tmp1 blo L(no_zva) sub tmp2, zva_len, 1 add tmp1, dst, zva_len add dst, dst, 16 subs count, tmp1, dst /* Actual alignment bytes to write. */ bic tmp1, tmp1, tmp2 /* Aligned dc zva start address. */ ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
688903eb3ef01301d239ab753d309d45720610a7
github
libc
https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/memset.S
161
190
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
4e00196912e63bd44f9a62a88a0f5c5fde25ad86
github
libc
https://github.com/bminor/glibc/blob/4e00196912e63bd44f9a62a88a0f5c5fde25ad86/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7
github
libc
https://github.com/bminor/glibc/blob/5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
/* Set 0..15 bytes. */ tbz count, 3, 1f str val, [dstin] str val, [dstend, -8] ret nop 1: tbz count, 2, 2f str valw, [dstin] str valw, [dstend, -4] ret 2: cbz count, 3f strb valw, [dstin] tbz count, 1, 3f strh valw, [dstend, -2] 3: ret /* Set 17..96 bytes. */ L(set_medium): str q0, [dstin] tbnz count, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7
github
libc
https://github.com/bminor/glibc/blob/5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(no_zva): sub count, dstend, dst /* Count is 16 too large. */ add dst, dst, 16 sub count, count, 64 + 16 /* Adjust count and bias for loop. */ 1: stp q0, q0, [dst], 64 stp q0, q0, [dst, -32] L(tail64): subs count, count, 6...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7
github
libc
https://github.com/bminor/glibc/blob/5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
add dst, dst, 128 nop 1: dc zva, dst add dst, dst, 64 subs count, count, 64 b.hi 1b stp q0, q0, [dst, 0] stp q0, q0, [dst, 32] stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret .p2align 3 L(zva_128): cmp tmp1w, 5 /* ZVA size is 128 bytes. */ b.ne L(zva_other) str q0, [dst, 16] stp q0, q0, [dst, 3...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7
github
libc
https://github.com/bminor/glibc/blob/5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7/sysdeps/aarch64/memset.S
121
180
bminor/glibc:sysdeps/aarch64/memset.S:5
blo L(no_zva) sub tmp2, zva_len, 1 add tmp1, dst, zva_len add dst, dst, 16 subs count, tmp1, dst /* Actual alignment bytes to write. */ bic tmp1, tmp1, tmp2 /* Aligned dc zva start address. */ beq 2f 1: stp q0, q0, [dst], 64 stp q0, q0, [dst, -32] subs count, count, 64 b.hi 1b 2: mov dst, tmp1 sub count, d...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7
github
libc
https://github.com/bminor/glibc/blob/5a67c4fa010abb27e704aa4ea3896f3aa2b39ed7/sysdeps/aarch64/memset.S
161
186
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
DELOUSE (0) DELOUSE (2) dup v0.16B, valw add dstend, dstin, count cmp count, 96 b.hi L(set_long) cmp count, 16 b.hs L(set_medium) mov val, v0.D[0] /* Set 0..15 bytes. */ tbz count, 3, 1f str val, [dstin] str val, [dstend, -8] ret nop 1: tbz count, 2, 2f str valw, [dstin] str valw, [dstend, -4] ret ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
/* Set 64..96 bytes. Write 64 bytes from the start and 32 bytes from the end. */ L(set96): str q0, [dstin, 16] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -32] ret .p2align 3 nop L(set_long): and valw, valw, 255 bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
*/ L(zva_64): str q0, [dst, 16] stp q0, q0, [dst, 32] bic dst, dst, 63 stp q0, q0, [dst, 64] stp q0, q0, [dst, 96] sub count, dstend, dst /* Count is now 128 too large. */ sub count, count, 128+64+64 /* Adjust count and bias for loop. */ add dst, dst, 128 nop 1: dc zva, dst add dst, dst, 64 subs count, coun...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/memset.S
121
180
bminor/glibc:sysdeps/aarch64/memset.S:5
stp q0, q0, [dstend, -64] stp q0, q0, [dstend, -32] ret L(zva_other): mov tmp2w, 4 lsl zva_lenw, tmp2w, tmp1w add tmp1, zva_len, 64 /* Max alignment bytes written. */ cmp count, tmp1 blo L(no_zva) sub tmp2, zva_len, 1 add tmp1, dst, zva_len add dst, dst, 16 subs count, tmp1, dst /* Actual alignment bytes ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
bfff8b1becd7d01c074177df7196ab327cd8c844
github
libc
https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/memset.S
161
195
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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 published by the Free Software Foundation; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
389d1f1b232b3d6b9d73ee2c50e543ace6675621
github
libc
https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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 published by the Free Software Foundation; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5
github
libc
https://github.com/bminor/glibc/blob/a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
dup v0.16B, valw add dstend, dstin, count cmp count, 96 b.hi L(set_long) cmp count, 16 b.hs L(set_medium) mov val, v0.D[0] /* Set 0..15 bytes. */ tbz count, 3, 1f str val, [dstin] str val, [dstend, -8] ret nop 1: tbz count, 2, 2f str valw, [dstin] str valw, [dstend, -4] ret 2: cbz count, 3f strb valw...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5
github
libc
https://github.com/bminor/glibc/blob/a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
str q0, [dstin, 16] stp q0, q0, [dstin, 32] stp q0, q0, [dstend, -32] ret .p2align 3 nop L(set_long): and valw, valw, 255 bic dst, dstin, 15 str q0, [dstin] cmp count, 256 ccmp valw, 0, 0, cs b.eq L(try_zva) L(no_zva): sub count, dstend, dst /* Count is 16 too large. */ add dst, dst, 16 sub count, count...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5
github
libc
https://github.com/bminor/glibc/blob/a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
stp q0, q0, [dst, 32] bic dst, dst, 63 stp q0, q0, [dst, 64] stp q0, q0, [dst, 96] sub count, dstend, dst /* Count is now 128 too large. */ sub count, count, 128+64+64 /* Adjust count and bias for loop. */ add dst, dst, 128 nop 1: dc zva, dst add dst, dst, 64 subs count, count, 64 b.hi 1b stp q0, q0, [dst, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5
github
libc
https://github.com/bminor/glibc/blob/a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5/sysdeps/aarch64/memset.S
121
180
bminor/glibc:sysdeps/aarch64/memset.S:5
L(zva_other): mov tmp2w, 4 lsl zva_lenw, tmp2w, tmp1w add tmp1, zva_len, 64 /* Max alignment bytes written. */ cmp count, tmp1 blo L(no_zva) sub tmp2, zva_len, 1 add tmp1, dst, zva_len add dst, dst, 16 subs count, tmp1, dst /* Actual alignment bytes to write. */ bic tmp1, tmp1, tmp2 /* Aligned dc zva start...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5
github
libc
https://github.com/bminor/glibc/blob/a8c5a2a9521e105da6e96eaf4029b8e4d595e4f5/sysdeps/aarch64/memset.S
161
192
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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 published by the Free Software Foundation; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/memset.S:2
#define tmp1 x3 #define tmp1w w3 #define tmp2 x4 #define tmp2w w4 #define zva_len_x x5 #define zva_len w5 #define zva_bits_x x6 #define A_l x7 #define A_lw w7 #define dst x8 #define tmp3w w9 ENTRY_ALIGN (__memset, 6) mov dst, dstin /* Preserve return value. */ ands A_lw, val, #255 #ifndef DONT_USE_DC b...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
41
100
bminor/glibc:sysdeps/aarch64/memset.S:3
stp A_l, A_l, [dst, #-16] L(tail15): and count, count, #15 add dst, dst, count stp A_l, A_l, [dst, #-16] /* Repeat some/all of last store. */ RET L(tail15tiny): /* Set up to 15 bytes. Does not assume earlier memory being set. */ tbz count, #3, 1f str A_l, [dst], #8 1: tbz count, #2, 1f str A_lw, [dst],...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
81
140
bminor/glibc:sysdeps/aarch64/memset.S:4
b.le L(tail63) 2: sub dst, dst, #16 /* Pre-bias. */ sub count, count, #64 1: stp A_l, A_l, [dst, #16] stp A_l, A_l, [dst, #32] stp A_l, A_l, [dst, #48] stp A_l, A_l, [dst, #64]! subs count, count, #64 b.ge 1b tst count, #0x3f add dst, dst, #16 b.ne L(tail63) RET #ifndef DONT_USE_DC /* For zeroing memory...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
121
180
bminor/glibc:sysdeps/aarch64/memset.S:5
tbnz zva_len, #31, L(not_short) cbnz zva_len, L(zero_by_line) mrs tmp1, dczid_el0 tbz tmp1, #4, 1f /* ZVA not available. Remember this for next time. */ mov zva_len, #~0 str zva_len, [tmp2, #:lo12:L(cache_clear)] b L(not_short) 1: mov tmp3w, #4 and zva_len, tmp1w, #15 /* Safety: other bits reserved. */ lsl...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
161
220
bminor/glibc:sysdeps/aarch64/memset.S:6
stp A_l, A_l, [dst, #16] stp A_l, A_l, [dst, #32] subs tmp2, tmp2, #64 stp A_l, A_l, [dst, #48] add dst, dst, #64 b.ge 2b /* We've overrun a bit, so adjust dst downwards. */ add dst, dst, tmp2 1: sub count, count, zva_len_x 3: dc zva, dst add dst, dst, zva_len_x subs count, count, zva_len_x b.ge 3b ands c...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
f7a9f785e547bd599dee496fd906a28bcb4ec7fe
github
libc
https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/memset.S
201
229
bminor/glibc:sysdeps/aarch64/memset.S:1
/* Copyright (C) 2012-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 published by the Free Software Foundation; either version 2.1 of the...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/memset.S
LGPL-2.1
890b7a4b33d482b5c768ab47d70758b80227e9bc
github
libc
https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/memset.S
1
60
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_generic.S
1
36
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_generic.S
1
36
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
ef9596352b9863dd055578b4bfdd3777aca0bcb8
github
libc
https://github.com/bminor/glibc/blob/ef9596352b9863dd055578b4bfdd3777aca0bcb8/sysdeps/aarch64/multiarch/memchr_generic.S
1
36
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
581c785bf31bc74430320c7856bbfa3875d025fe
github
libc
https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
2b778ceb4010c28d70de9b8eab20e8d88eed586b
github
libc
https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 2018-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 t...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
d614a7539657941a9201c236b2f15afac18e1213
github
libc
https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 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 Fr...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
5a82c74822d3272df2f5929133680478c0cfb4bd
github
libc
https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_generic.S:1
/* Memchr for aarch64, default version for internal use. Copyright (C) 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 Fr...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_generic.S
LGPL-2.1
83d1cc42d8e6b18a4b6ba53addfdae98c694ea36
github
libc
https://github.com/bminor/glibc/blob/83d1cc42d8e6b18a4b6ba53addfdae98c694ea36/sysdeps/aarch64/multiarch/memchr_generic.S
1
33
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:1
/* memchr - find a character in a memory zone using base integer registers Copyright (C) 2018-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 Licens...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
1
60
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:2
#define tmp4 x5 #define src x6 #define srcend x7 #define srcend16 x8 #define anymore x9 #define zeroones x10 #define data1 x11 #define data2 x12 #define has_chr1 x13 #define has_chr2 x14 #define REP8_01 0x0101010101010101 #define REP8_7f 0x7f7f7f7f7f7f7f7f ENTRY (__memchr_nosimd) /* Do not dereference...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
41
100
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:3
add srcend16, srcend, 15 bic srcend16, srcend16, 15 b.eq L(loop) /* Load the first block containing start address. */ ldp data1, data2, [src], 16 lsl tmp1, srcin, 3 mov tmp2, ~0 #ifdef __AARCH64EB__ lsr tmp3, tmp2, tmp1 #else lsl tmp3, tmp2, tmp1 #endif /* Start address is in the first or the second qword? ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
81
140
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:4
* * o. Memory range is so large that end address wrap-around. * ( start address - end address) > 0 */ cmp srcin, srcend ccmp src, srcend16, 0, mi csetm anymore, ne b L(find_chr) .p2align 4 L(loop): ldp data1, data2, [src], 16 subs anymore, src, srcend16 /* * Transform any byte in the block to z...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
121
180
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:5
bic has_chr2, tmp2, tmp4 orr tmp1, has_chr1, has_chr2 ccmp tmp1, 0, 0, ne b.eq L(loop) cbz has_chr1, 1f sub result, src, 16 #ifdef __AARCH64EB__ rev data1, data1 #else rev has_chr1, has_chr1 #endif b L(done) 1: cbz has_chr2, L(none_chr) sub result, src, 8 #ifdef __AARCH64EB__ rev data1, data2 #else rev h...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
161
215
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:6
* byte of in has_chr has value of 1, while this is only true for * the first occurrence, not other occurrences. */ cmp anymore, 0 clz tmp1, has_chr1 add result, result, tmp1, lsr 3 ccmp result, srcend, 8, eq /* NZCV = 8000 */ csel result, result, xzr, mi ret L(none_chr): mov result, 0 ret END (__memchr_no...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
04e750e75b73957cf1c791535a3f4319534a52fc
github
libc
https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/memchr_nosimd.S
201
215
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:1
/* memchr - find a character in a memory zone using base integer registers Copyright (C) 2018-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 Licens...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
ce2f26a22e6b6f5c108d156afd9b43a452bb024c
github
libc
https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/multiarch/memchr_nosimd.S
1
60
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:2
#define tmp4 x5 #define src x6 #define srcend x7 #define srcend16 x8 #define anymore x9 #define zeroones x10 #define data1 x11 #define data2 x12 #define has_chr1 x13 #define has_chr2 x14 #define REP8_01 0x0101010101010101 #define REP8_7f 0x7f7f7f7f7f7f7f7f ENTRY (__memchr_nosimd) PTR_ARG (0) SIZE_ARG...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_nosimd.S
41
100
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:3
* * [A block is 16-byte aligned and sized.] */ add srcend16, srcend, 15 bic srcend16, srcend16, 15 b.eq L(loop) /* Load the first block containing start address. */ ldp data1, data2, [src], 16 lsl tmp1, srcin, 3 mov tmp2, ~0 #ifdef __AARCH64EB__ lsr tmp3, tmp2, tmp1 #else lsl tmp3, tmp2, tmp1 #endif /*...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_nosimd.S
81
140
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:4
* When the first and last block are the same, there are two cases: * o. Memory range to search is just in one block. * ( start address - end address) < 0 * * o. Memory range is so large that end address wrap-around. * ( start address - end address) > 0 */ cmp srcin, srcend ccmp src, srcend16, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_nosimd.S
121
180
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:5
orr tmp4, data2, REP8_7f bic has_chr1, tmp1, tmp3 bic has_chr2, tmp2, tmp4 orr tmp1, has_chr1, has_chr2 ccmp tmp1, 0, 0, ne b.eq L(loop) cbz has_chr1, 1f sub result, src, 16 #ifdef __AARCH64EB__ rev data1, data1 #else rev has_chr1, has_chr1 #endif b L(done) 1: cbz has_chr2, L(none_chr) sub result, src, ...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_nosimd.S
161
218
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:6
/* * If the specified char is found in a qword, the corresponding * byte of in has_chr has value of 1, while this is only true for * the first occurrence, not other occurrences. */ cmp anymore, 0 clz tmp1, has_chr1 add result, result, tmp1, lsr 3 ccmp result, srcend, 8, eq /* NZCV = 8000 */ csel result, re...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
2642002380aafb71a1d3b569b6d7ebeab3284816
github
libc
https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/memchr_nosimd.S
201
218
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:1
/* memchr - find a character in a memory zone using base integer registers Copyright (C) 2018-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 Licens...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
dff8da6b3e89b986bb7f6b1ec18cf65d5972e307
github
libc
https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/multiarch/memchr_nosimd.S
1
60
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:1
/* memchr - find a character in a memory zone using base integer registers Copyright (C) 2018-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 Licens...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
9fd3409842b3e2d31cff5dbd6f96066c430f0aa2
github
libc
https://github.com/bminor/glibc/blob/9fd3409842b3e2d31cff5dbd6f96066c430f0aa2/sysdeps/aarch64/multiarch/memchr_nosimd.S
1
60
bminor/glibc:sysdeps/aarch64/multiarch/memchr_nosimd.S:1
/* memchr - find a character in a memory zone using base integer registers Copyright (C) 2018-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 Licens...
arm64
gas-like
handwritten
bminor/glibc
sysdeps/aarch64/multiarch/memchr_nosimd.S
LGPL-2.1
6d7e8eda9b85b08f207a6dc6f187e94e4817270f
github
libc
https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/memchr_nosimd.S
1
60