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/multiarch/strlen_asimd.S:3 | If the string is longer than 32 bytes, align src so we don't need further
page cross checks, and process 32 bytes per iteration using a fast SIMD
loop.
If the page cross check fails, we read 32 bytes from an aligned address,
and ignore any characters before the string. If it contains a NUL
character, r... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:4 | clz tmp1, has_nul1
add len, len, tmp1, lsr 3
ret
/* Look for a NUL byte at offset 16..31 in the string. */
L(bytes16_31):
ldp data1, data2, [srcin, 16]
#ifdef __AARCH64EB__
rev data1, data1
rev data2, data2
#endif
sub tmp1, data1, zeroones
orr tmp2, data1, REP8_7f
sub tmp3, data2, zeroones
orr tmp4, data2, ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/strlen_asimd.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | cmeq maskv.8b, maskv.8b, 0
fmov synd, maskd
cbz synd, L(loop)
/* Low 32 bits of synd are non-zero if a NUL was found in datav1. */
cmeq maskv.16b, datav1.16b, 0
sub len, src, srcin
cbnz syndw, 1f
cmeq maskv.16b, datav2.16b, 0
add len, len, 16
1:
/* Generate a bitmask and compute correct byte offset. */
shr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 204 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | ce2f26a22e6b6f5c108d156afd9b43a452bb024c | github | libc | https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:2 | #define maskv v0
#define maskd d0
#define dataq1 q1
#define dataq2 q2
#define datav1 v1
#define datav2 v2
#define tmp x2
#define tmpw w2
#define synd x3
#define syndw w3
#define shift x4
/* For the first 32 bytes, NUL detection works on the principle that
(X - 1) & (~X) & 0x80 (=> (X - 1) & ~(X | 0x7f)) is non-zero... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/strlen_asimd.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:3 | If the string is longer than 32 bytes, align src so we don't need further
page cross checks, and process 32 bytes per iteration using a fast SIMD
loop.
If the page cross check fails, we read 32 bytes from an aligned address,
and ignore any characters before the string. If it contains a NUL
character, r... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:4 | csel len, xzr, len, cc
clz tmp1, has_nul1
add len, len, tmp1, lsr 3
ret
/* Look for a NUL byte at offset 16..31 in the string. */
L(bytes16_31):
ldp data1, data2, [srcin, 16]
#ifdef __AARCH64EB__
rev data1, data1
rev data2, data2
#endif
sub tmp1, data1, zeroones
orr tmp2, data1, REP8_7f
sub tmp3, data2, zer... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/strlen_asimd.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | uminp maskv.16b, maskv.16b, maskv.16b
cmeq maskv.8b, maskv.8b, 0
fmov synd, maskd
cbz synd, L(loop)
/* Low 32 bits of synd are non-zero if a NUL was found in datav1. */
cmeq maskv.16b, datav1.16b, 0
sub len, src, srcin
cbnz syndw, 1f
cmeq maskv.16b, datav2.16b, 0
add len, len, 16
1:
/* Generate a bitmask an... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 205 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 9fd3409842b3e2d31cff5dbd6f96066c430f0aa2 | github | libc | https://github.com/bminor/glibc/blob/9fd3409842b3e2d31cff5dbd6f96066c430f0aa2/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | uminp maskv.16b, maskv.16b, maskv.16b
cmeq maskv.8b, maskv.8b, 0
fmov synd, maskd
cbz synd, L(loop)
/* Low 32 bits of synd are non-zero if a NUL was found in datav1. */
cmeq maskv.16b, datav1.16b, 0
sub len, src, srcin
cbnz syndw, 1f
cmeq maskv.16b, datav2.16b, 0
add len, len, 16
1:
/* Generate a bitmask an... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 1bbb1a2022e126f21810d3d0ebe0a975d5243e43 | github | libc | https://github.com/bminor/glibc/blob/1bbb1a2022e126f21810d3d0ebe0a975d5243e43/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 206 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:2 | #define maskv v0
#define maskd d0
#define dataq1 q1
#define dataq2 q2
#define datav1 v1
#define datav2 v2
#define tmp x2
#define tmpw w2
#define synd x3
#define shift x4
/* For the first 32 bytes, NUL detection works on the principle that
(X - 1) & (~X) & 0x80 (=> (X - 1) & ~(X | 0x7f)) is non-zero if a
byte is ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:3 | page cross checks, and process 32 bytes per iteration using a fast SIMD
loop.
If the page cross check fails, we read 32 bytes from an aligned address,
and ignore any characters before the string. If it contains a NUL
character, return the length, if not, continue in the main loop. */
ENTRY (__strlen_asi... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:4 | csel len, xzr, len, cc
clz tmp1, has_nul1
add len, len, tmp1, lsr 3
ret
.p2align 3
/* Look for a NUL byte at offset 16..31 in the string. */
L(bytes16_31):
ldp data1, data2, [srcin, 16]
#ifdef __AARCH64EB__
rev data1, data1
rev data2, data2
#endif
sub tmp1, data1, zeroones
orr tmp2, data1, REP8_7f
sub tmp3... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 121 | 180 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | uminp maskv.16b, maskv.16b, maskv.16b
cmeq maskv.8b, maskv.8b, 0
fmov synd, maskd
cbz synd, L(loop)
/* Low 32 bits of synd are non-zero if a NUL was found in datav1. */
cmeq maskv.16b, datav1.16b, 0
sub len, src, srcin
tst synd, 0xffffffff
b.ne 1f
cmeq maskv.16b, datav2.16b, 0
add len, len, 16
1:
/* Genera... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 214 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:6 | addp maskv.16b, datav1.16b, datav2.16b
addp maskv.16b, maskv.16b, maskv.16b
fmov synd, maskd
lsl shift, srcin, 1
lsr synd, synd, shift
cbz synd, L(loop)
rbit synd, synd
clz len, synd
lsr len, len, 1
ret
END (__strlen_asimd)
libc_hidden_builtin_def (__strlen_asimd) | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_asimd.S | 201 | 214 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Optimized strlen implementation using SIMD.
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 the Free So... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 | github | libc | https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:2 | #define maskv v0
#define maskd d0
#define dataq1 q1
#define dataq2 q2
#define datav1 v1
#define datav2 v2
#define tmp x2
#define tmpw w2
#define synd x3
#define shift x4
/* For the first 32 bytes, NUL detection works on the principle that
(X - 1) & (~X) & 0x80 (=> (X - 1) & ~(X | 0x7f)) is non-zero if a
byte is ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 4033f21eb2484bdf9205dcf29da6cc89809221f7 | github | libc | https://github.com/bminor/glibc/blob/4033f21eb2484bdf9205dcf29da6cc89809221f7/sysdeps/aarch64/multiarch/strlen_asimd.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:3 | page cross checks, and process 32 bytes per iteration using a fast SIMD
loop.
If the page cross check fails, we read 32 bytes from an aligned address,
and ignore any characters before the string. If it contains a NUL
character, return the length, if not, continue in the main loop. */
ENTRY (__strlen_asi... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 4033f21eb2484bdf9205dcf29da6cc89809221f7 | github | libc | https://github.com/bminor/glibc/blob/4033f21eb2484bdf9205dcf29da6cc89809221f7/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | uminp maskv.16b, maskv.16b, maskv.16b
cmeq maskv.8b, maskv.8b, 0
fmov synd, maskd
cbz synd, L(loop)
/* Low 32 bits of synd are non-zero if a NUL was found in datav1. */
cmeq maskv.16b, datav1.16b, 0
sub len, src, srcin
tst synd, 0xffffffff
b.ne 1f
cmeq maskv.16b, datav2.16b, 0
add len, len, 16
1:
/* Genera... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | f46ef33ad134bec7ac992f28ee4b8b0614590e3e | github | libc | https://github.com/bminor/glibc/blob/f46ef33ad134bec7ac992f28ee4b8b0614590e3e/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 215 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:6 | addp maskv.16b, datav1.16b, datav2.16b
addp maskv.16b, maskv.16b, maskv.16b
fmov synd, maskd
lsl shift, srcin, 1
lsr synd, synd, shift
cbz synd, L(loop)
rbit synd, synd
clz len, synd
lsr len, len, 1
ret
END (__strlen_asimd)
weak_alias (__strlen_asimd, strlen_asimd)
libc_hidden_builtin_def (strlen_asimd) | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | f46ef33ad134bec7ac992f28ee4b8b0614590e3e | github | libc | https://github.com/bminor/glibc/blob/f46ef33ad134bec7ac992f28ee4b8b0614590e3e/sysdeps/aarch64/multiarch/strlen_asimd.S | 201 | 215 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Strlen implementation that uses ASIMD instructions for load and NULL checks.
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
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:2 | #define tmp2 x5
#define tmp3 x6
#define tmp4 x7
#define zeroones x8
#define dataq q2
#define datav v2
#define datab2 b3
#define dataq2 q3
#define datav2 v3
#define REP8_01 0x0101010101010101
#define REP8_7f 0x7f7f7f7f7f7f7f7f
#ifdef TEST_PAGE_CROSS
# define MIN_PAGE_SIZE 16
#else
# define MIN_PAGE_SIZE 4096
#... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_asimd.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:3 | whether the first fetch, which may be misaligned, crosses a page
boundary. */
ENTRY_ALIGN (__strlen_asimd, 6)
DELOUSE (0)
DELOUSE (1)
and tmp1, srcin, MIN_PAGE_SIZE - 1
mov zeroones, REP8_01
cmp tmp1, MIN_PAGE_SIZE - 16
b.gt L(page_cross)
ldp data1, data2, [srcin]
#ifdef __AARCH64EB__
rev data1, data1
re... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:4 | uminv datab2, datav.16b
mov tmp1, datav2.d[0]
cbz tmp1, L(tail)
ldr dataq, [src, 16]
uminv datab2, datav.16b
mov tmp1, datav2.d[0]
cbnz tmp1, L(main_loop)
add src, src, 16
L(tail):
#ifdef __AARCH64EB__
rev64 datav.16b, datav.16b
#endif
/* Set te NULL byte as 0xff and the rest as 0x00, move the data into a
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_asimd.S | 121 | 178 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:5 | csel tmp1, tmp1, tmp3, eq
mov tmp4, -1
#ifdef __AARCH64EB__
/* Big-endian. Early bytes are at MSB. */
lsr tmp1, tmp4, tmp1
lsr tmp2, tmp4, tmp2
#else
/* Little-endian. Early bytes are at LSB. */
lsl tmp1, tmp4, tmp1
lsl tmp2, tmp4, tmp2
#endif
mov datav2.d[0], tmp1
mov datav2.d[1], tmp2
orn datav.16b, dat... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_asimd.S | 161 | 178 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Strlen implementation that uses ASIMD instructions for load and NULL checks.
Copyright (C) 2018-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
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | c2150769d015dca1805334af7743829f1e4c0b6a | github | libc | https://github.com/bminor/glibc/blob/c2150769d015dca1805334af7743829f1e4c0b6a/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Strlen implementation that uses ASIMD instructions for load and NULL checks.
Copyright (C) 2018-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
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:2 | #define tmp2 x5
#define tmp3 x6
#define tmp4 x7
#define zeroones x8
#define dataq q2
#define datav v2
#define datab2 b3
#define dataq2 q3
#define datav2 v3
#ifdef TEST_PAGE_CROSS
# define MIN_PAGE_SIZE 16
#else
# define MIN_PAGE_SIZE 4096
#endif
/* Since strings are short on average, we check the first 16 by... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/strlen_asimd.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:3 | ENTRY_ALIGN (__strlen_asimd, 6)
DELOUSE (0)
DELOUSE (1)
and tmp1, srcin, MIN_PAGE_SIZE - 1
cmp tmp1, MIN_PAGE_SIZE - 16
b.gt L(page_cross)
ldr dataq, [srcin]
#ifdef __AARCH64EB__
rev64 datav.16b, datav.16b
#endif
/* Get the minimum value and keep going if it is not zero. */
uminv datab2, datav.16b
mov tmp1,... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/strlen_asimd.S | 81 | 140 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:4 | #ifdef __AARCH64EB__
rev64 datav.16b, datav.16b
#endif
/* Set te NULL byte as 0xff and the rest as 0x00, move the data into a
pair of scalars and then compute the length from the earliest NULL
byte. */
cmeq datav.16b, datav.16b, #0
mov data1, datav.d[0]
mov data2, datav.d[1]
cmp data1, 0
csel data1, dat... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/strlen_asimd.S | 121 | 168 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Strlen implementation that uses ASIMD instructions for load and NULL checks.
Copyright (C) 2018-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
Li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_asimd.S:1 | /* Strlen implementation that uses ASIMD instructions for load and NULL checks.
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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_asimd.S | LGPL-2.1 | 436e4d5b965abe592d26150cb518accf9ded8fe4 | github | libc | https://github.com/bminor/glibc/blob/436e4d5b965abe592d26150cb518accf9ded8fe4/sysdeps/aarch64/multiarch/strlen_asimd.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | ef9596352b9863dd055578b4bfdd3777aca0bcb8 | github | libc | https://github.com/bminor/glibc/blob/ef9596352b9863dd055578b4bfdd3777aca0bcb8/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
Copyright (C) 2018-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 t... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_generic.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
Copyright (C) 2018-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 t... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/multiarch/strlen_generic.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_generic.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_generic.S | LGPL-2.1 | 436e4d5b965abe592d26150cb518accf9ded8fe4 | github | libc | https://github.com/bminor/glibc/blob/436e4d5b965abe592d26150cb518accf9ded8fe4/sysdeps/aarch64/multiarch/strlen_generic.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_mte.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_mte.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/multiarch/strlen_mte.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_mte.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_mte.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/multiarch/strlen_mte.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/multiarch/strlen_mte.S:1 | /* A Generic Optimized strlen implementation for AARCH64.
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/strlen_mte.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/multiarch/strlen_mte.S | 1 | 39 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 2015-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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 2015-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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 2015-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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 3f798427884fa57770e8e2291cf58d5918254bb5 | github | libc | https://github.com/bminor/glibc/blob/3f798427884fa57770e8e2291cf58d5918254bb5/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
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 published by the Free... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 2015-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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 2015-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... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/rawmemchr.S:1 | /* rawmemchr - find a character in a memory zone
Copyright (C) 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 Soft... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/rawmemchr.S | LGPL-2.1 | 58ec4fb881719d0b69989f9a4955290fca531831 | github | libc | https://github.com/bminor/glibc/blob/58ec4fb881719d0b69989f9a4955290fca531831/sysdeps/aarch64/rawmemchr.S | 1 | 42 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | CALL_LIBC_ARM_ZA_DISABLE
#endif
stp x19, x20, [x0, #JB_X19<<3]
stp x21, x22, [x0, #JB_X21<<3]
stp x23, x24, [x0, #JB_X23<<3]
stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (x4, x30, x3)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* s... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/setjmp.S | 41 | 87 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | b4b713bd8921aff04773557da94fabb5fb9dd705 | github | libc | https://github.com/bminor/glibc/blob/b4b713bd8921aff04773557da94fabb5fb9dd705/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | c0f0db2d59e0908057205b22b21dd9d626d780c1 | github | libc | https://github.com/bminor/glibc/blob/c0f0db2d59e0908057205b22b21dd9d626d780c1/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | The calling convention of __libc_arm_za_disable allows to do
this thus allowing to avoid saving to and reading from stack.
As a result we also don't need to sign the return address and
check it after returning because it is not stored to stack. */
mov x13, x30
cfi_register (x30, x13)
bl __libc_arm_za_di... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | c0f0db2d59e0908057205b22b21dd9d626d780c1 | github | libc | https://github.com/bminor/glibc/blob/c0f0db2d59e0908057205b22b21dd9d626d780c1/sysdeps/aarch64/setjmp.S | 41 | 95 |
bminor/glibc:sysdeps/aarch64/setjmp.S:3 | mov x2, sp
#ifdef PTR_MANGLE
PTR_MANGLE (x2, x2, x3)
#endif
str x2, [x0, #JB_SP<<3]
#if IS_IN (rtld)
/* In ld.so we never save the signal mask */
mov w0, #0
ret
#else
b C_SYMBOL_NAME(__sigjmp_save)
#endif
END (__sigsetjmp)
hidden_def (__sigsetjmp) | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | c0f0db2d59e0908057205b22b21dd9d626d780c1 | github | libc | https://github.com/bminor/glibc/blob/c0f0db2d59e0908057205b22b21dd9d626d780c1/sysdeps/aarch64/setjmp.S | 81 | 95 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 2c421fc4302ecb729823ca442f9dfab95afba752 | github | libc | https://github.com/bminor/glibc/blob/2c421fc4302ecb729823ca442f9dfab95afba752/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | paciasp
cfi_negate_ra_state
stp x29, x30, [sp, -16]!
cfi_adjust_cfa_offset (16)
cfi_rel_offset (x29, 0)
cfi_rel_offset (x30, 8)
mov x29, sp
bl __libc_arm_za_disable
ldp x29, x30, [sp], 16
cfi_adjust_cfa_offset (-16)
cfi_restore (x29)
cfi_restore (x30)
autiasp
cfi_negate_ra_state
#endif
stp x19, x20, [x0,... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 2c421fc4302ecb729823ca442f9dfab95afba752 | github | libc | https://github.com/bminor/glibc/blob/2c421fc4302ecb729823ca442f9dfab95afba752/sysdeps/aarch64/setjmp.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/setjmp.S:3 | tbnz x16, 0, L(gcs_done)
MRS_GCSPR (x2)
add x2, x2, 8 /* GCS state right after setjmp returns. */
str x2, [x0, #JB_GCSPR]
L(gcs_done):
mov x2, sp
#ifdef PTR_MANGLE
PTR_MANGLE (x2, x2, x3)
#endif
str x2, [x0, #JB_SP<<3]
#if IS_IN (rtld)
/* In ld.so we never save the signal mask */
mov w0, #0
ret
#else
b C_SY... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 2c421fc4302ecb729823ca442f9dfab95afba752 | github | libc | https://github.com/bminor/glibc/blob/2c421fc4302ecb729823ca442f9dfab95afba752/sysdeps/aarch64/setjmp.S | 81 | 100 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | a7f6fd976c17b82dc198290b4ab7087f35855a0e | github | libc | https://github.com/bminor/glibc/blob/a7f6fd976c17b82dc198290b4ab7087f35855a0e/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | # if HAVE_AARCH64_PAC_RET
PACIASP
cfi_window_save
# endif
stp x29, x30, [sp, -16]!
cfi_adjust_cfa_offset (16)
cfi_rel_offset (x29, 0)
cfi_rel_offset (x30, 8)
mov x29, sp
bl __libc_arm_za_disable
ldp x29, x30, [sp], 16
cfi_adjust_cfa_offset (-16)
cfi_restore (x29)
cfi_restore (x30)
# if HAVE_AARCH64_PAC_RET
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | a7f6fd976c17b82dc198290b4ab7087f35855a0e | github | libc | https://github.com/bminor/glibc/blob/a7f6fd976c17b82dc198290b4ab7087f35855a0e/sysdeps/aarch64/setjmp.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/setjmp.S:3 | /* GCS support. */
mov x16, 1
CHKFEAT_X16
tbnz x16, 0, L(gcs_done)
MRS_GCSPR (x2)
add x2, x2, 8 /* GCS state right after setjmp returns. */
str x2, [x0, #JB_GCSPR]
L(gcs_done):
mov x2, sp
#ifdef PTR_MANGLE
PTR_MANGLE (x2, x2, x3)
#endif
str x2, [x0, #JB_SP<<3]
#if IS_IN (rtld)
/* In ld.so we never save the... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | a7f6fd976c17b82dc198290b4ab7087f35855a0e | github | libc | https://github.com/bminor/glibc/blob/a7f6fd976c17b82dc198290b4ab7087f35855a0e/sysdeps/aarch64/setjmp.S | 81 | 104 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | eb7ac024d9e5ac71f6c9695703c3db6b05744b86 | github | libc | https://github.com/bminor/glibc/blob/eb7ac024d9e5ac71f6c9695703c3db6b05744b86/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (x4, x30, x3)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first argument (8@x0), return value second argument (-4@x1),
and tar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | eb7ac024d9e5ac71f6c9695703c3db6b05744b86 | github | libc | https://github.com/bminor/glibc/blob/eb7ac024d9e5ac71f6c9695703c3db6b05744b86/sysdeps/aarch64/setjmp.S | 41 | 81 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | ce2f26a22e6b6f5c108d156afd9b43a452bb024c | github | libc | https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (4, 30, 3, 2)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first argument (8@x0), return value second argument (-4@x1),
and tar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | ce2f26a22e6b6f5c108d156afd9b43a452bb024c | github | libc | https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/setjmp.S | 41 | 84 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 5ff5e7836e97a2d87778936b29c9607c120251be | github | libc | https://github.com/bminor/glibc/blob/5ff5e7836e97a2d87778936b29c9607c120251be/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x21, x22, [x0, #JB_X21<<3]
stp x23, x24, [x0, #JB_X23<<3]
stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (4, 30, 3, 2)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first ar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 5ff5e7836e97a2d87778936b29c9607c120251be | github | libc | https://github.com/bminor/glibc/blob/5ff5e7836e97a2d87778936b29c9607c120251be/sysdeps/aarch64/setjmp.S | 41 | 86 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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; either version 2.1 of the
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x21, x22, [x0, #JB_X21<<3]
stp x23, x24, [x0, #JB_X23<<3]
stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (4, 30, 3, 2)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first ar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/setjmp.S | 41 | 76 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 88f4b6929c26f9240a4b0b7dcc62922f02544a09 | github | libc | https://github.com/bminor/glibc/blob/88f4b6929c26f9240a4b0b7dcc62922f02544a09/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x23, x24, [x0, #JB_X23<<3]
stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (4, 30, 3, 2)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first argument (8@x0), return value seco... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/setjmp.S | 41 | 75 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 | github | libc | https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/setjmp.S:2 | stp x25, x26, [x0, #JB_X25<<3]
stp x27, x28, [x0, #JB_X27<<3]
#ifdef PTR_MANGLE
PTR_MANGLE (x4, x30, x3, x2)
stp x29, x4, [x0, #JB_X29<<3]
#else
stp x29, x30, [x0, #JB_X29<<3]
#endif
/* setjmp probe takes 3 arguments, address of jump buffer
first argument (8@x0), return value second argument (-4@x1),
and... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/setjmp.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/setjmp.S | 41 | 74 |
bminor/glibc:sysdeps/aarch64/setjmp.S:1 | /* Copyright (C) 1997-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/setjmp.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/setjmp.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | Note that the code in the .init section has already been run.
This includes _init and _libc_init
At this entry point, most registers' values are unspecified, except:
x0/w0 Contains a function pointer to be registered with `atexit'.
This is how the dynamic linker arranges to have DT_FINI
functions called... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | adrp x0, :got:main
ldr x0, [x0, #:got_lo12:main]
# else
adrp x0, __wrap_main
add x0, x0, :lo12:__wrap_main
# endif
#else
movz x0, :abs_g3:main
movk x0, :abs_g2_nc:main
movk x0, :abs_g1_nc:main
movk x0, :abs_g0_nc:main
#endif
mov x3, #0 /* Used to be init. */
mov x4, #0 /* Used to be fini.... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/start.S | 81 | 122 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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; either
version 2.1 of the... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 2c421fc4302ecb729823ca442f9dfab95afba752 | github | libc | https://github.com/bminor/glibc/blob/2c421fc4302ecb729823ca442f9dfab95afba752/sysdeps/aarch64/start.S | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.