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/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 | 19860fd42e39cfa03ba3c3c8becf27229eabc597 | github | libc | https://github.com/bminor/glibc/blob/19860fd42e39cfa03ba3c3c8becf27229eabc597/sysdeps/aarch64/start.S | 81 | 122 |
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 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | adrp x0, :got:main
ldr PTR_REG (0), [x0, #:got_lo12:main]
# else
adrp x0, __wrap_main
add x0, x0, :lo12:__wrap_main
# endif
#else
/* Set up the other arguments in registers */
MOVL (0, main)
#endif
mov x3, #0 /* Used to be init. */
mov x4, #0 /* Used to be fini. */
/* __libc_start_main (main, argc, ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/start.S | 81 | 120 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 06d4381dd81eaab16b538017adc5854033f44b6d | github | libc | https://github.com/bminor/glibc/blob/06d4381dd81eaab16b538017adc5854033f44b6d/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
ENTRY(_start)
/* Create an initial frame with 0 LR and FP */
cfi_undefined (x30)
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in argument reg... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | bl __libc_start_main
/* should never get here....*/
bl abort
#if defined PIC && !defined SHARED
/* When main is not defined in the executable but in a shared library
then a wrapper is needed in crt1.o of the static-pie enabled libc,
because crt1.o and rcrt1.o share code and the later must avoid the
use... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/start.S | 81 | 103 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 035c012e32c11e84d64905efaf55e74f704d3668 | github | libc | https://github.com/bminor/glibc/blob/035c012e32c11e84d64905efaf55e74f704d3668/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
ENTRY(_start)
/* Create an initial frame with 0 LR and FP */
cfi_undefined (x30)
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in argument reg... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | /* Set up the other arguments in registers */
MOVL (0, main)
MOVL (3, __libc_csu_init)
MOVL (4, __libc_csu_fini)
#endif
/* __libc_start_main (main, argc, argv, init, fini, rtld_fini,
stack_end) */
/* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* should never get he... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/start.S | 81 | 113 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | d4136903a29baabeec8987b53081def8b4a49826 | github | libc | https://github.com/bminor/glibc/blob/d4136903a29baabeec8987b53081def8b4a49826/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:3 | /* Set up the other arguments in registers */
MOVL (0, main)
MOVL (3, __libc_csu_init)
MOVL (4, __libc_csu_fini)
#endif
/* __libc_start_main (main, argc, argv, init, fini, rtld_fini,
stack_end) */
/* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* should never get he... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 5edf3d9fd6efe06fda37b2a460e60690a90457a4 | github | libc | https://github.com/bminor/glibc/blob/5edf3d9fd6efe06fda37b2a460e60690a90457a4/sysdeps/aarch64/start.S | 81 | 112 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
.globl _start
.type _start,#function
_start:
BTI_C
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack li... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | # endif
#else
/* Set up the other arguments in registers */
MOVL (0, main)
MOVL (3, __libc_csu_init)
MOVL (4, __libc_csu_fini)
#endif
/* __libc_start_main (main, argc, argv, init, fini, rtld_fini,
stack_end) */
/* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* shou... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 91181954f94917b1e1ae591c60cbadf0321d35af | github | libc | https://github.com/bminor/glibc/blob/91181954f94917b1e1ae591c60cbadf0321d35af/sysdeps/aarch64/start.S | 81 | 113 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
.globl _start
.type _start,#function
_start:
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | #else
/* Set up the other arguments in registers */
MOVL (0, main)
MOVL (3, __libc_csu_init)
MOVL (4, __libc_csu_fini)
#endif
/* __libc_start_main (main, argc, argv, init, fini, rtld_fini,
stack_end) */
/* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* should never... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/start.S | 81 | 112 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 3d1d79283e6de4f7c434cb67fb53a4fd28359669 | github | libc | https://github.com/bminor/glibc/blob/3d1d79283e6de4f7c434cb67fb53a4fd28359669/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
.globl _start
.type _start,#function
_start:
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/start.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/start.S:3 | #else
/* Set up the other arguments in registers */
MOVL (0, main)
MOVL (3, __libc_csu_init)
MOVL (4, __libc_csu_fini)
#endif
/* __libc_start_main (main, argc, argv, init, fini, rtld_fini,
stack_end) */
/* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* should never... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/start.S | 81 | 103 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 14d886edbd3d80b771e1c42fbd9217f9074de9c6 | github | libc | https://github.com/bminor/glibc/blob/14d886edbd3d80b771e1c42fbd9217f9074de9c6/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
.globl _start
.type _start,#function
_start:
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 6cd380dd366d728da9f579eeb9f7f4c47f48e474 | github | libc | https://github.com/bminor/glibc/blob/6cd380dd366d728da9f579eeb9f7f4c47f48e474/sysdeps/aarch64/start.S | 41 | 94 |
bminor/glibc:sysdeps/aarch64/start.S:3 | /* Let the libc call main and exit with its return code. */
bl __libc_start_main
/* should never get here....*/
bl abort
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start
__data_start:
.long 0
.weak data_start
data_start = __data_start | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | 6cd380dd366d728da9f579eeb9f7f4c47f48e474 | github | libc | https://github.com/bminor/glibc/blob/6cd380dd366d728da9f579eeb9f7f4c47f48e474/sysdeps/aarch64/start.S | 81 | 94 |
bminor/glibc:sysdeps/aarch64/start.S:2 | ...
NULL
*/
.text
.globl _start
.type _start,#function
_start:
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr PTR_REG (1), [sp, #0]
add x2, sp, #PTR_SIZE
/* Setup stack limit in ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/start.S | 41 | 94 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/start.S:2 | */
.text
.globl _start
.type _start,#function
_start:
/* Create an initial frame with 0 LR and FP */
mov x29, #0
mov x30, #0
/* Setup rtld_fini in argument register */
mov x5, x0
/* Load argc and a pointer to argv */
ldr x1, [sp, #0]
add x2, sp, #8
/* Setup stack limit in argument register */
mov x6, s... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/start.S | 41 | 92 |
bminor/glibc:sysdeps/aarch64/start.S:3 | bl __libc_start_main
/* should never get here....*/
bl abort
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start
__data_start:
.long 0
.weak data_start
data_start = __data_start | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/start.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/start.S | 81 | 92 |
bminor/glibc:sysdeps/aarch64/start.S:1 | /* Copyright (C) 1995-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/start.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/start.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
Copyright (C) 2015-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 Fre... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/stpcpy.S:1 | /* stpcpy - copy a string returning pointer to end.
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 Sof... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/stpcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/stpcpy.S | 1 | 20 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vhas_chr v3
#define vrepmask v4
#define vend v5
#define dend d5
/* Core algorithm.
For each 16-byte chunk we calculate a 64-bit syndrome value with four bits
per byte. Bits 0-1 are set if the relevant byte matched the requested
character, bits 2-3 are set if the byte is NUL or matched. Count traili... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:3 | cmhs vhas_nul.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_nul.16b, vhas_nul.16b
fmov tmp1, dend
cbnz tmp1, L(end)
ldr qdata, [src, 32]!
cmeq vhas_chr.16b, vdata.16b, vrepchr.16b
cmhs vhas_nul.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_nul.16b, vhas_nul.16b
fmov tmp1, dend
cbz tmp1, L(loop)
sub sr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchr.S | 81 | 114 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | ce2f26a22e6b6f5c108d156afd9b43a452bb024c | github | libc | https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vhas_chr v3
#define vrepmask v4
#define vend v5
#define dend d5
/* Core algorithm.
For each 16-byte chunk we calculate a 64-bit syndrome value with four bits
per byte. Bits 0-1 are set if the relevant byte matched the requested
character, bits 2-3 are set if the byte is NUL or matched. Count traili... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:3 | cmeq vhas_chr.16b, vdata.16b, vrepchr.16b
cmhs vhas_nul.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_nul.16b, vhas_nul.16b
fmov tmp1, dend
cbnz tmp1, L(end)
ldr qdata, [src, 32]!
cmeq vhas_chr.16b, vdata.16b, vrepchr.16b
cmhs vhas_nul.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_nul.16b, vhas_nul.16b
... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchr.S | 81 | 115 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 51541a229740801882490177fa178e49264b13fb | github | libc | https://github.com/bminor/glibc/blob/51541a229740801882490177fa178e49264b13fb/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vhas_nul v2
#define vhas_chr v3
#define vrepmask v4
#define vrepmask2 v5
#define vend v6
#define dend d6
/* Core algorithm.
For each 16-byte chunk we calculate a 64-bit syndrome value with four bits
per byte. For even bytes, bits 0-1 are set if the relevant byte matched the
requested character, bit... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:3 | /* Tmp1 is an even multiple of 2 if the target character was
found first. Otherwise we've found the end of string. */
tst tmp1, 2
add result, srcin, tmp1, lsr 2
csel result, result, xzr, eq
ret
.p2align 4
L(loop):
ldr qdata, [src, 16]!
cmeq vhas_chr.16b, vdata.16b, vrepchr.16b
cmhs vhas_nul.16b, vhas_chr.... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/strchr.S | 81 | 119 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 | github | libc | https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 49beaaec1bd333c543f7150576a0f9f6a28a4879 | github | libc | https://github.com/bminor/glibc/blob/49beaaec1bd333c543f7150576a0f9f6a28a4879/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vhas_nul v2
#define vhas_chr v3
#define vrepmask v4
#define vrepmask2 v5
#define vend v6
#define dend d6
/* Core algorithm.
For each 16-byte chunk we calculate a 64-bit syndrome value with four bits
per byte. For even bytes, bits 0-1 are set if the relevant byte matched the
requested character, bit... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 49beaaec1bd333c543f7150576a0f9f6a28a4879 | github | libc | https://github.com/bminor/glibc/blob/49beaaec1bd333c543f7150576a0f9f6a28a4879/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vdata2 v2
#define vhas_nul1 v3
#define vhas_nul2 v4
#define vhas_chr1 v5
#define vhas_chr2 v6
#define vrepmask_0 v7
#define vrepmask_c v16
#define vend1 v17
#define vend2 v18
/* Core algorithm.
For each 32-byte hunk we calculate a 64-bit syndrome value, with
two bits per byte (LSB is always in bits... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:3 | cmeq vhas_nul1.16b, vdata1.16b, #0
cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b
cmeq vhas_nul2.16b, vdata2.16b, #0
cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b
and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b
and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b
and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b
and vhas... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchr.S | 81 | 139 |
bminor/glibc:sysdeps/aarch64/strchr.S:4 | orr vend1.16b, vhas_nul1.16b, vhas_chr1.16b
orr vend2.16b, vhas_nul2.16b, vhas_chr2.16b
addp vend1.16b, vend1.16b, vend2.16b // 256->128
addp vend1.16b, vend1.16b, vend2.16b // 128->64
mov tmp1, vend1.2d[0]
L(tail):
sub src, src, #32
rbit tmp1, tmp1
clz tmp1, tmp1
/* Tmp1 is even if the target charager was f... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchr.S | 121 | 139 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 389d1f1b232b3d6b9d73ee2c50e543ace6675621 | github | libc | https://github.com/bminor/glibc/blob/389d1f1b232b3d6b9d73ee2c50e543ace6675621/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchr.S:2 | #define vdata2 v2
#define vhas_nul1 v3
#define vhas_nul2 v4
#define vhas_chr1 v5
#define vhas_chr2 v6
#define vrepmask_0 v7
#define vrepmask_c v16
#define vend1 v17
#define vend2 v18
/* Core algorithm.
For each 32-byte hunk we calculate a 64-bit syndrome value, with
two bits per byte (LSB is always in bits... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/aarch64/strchr.S:3 | cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b
cmeq vhas_nul2.16b, vdata2.16b, #0
cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b
and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b
and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b
and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b
and vhas_chr2.16b, vhas_chr2.16b, vrepmask_c... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/strchr.S | 81 | 138 |
bminor/glibc:sysdeps/aarch64/strchr.S:4 | orr vend2.16b, vhas_nul2.16b, vhas_chr2.16b
addp vend1.16b, vend1.16b, vend2.16b // 256->128
addp vend1.16b, vend1.16b, vend2.16b // 128->64
mov tmp1, vend1.2d[0]
L(tail):
sub src, src, #32
rbit tmp1, tmp1
clz tmp1, tmp1
/* Tmp1 is even if the target charager was found first. Otherwise
we've found the en... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/aarch64/strchr.S | 121 | 138 |
bminor/glibc:sysdeps/aarch64/strchr.S:1 | /* strchr - find a character in a string
Copyright (C) 2014-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/aarch64/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_chr v3
#define vend v4
#define dend d4
/*
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 4 instruction. Since the bits in the nibble mask reflect the order in
wh... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchrnul.S | 41 | 98 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:3 | umaxp vend.16b, vhas_chr.16b, vhas_chr.16b
fmov tmp1, dend
cbz tmp1, L(loop)
sub src, src, 16
L(end):
shrn vend.8b, vhas_chr.8h, 4 /* 128->64 */
add src, src, 16
fmov tmp1, dend
#ifndef __AARCH64EB__
rbit tmp1, tmp1
#endif
clz tmp1, tmp1
add result, src, tmp1, lsr 2
ret
END(__strchrnul)
libc_hidden_def (__s... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/aarch64/strchrnul.S | 81 | 98 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | ce2f26a22e6b6f5c108d156afd9b43a452bb024c | github | libc | https://github.com/bminor/glibc/blob/ce2f26a22e6b6f5c108d156afd9b43a452bb024c/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_chr v3
#define vend v4
#define dend d4
/*
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 4 instruction. Since the bits in the nibble mask reflect the order in
wh... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchrnul.S | 41 | 99 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:3 | cmhs vhas_chr.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_chr.16b, vhas_chr.16b
fmov tmp1, dend
cbz tmp1, L(loop)
sub src, src, 16
L(end):
shrn vend.8b, vhas_chr.8h, 4 /* 128->64 */
add src, src, 16
fmov tmp1, dend
#ifndef __AARCH64EB__
rbit tmp1, tmp1
#endif
clz tmp1, tmp1
add result, src, tmp1, lsr 2... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/aarch64/strchrnul.S | 81 | 99 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 7ea510127e2067efa07865158ac92c330c379950 | github | libc | https://github.com/bminor/glibc/blob/7ea510127e2067efa07865158ac92c330c379950/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_chr v3
#define vend v4
#define dend d4
/*
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 4 instruction. Since the bits in the nibble mask reflect the order in
wh... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 09ebd8549b2ce5a3a6c0c7c5f3e62227faf50a99 | github | libc | https://github.com/bminor/glibc/blob/09ebd8549b2ce5a3a6c0c7c5f3e62227faf50a99/sysdeps/aarch64/strchrnul.S | 41 | 98 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:3 | cmhs vhas_chr.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_chr.16b, vhas_chr.16b
fmov tmp1, dend
cbz tmp1, L(loop)
sub src, src, 16
L(end):
shrn vend.8b, vhas_chr.8h, 4 /* 128->64 */
add src, src, 16
fmov tmp1, dend
#ifndef __AARCH64EB__
rbit tmp1, tmp1
#endif
clz tmp1, tmp1
add result, src, tmp1, lsr 2... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 09ebd8549b2ce5a3a6c0c7c5f3e62227faf50a99 | github | libc | https://github.com/bminor/glibc/blob/09ebd8549b2ce5a3a6c0c7c5f3e62227faf50a99/sysdeps/aarch64/strchrnul.S | 81 | 98 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_chr v3
#define vend v4
#define dend d4
/*
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 4 instruction. Since the bits in the nibble mask reflect the order in
wh... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/strchrnul.S | 41 | 90 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:3 | fmov tmp1, dend
#ifndef __AARCH64EB__
rbit tmp1, tmp1
#endif
clz tmp1, tmp1
add result, src, tmp1, lsr 2
ret
END(__strchrnul)
weak_alias (__strchrnul, strchrnul) | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/aarch64/strchrnul.S | 81 | 90 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 3c9980698988ef64072f1fac339b180f52792faf | github | libc | https://github.com/bminor/glibc/blob/3c9980698988ef64072f1fac339b180f52792faf/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_nul v2
#define vhas_chr v3
#define vrepmask v4
#define vend v5
#define dend d5
/* 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 relevant byte matched the
requested character or the byte is NUL. Bits ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/strchrnul.S | 41 | 97 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:3 | cmhs vhas_chr.16b, vhas_chr.16b, vdata.16b
umaxp vend.16b, vhas_chr.16b, vhas_chr.16b
fmov tmp1, dend
cbz tmp1, L(loop)
and vhas_chr.16b, vhas_chr.16b, vrepmask.16b
addp vend.16b, vhas_chr.16b, vhas_chr.16b /* 128->64 */
fmov tmp1, dend
#ifndef __AARCH64EB__
rbit tmp1, tmp1
#endif
clz tmp1, tmp1
add result, ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/aarch64/strchrnul.S | 81 | 97 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | 45b1e17e9150dbd9ac2d578579063fbfa8e1b327 | github | libc | https://github.com/bminor/glibc/blob/45b1e17e9150dbd9ac2d578579063fbfa8e1b327/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | f7de454f20c05a748b5d421ed22d96a5232b6093 | github | libc | https://github.com/bminor/glibc/blob/f7de454f20c05a748b5d421ed22d96a5232b6093/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vhas_nul v2
#define vhas_chr v3
#define vrepmask v4
#define vend v5
#define dend d5
/* 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 relevant byte matched the
requested character or the byte is NUL. Bits ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | f7de454f20c05a748b5d421ed22d96a5232b6093 | github | libc | https://github.com/bminor/glibc/blob/f7de454f20c05a748b5d421ed22d96a5232b6093/sysdeps/aarch64/strchrnul.S | 41 | 97 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:1 | /* strchrnul - find a character or nul in a string
Copyright (C) 2014-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Fr... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchrnul.S | 1 | 60 |
bminor/glibc:sysdeps/aarch64/strchrnul.S:2 | #define vrepchr v0
#define vdata1 v1
#define vdata2 v2
#define vhas_nul1 v3
#define vhas_nul2 v4
#define vhas_chr1 v5
#define vhas_chr2 v6
#define vrepmask v7
#define vend1 v16
/* Core algorithm.
For each 32-byte hunk we calculate a 64-bit syndrome value, with
two bits per byte (LSB is always in bits 0 and ... | arm64 | gas-like | handwritten | bminor/glibc | sysdeps/aarch64/strchrnul.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/aarch64/strchrnul.S | 41 | 100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.