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/arm/armv6/rawmemchr.S:1 | /* rawmemchr -- find a byte within an unsized memory block.
Copyright (C) 2013-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... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/rawmemchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/rawmemchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/rawmemchr.S:2 | it eq
bxeq lr
@ Loop until we find ...
1: sfi_breg r0, \
ldrb r2, [\B, #1]!
subs r3, r3, #1 @ ... the alignment point
it ne
cmpne r2, r1 @ ... or C
bne 1b
@ Disambiguate the exit possibilites above
cmp r2, r1 @ Found C
it eq
bxeq lr
add r0, r0, #1
@ So now we're aligned.
sfi_breg r0, \
ldrd r2, r... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/rawmemchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/rawmemchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/rawmemchr.S:3 | orrs r3, r3, r2 @ Test both words for found
it eq
sfi_breg r0, \
ldrdeq r2, r3, [\B], #8
beq 2b
@ Found something. Disambiguate between first and second words.
@ Adjust r0 to point to the word containing the match.
@ Adjust r2 to the found bits for the word containing the match.
cmp r2, #0
sub r0, r0, #4
i... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/rawmemchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/rawmemchr.S | 81 | 109 |
bminor/glibc:sysdeps/arm/armv6/rawmemchr.S:1 | /* rawmemchr -- find a byte within an unsized memory block.
Copyright (C) 2013-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... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/rawmemchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/armv6/rawmemchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/rawmemchr.S:1 | /* rawmemchr -- find a byte within an unsized memory block.
Copyright (C) 2013-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... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/rawmemchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/armv6/rawmemchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:2 | cmpne r2, #0 @ Found EOS?
beq 99f
@ Loop until we find ...
1: ldrb r2, [r0, #1]!
subs r3, r3, #1 @ ... the alignment point
it ne
cmpne r2, r1 @ ... or the character
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilities above
cmp r2, r1 @ Found the character
it ne
cmpne r2, ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:3 | 2:
@ Subtracting (unsigned saturating) from 1 means result of 1 for
@ any byte that was originally zero and 0 otherwise. Therefore
@ we consider the lsb of each byte the "found" bit.
uqsub8 r4, ip, r2 @ Find EOS
eor r6, r2, r1 @ Convert C bytes to 0
uqsub8 r5, ip, r3
eor r7, r3, r1
uqsub8 r6, ip, r6 @ Find ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strchr.S | 81 | 140 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:4 | lsr r2, r2, r3 @ Shift down found byte
uxtb r1, r1 @ Undo replication of C
uxtb r2, r2 @ Extract found byte
add r0, r0, r3, lsr #3 @ Adjust the pointer to the found byte
pop { r4, r5, r6, r7 }
cfi_adjust_cfa_offset (-16)
cfi_restore (r4)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
@ Disambiguate... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strchr.S | 121 | 143 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 65cc53fe7c6556b90159b8c3da1eb283792387db | github | libc | https://github.com/bminor/glibc/blob/65cc53fe7c6556b90159b8c3da1eb283792387db/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:2 | cmpne r2, #0 @ Found EOS?
beq 99f
@ Loop until we find ...
1: ldrb r2, [r0, #1]!
subs r3, r3, #1 @ ... the aligment point
it ne
cmpne r2, r1 @ ... or the character
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilites above
cmp r2, r1 @ Found the character
it ne
cmpne r2, #0... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:2 | it ne
cmpne r2, #0 @ Found EOS?
beq 99f
@ Loop until we find ...
1: sfi_breg r0, \
ldrb r2, [\B, #1]!
subs r3, r3, #1 @ ... the aligment point
it ne
cmpne r2, r1 @ ... or the character
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilites above
cmp r2, r1 @ Found the charact... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:3 | orr r1, r1, r1, lsl #16
@ Loop searching for EOS or C, 8 bytes at a time.
2:
@ Subtracting (unsigned saturating) from 1 means result of 1 for
@ any byte that was originally zero and 0 otherwise. Therefore
@ we consider the lsb of each byte the "found" bit.
uqsub8 r4, ip, r2 @ Find EOS
eor r6, r2, r1 @ Convert... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strchr.S | 81 | 140 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:4 | #endif
@ We're counting 0x01 (not 0x80), so the bit offset is 7 too high.
clz r3, r4
sub r3, r3, #7
lsr r2, r2, r3 @ Shift down found byte
uxtb r1, r1 @ Undo replication of C
uxtb r2, r2 @ Extract found byte
add r0, r0, r3, lsr #3 @ Adjust the pointer to the found byte
pop { r4, r5, r6, r7 }
cfi_adjust_c... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strchr.S | 121 | 147 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strchr.S:1 | /* strchr -- find the first instance of C in a nul-terminated string.
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/armv6/strchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:2 | libc_hidden_builtin_def (stpcpy)
ENTRY (strcpy)
@ Signal strcpy with DEST in IP.
mov ip, r0
0:
pld [r0, #0]
pld [r1, #0]
@ To cater to long strings, we want 8 byte alignment in the source.
@ To cater to small strings, we don't want to start that right away.
@ Loop up to 16 times, less whatever it takes to reac... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:3 | @ Subtracting (unsigned saturating) from 1 for any byte means result
@ of 1 for any byte that was originally zero and 0 otherwise.
@ Therefore we consider the lsb of each byte the "found" bit.
#ifdef ARCH_HAS_T2
movw r7, #0x0101
tst r0, #3 @ Test alignment of DEST
movt r7, #0x0101
#else
ldr r7, =0x01010101
tst... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:4 | pop { r4, r5, r6, r7 }
cfi_remember_state
cfi_adjust_cfa_offset (-16)
cfi_restore (r4)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
.Lreturn:
cmp ip, #0 @ Was this strcpy or stpcpy?
ite eq
subeq r0, r0, #1 @ stpcpy: undo post-inc from store
movne r0, ip @ strcpy: return original dest
bx lr
.Luna... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:5 | @ Store a few bytes from the first word.
@ At the same time we align r0 and shift out bytes from r2.
.rept 4-\unalign
strb r2, [r0], #1
lsr r2, r2, #8
.endr
#ifdef __ARMEB__
rev r2, r2 @ Undo previous rev
#endif
@ Rotated unaligned copy loop. The tail of the prologue is
@ shared with the loop itself.
.balign ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 161 | 218 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:6 | #endif
.rept \unalign
strb r2, [r0], #1
lsr r2, r2, #8
.endr
b .Lbyte_loop
.endm
.Lunaligned1:
unaligned_copy 1
.Lunaligned2:
unaligned_copy 2
.Lunaligned3:
unaligned_copy 3
END (strcpy)
libc_hidden_builtin_def (strcpy) | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strcpy.S | 201 | 218 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 65cc53fe7c6556b90159b8c3da1eb283792387db | github | libc | https://github.com/bminor/glibc/blob/65cc53fe7c6556b90159b8c3da1eb283792387db/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:2 | libc_hidden_builtin_def (stpcpy)
ENTRY (strcpy)
@ Signal strcpy with DEST in IP.
mov ip, r0
0:
pld [r0, #0]
pld [r1, #0]
@ To cater to long strings, we want 8 byte alignment in the source.
@ To cater to small strings, we don't want to start that right away.
@ Loop up to 16 times, less whatever it takes to reac... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:2 | libc_hidden_builtin_def (stpcpy)
ENTRY (strcpy)
@ Signal strcpy with DEST in IP.
mov ip, r0
0:
sfi_pld r0
sfi_pld r1
@ To cater to long strings, we want 8 byte alignment in the source.
@ To cater to small strings, we don't want to start that right away.
@ Loop up to 16 times, less whatever it takes to reach al... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:3 | cfi_rel_offset (r6, 8)
cfi_rel_offset (r7, 12)
@ Subtracting (unsigned saturating) from 1 for any byte means result
@ of 1 for any byte that was originally zero and 0 otherwise.
@ Therefore we consider the lsb of each byte the "found" bit.
#ifdef ARCH_HAS_T2
movw r7, #0x0101
tst r0, #3 @ Test alignment of DEST... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:4 | @ but we'll not re-write dest bytes.
.Lbyte_loop:
sfi_breg r1, \
ldrb r2, [\B], #1
cmp r2, #0
sfi_breg r0, \
strb r2, [\B], #1
bne .Lbyte_loop
pop { r4, r5, r6, r7 }
cfi_remember_state
cfi_adjust_cfa_offset (-16)
cfi_restore (r4)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
.Lreturn:
cmp ip, #0 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:5 | uqsub8 r5, r7, r3
cmp r4, #0 @ EOS in first word?
it ne
subne r1, r1, #8
bne .Lbyte_loop
#ifdef __ARMEB__
rev r2, r2 @ Byte stores below need LE data
#endif
@ Store a few bytes from the first word.
@ At the same time we align r0 and shift out bytes from r2.
.rept 4-\unalign
sfi_breg r0, \
strb r2, [\B], #1... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 161 | 220 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:6 | @ Discard used bytes from the first word.
lsh_ls r2, r2, #((4-\unalign)*8)
sfi_breg r0, \
str r6, [\B], #4
b 1b
@ Found EOS in one of the words; adjust backward
3: sub r1, r1, #4
mov r2, r6
4: sub r1, r1, #4
@ And store the remaining bytes from the leftover
#ifdef __ARMEB__
rev r2, r2
#endif
.rept \unalign
sfi... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strcpy.S | 201 | 231 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strcpy.S:1 | /* strcpy -- copy a nul-terminated string.
Copyright (C) 2013-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/armv6/strcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/armv6/strcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:2 | 1: ldrb r2, [r0, #1]!
subs r3, r3, #1 @ ... the alignment point
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilities above
cmp r2, #0 @ Found EOS
beq 99f
add r0, r0, #1
@ So now we're aligned.
ldrd r2, r3, [r0], #8
#ifdef ARCH_HAS_T2
movw ip, #0x0101
pld [r0, #64]
movt ip, #0... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strlen.S | 41 | 99 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:3 | ite eq
moveq r2, r3
subne r0, r0, #4
@ Find the bit-offset of the match within the word. Note that the
@ bit result from clz will be 7 higher than "true", but we'll
@ immediately discard those bits converting to a byte offset.
#ifdef __ARMEL__
rev r2, r2 @ For LE, count from the little end
#endif
clz r2, r2
... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strlen.S | 81 | 99 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 65cc53fe7c6556b90159b8c3da1eb283792387db | github | libc | https://github.com/bminor/glibc/blob/65cc53fe7c6556b90159b8c3da1eb283792387db/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:2 | 1: ldrb r2, [r0, #1]!
subs r3, r3, #1 @ ... the aligment point
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilites above
cmp r2, #0 @ Found EOS
beq 99f
add r0, r0, #1
@ So now we're aligned.
ldrd r2, r3, [r0], #8
#ifdef ARCH_HAS_T2
movw ip, #0x0101
pld [r0, #64]
movt ip, #0x0... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strlen.S | 41 | 99 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:2 | @ Loop until we find ...
1: sfi_breg r0, \
ldrb r2, [\B, #1]!
subs r3, r3, #1 @ ... the aligment point
it ne
cmpne r2, #0 @ ... or EOS
bne 1b
@ Disambiguate the exit possibilites above
cmp r2, #0 @ Found EOS
beq 99f
add r0, r0, #1
@ So now we're aligned.
sfi_breg r0, \
ldrd r2, r3, [\B], #8
#ifdef AR... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strlen.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:3 | @ Adjust r0 to point to the word containing the match.
@ Adjust r2 to the found bits for the word containing the match.
cmp r2, #0
sub r0, r0, #4
ite eq
moveq r2, r3
subne r0, r0, #4
@ Find the bit-offset of the match within the word. Note that the
@ bit result from clz will be 7 higher than "true", but we'll... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strlen.S | 81 | 103 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strlen.S:1 | /* strlen -- find the length of a nul-terminated string.
Copyright (C) 2013-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 th... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strlen.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/armv6/strlen.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurrence of C in a nul-terminated string
Copyright (C) 2013-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 p... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:2 | it eq
bxeq lr
tst r3, #7 @ Find the alignment point
bne 1b
@ So now we're aligned. Now we actually need a stack frame.
2: push { r4, r5, r6, r7 }
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r4, 0)
cfi_rel_offset (r5, 4)
cfi_rel_offset (r6, 8)
cfi_rel_offset (r7, 12)
orr r1, r1, r1, lsl #8 @ Replicate C to... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strrchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:3 | subne r0, r3, #8
movne r2, r4
cmp r7, #0 @ Found EOS, second word
bne 5f
cmp r5, #0 @ Handle C, second word
itt ne
subne r0, r3, #4
movne r2, r5
b 3b
@ Found EOS in second word; fold to first word.
5: add r3, r3, #4 @ Dec pointer to 2nd word, with below
mov r4, r5 @ Overwrite first word C found
mov r... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/armv6/strrchr.S | 81 | 129 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurrence of C in a nul-terminated string
Copyright (C) 2013-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 p... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurrence of C in a nul-terminated string
Copyright (C) 2013-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 p... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurrence of C in a nul-terminated string
Copyright (C) 2013-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 p... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 65cc53fe7c6556b90159b8c3da1eb283792387db | github | libc | https://github.com/bminor/glibc/blob/65cc53fe7c6556b90159b8c3da1eb283792387db/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:2 | it eq
bxeq lr
tst r3, #7 @ Find the aligment point
bne 1b
@ So now we're aligned. Now we actually need a stack frame.
2: push { r4, r5, r6, r7 }
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r4, 0)
cfi_rel_offset (r5, 4)
cfi_rel_offset (r6, 8)
cfi_rel_offset (r7, 12)
orr r1, r1, r1, lsl #8 @ Replicate C to ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6/strrchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:2 | cmp r2, #0 @ Find EOS
it eq
bxeq lr
tst r3, #7 @ Find the aligment point
bne 1b
@ So now we're aligned. Now we actually need a stack frame.
2: push { r4, r5, r6, r7 }
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r4, 0)
cfi_rel_offset (r5, 4)
cfi_rel_offset (r6, 8)
cfi_rel_offset (r7, 12)
orr r1, r1, r1,... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strrchr.S | 41 | 100 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:3 | cmp r4, #0 @ Handle C, first word
itt ne
subne r0, r3, #8
movne r2, r4
cmp r7, #0 @ Found EOS, second word
bne 5f
cmp r5, #0 @ Handle C, second word
itt ne
subne r0, r3, #4
movne r2, r5
b 3b
@ Found EOS in second word; fold to first word.
5: add r3, r3, #4 @ Dec pointer to 2nd word, with below
mov r... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strrchr.S | 81 | 131 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:4 | cmp r2, #0
clz r2, r2 @ Find the bit offset of the last C
itt ne
rsbne r2, r2, #32 @ Convert to a count from the right
addne r0, r0, r2, lsr #3 @ Convert to byte offset and add.
bx lr
END (strrchr)
weak_alias (strrchr, rindex)
libc_hidden_builtin_def (strrchr) | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/armv6/strrchr.S | 121 | 131 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6/strrchr.S:1 | /* strrchr -- find the last occurence of C in a nul-terminated string
Copyright (C) 2013-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 pu... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6/strrchr.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/armv6/strrchr.S | 1 | 60 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
bminor/glibc:sysdeps/arm/armv6t2/ffs.S:1 | /* ffs -- find first set bit in an int, from least significant end.
Copyright (C) 2013-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | arm | gas-like | handwritten | bminor/glibc | sysdeps/arm/armv6t2/ffs.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/armv6t2/ffs.S | 1 | 36 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.