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/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 55f41ef8de4a4d0c5762d78659e11202d3c765d4 | github | libc | https://github.com/bminor/glibc/blob/55f41ef8de4a4d0c5762d78659e11202d3c765d4/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:2 | cfi_adjust_cfa_offset (20)
cfi_rel_offset (r0, 0)
cfi_rel_offset (r1, 4)
cfi_rel_offset (r2, 8)
cfi_rel_offset (r3, 12)
@ get pointer to linker struct
ldr r0, [lr, #-4]
@ prepare to call _dl_fixup()
@ change &GOT[n+3] into 8*n NOTE: reloc are 8 bytes each
sub r1, ip, lr
sub r1, r1, #4
add r1, r1, r1... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 8c0664e2b861fd3789602cc0b0b1922b0e20cb3a | github | libc | https://github.com/bminor/glibc/blob/8c0664e2b861fd3789602cc0b0b1922b0e20cb3a/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:5 | @ 264 - saved result of _dl_profile_fixup
@ 72 - La_arm_regs
@ 64 - Saved two arguments to _dl_profile_fixup
@ 0 - La_arm_retval
@ For now, we only save the general purpose registers.
@ Build the new frame.
str r7, [sp, #212]
cfi_rel_offset (r7, 212)
sub r7, sp, #56
cfi_def_cfa_register (r7)
cfi_adjust_cfa_o... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/dl-trampoline.S | 161 | 212 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/dl-trampoline.S:1 | /* PLT trampolines. ARM version.
Copyright (C) 2005-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 Foundat... | arm | intel-like | handwritten | bminor/glibc | sysdeps/arm/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:2 | //#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/* Prototype: v... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memcpy.S:3 | cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
blo 5f
CALGN( ands ip, r1, #31 )
CALGN( rsb r3, ip, #32 )
CALGN( sbcsne r4, r3, r2 ) @ C is always set here
CALGN( bcs 2f )
CALGN( adr r4, 6f )
CALGN( subs r2, r2, r3 ) @ C gets set
#ifndef ARM_ALWAYS_BX
CALGN( add pc, r4, ip,... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memcpy.S:4 | cfi_adjust_cfa_offset (4)
cfi_rel_offset (r10, 0)
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 6.
The computation above assumed that two instructions
later is exactly the right spot. */
... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memcpy.S:5 | 66: nop
.p2align ARM_BX_ALIGN_LOG2
str r3, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r4, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r5, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r6, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r7, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r8, [r0], #4
.p2align ARM_BX_ALIGN... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memcpy.S:6 | || defined (ARM_ALWAYS_BX))
pop {r0, r4, lr}
cfi_adjust_cfa_offset (-12)
cfi_restore (r4)
cfi_restore (lr)
bx lr
#else
pop {r0, r4, pc}
#endif
cfi_restore_state
9: rsb ip, ip, #4
cmp ip, #2
ldrbgt r3, [r1], #1
ldrbge r4, [r1], #1
ldrb lr, [r1], #1
strbgt r3, [r0], #1
strbge r4, [r0], #... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memcpy.S:7 | CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8, r10}
cfi_adjust_cfa_offset (20)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
cfi_rel_offset (r10, 16)
PLD( pld [r1, #0] )
PLD( cmp r2, #96 )
PLD( pld [r1, #28] )
PLD( blo 13f )
PLD... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memcpy.S:8 | pop {r5 - r8, r10}
cfi_adjust_cfa_offset (-20)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
cfi_restore (r10)
14: ands ip, r2, #28
beq 16f
15: mov r3, lr, PULL #\pull
ldr lr, [r1], #4
subs ip, ip, #4
orr r3, r3, lr, PUSH #\push
str r3, [r0], #4
bgt 15b
CALGN( cmp r2, ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memcpy.S | 281 | 315 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/* Prototype... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memcpy.S:3 | cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
blo 5f
CALGN( ands ip, r1, #31 )
CALGN( rsb r3, ip, #32 )
CALGN( sbcsne r4, r3, r2 ) @ C is always set here
CALGN( bcs 2f )
CALGN( adr r4, 6f )
CALGN( subs r2, r2, r3 ) @ C gets set
#ifndef ARM_ALWAYS_B... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memcpy.S:4 | push {r10}
cfi_adjust_cfa_offset (4)
cfi_rel_offset (r10, 0)
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 6.
The computation above assumed that two instructions
later is exactly the rig... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memcpy.S:5 | .p2align ARM_BX_ALIGN_LOG2
66: nop
.p2align ARM_BX_ALIGN_LOG2
str r3, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r4, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r5, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r6, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r7, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r8, [r0],... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memcpy.S:6 | #if ((defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)) \
|| defined (ARM_ALWAYS_BX))
pop {r0, r4, lr}
cfi_adjust_cfa_offset (-12)
cfi_restore (r4)
cfi_restore (lr)
bx lr
#else
pop {r0, r4, pc}
#endif
cfi_restore_state
9: rsb ip, ip, #4
cmp ip, #2
ldrbgt r3, [r1], #1
ldrbge r4,... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memcpy.S:7 | CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8, r10}
cfi_adjust_cfa_offset (20)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
cfi_rel_offset (r10, 16)
PLD( pld [r1, #0] )
PLD( cmp r2, ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memcpy.S:8 | bhs 12b
pop {r5 - r8, r10}
cfi_adjust_cfa_offset (-20)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
cfi_restore (r10)
14: ands ip, r2, #28
beq 16f
15: mov r3, lr, PULL #\pull
ldr lr, [r1], #4
subs ip, ip, #4
orr r3, r3, lr, PUSH #\push
str r3, [r0], #4
bgt 15b
CALG... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memcpy.S | 281 | 316 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 79a4fa341b8a89cb03f84564fd72abaa1a2db394 | github | libc | https://github.com/bminor/glibc/blob/79a4fa341b8a89cb03f84564fd72abaa1a2db394/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/* Prototype... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memcpy.S:3 | cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
blt 5f
CALGN( ands ip, r1, #31 )
CALGN( rsb r3, ip, #32 )
CALGN( sbcsne r4, r3, r2 ) @ C is always set here
CALGN( bcs 2f )
CALGN( adr r4, 6f )
CALGN( subs r2, r2, r3 ) @ C gets set
#ifndef ARM_ALWAYS_B... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memcpy.S:4 | #else
beq 7f
push {r10}
cfi_adjust_cfa_offset (4)
cfi_rel_offset (r10, 0)
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 6.
The computation above assumed that two instructions
later i... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memcpy.S:5 | bx r10
#endif
.p2align ARM_BX_ALIGN_LOG2
66: nop
.p2align ARM_BX_ALIGN_LOG2
str r3, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r4, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r5, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r6, [r0], #4
.p2align ARM_BX_ALIGN_LOG2
str r7, [r0], #4
.p2align ARM_BX_ALIGN_LOG2... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memcpy.S:6 | strbcs ip, [r0]
#if ((defined (__ARM_ARCH_4T__) && defined(__THUMB_INTERWORK__)) \
|| defined (ARM_ALWAYS_BX))
pop {r0, r4, lr}
cfi_adjust_cfa_offset (-12)
cfi_restore (r4)
cfi_restore (lr)
bx lr
#else
pop {r0, r4, pc}
#endif
cfi_restore_state
9: rsb ip, ip, #4
cmp ip, #2
ldrbgt r3, [r1]... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memcpy.S:7 | CALGN( ands ip, r1, #31 )
CALGN( rsb ip, ip, #32 )
CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8, r10}
cfi_adjust_cfa_offset (20)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
cfi_rel... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memcpy.S:8 | orr ip, ip, lr, PUSH #\push
stmia r0!, {r3, r4, r5, r6, r7, r8, r10, ip}
bge 12b
PLD( cmn r2, #96 )
PLD( bge 13b )
pop {r5 - r8, r10}
cfi_adjust_cfa_offset (-20)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
cfi_restore (r10)
14: ands ip, r2, #28
beq 16f
15: mov r3, ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memcpy.S | 281 | 320 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/* Prototype... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memcpy.S:3 | cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset (r8, 12)
blt 5f
CALGN( ands ip, r1, #31 )
CALGN( rsb r3, ip, #32 )
CALGN( sbcsne r4, r3, r2 ) @ C is always set here
CALGN( bcs 2f )
CALGN( adr r4, 6f )
CALGN( subs r2, r2, r3 ) @ C gets set
#ifndef ARM_ALWAYS_B... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memcpy.S:4 | addne pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
b 7f
#else
beq 7f
push {r10}
cfi_adjust_cfa_offset (4)
cfi_rel_offset (r10, 0)
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 6.
The comput... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memcpy.S:5 | add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
nop
#else
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 66.
The computation above assumed that two instructions
later is exactly the right spot... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memcpy.S:6 | CALGN( bcs 2b )
7: pop {r5 - r8}
cfi_adjust_cfa_offset (-16)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
8: movs r2, r2, lsl #31
sfi_breg r1, \
ldrbne r3, [\B], #1
sfi_breg r1, \
ldrbcs r4, [\B], #1
sfi_breg r1, \
ldrbcs ip, [\B]
sfi_breg r0, \
strbne r3, [\B], #1... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memcpy.S:7 | ldrbgt r3, [\B], #1
sfi_breg r1, \
ldrbge r4, [\B], #1
sfi_breg r1, \
ldrb lr, [\B], #1
sfi_breg r0, \
strbgt r3, [\B], #1
sfi_breg r0, \
strbge r4, [\B], #1
subs r2, r2, ip
sfi_breg r0, \
strb lr, [\B], #1
blt 8b
ands ip, r1, #3
beq 1b
10: bic r1, r1, #3
cmp ip, #2
sfi_breg r1, \
ld... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memcpy.S:8 | cfi_rel_offset (r8, 12)
cfi_rel_offset (r10, 16)
PLD( sfi_pld r1, #0 )
PLD( subs r2, r2, #96 )
PLD( sfi_pld r1, #28 )
PLD( blt 13f )
PLD( sfi_pld r1, #60 )
PLD( sfi_pld r1, #92 )
12: PLD( sfi_pld r1, #124 )
13: sfi_breg r1, \
ldmia \B!, {r4, r5, r6, r7}
mov r3, lr, PULL #\pull
subs r2, r2, ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 281 | 340 |
bminor/glibc:sysdeps/arm/memcpy.S:9 | cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
cfi_restore (r10)
14: ands ip, r2, #28
beq 16f
15: mov r3, lr, PULL #\pull
sfi_breg r1, \
ldr lr, [\B], #4
subs ip, ip, #4
orr r3, r3, lr, PUSH #\push
sfi_breg r0, \
str r3, [\B], #4
bgt 15b
CALGN( cmp r2, #0 )
CALGN( bg... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memcpy.S | 321 | 354 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memcpy.S:1 | /* Copyright (C) 2006-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memcpy.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/arm/memcpy.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:2 | //#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/*
* Prototype... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memmove.S:3 | cfi_remember_state
add r1, r1, r2
add r0, r0, r2
subs r2, r2, #4
blo 8f
ands ip, r0, #3
PLD( pld [r1, #-4] )
bne 9f
ands ip, r1, #3
bne 10f
1: subs r2, r2, #(28)
push {r5 - r8}
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_rel_offset... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memmove.S:4 | 3: PLD( pld [r1, #-128] )
4: ldmdb r1!, {r3, r4, r5, r6, r7, r8, ip, lr}
subs r2, r2, #32
stmdb r0!, {r3, r4, r5, r6, r7, r8, ip, lr}
bhs 3b
5: ands ip, r2, #28
rsb ip, ip, #32
#ifndef ARM_ALWAYS_BX
/* C is always clear here. */
addne pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
b 7f
#else
beq 7f
... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memmove.S:5 | .p2align ARM_BX_ALIGN_LOG2
ldr lr, [r1, #-4]!
#ifndef ARM_ALWAYS_BX
add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
nop
#else
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 66.
The computation... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memmove.S:6 | 7: pop {r5 - r8}
cfi_adjust_cfa_offset (-16)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
8: movs r2, r2, lsl #31
ldrbne r3, [r1, #-1]!
ldrbcs r4, [r1, #-1]!
ldrbcs ip, [r1, #-1]
strbne r3, [r0, #-1]!
strbcs r4, [r0, #-1]!
strbcs ip, [r0, #-1]
#if ((defined (__ARM_ARCH_4... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memmove.S:7 | 10: bic r1, r1, #3
cmp ip, #2
ldr r3, [r1, #0]
beq 17f
blt 18f
.macro backward_copy_shift push pull
subs r2, r2, #28
blo 14f
CALGN( ands ip, r1, #31 )
CALGN( rsb ip, ip, #32 )
CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8,... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memmove.S:8 | orr ip, ip, r10, PULL #\pull
mov r10, r10, PUSH #\push
orr r10, r10, r8, PULL #\pull
mov r8, r8, PUSH #\push
orr r8, r8, r7, PULL #\pull
mov r7, r7, PUSH #\push
orr r7, r7, r6, PULL #\pull
mov r6, r6, PUSH #\push
orr r6, r6, r5, PULL #\pull
mov r5, r5, PUSH #\pu... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 281 | 331 |
bminor/glibc:sysdeps/arm/memmove.S:9 | backward_copy_shift push=8 pull=24
17: backward_copy_shift push=16 pull=16
18: backward_copy_shift push=24 pull=8
END(memmove)
libc_hidden_builtin_def (memmove) | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/arm/memmove.S | 321 | 331 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-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... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/*
* Protot... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memmove.S:3 | cfi_rel_offset (lr, 8)
cfi_remember_state
add r1, r1, r2
add r0, r0, r2
subs r2, r2, #4
blo 8f
ands ip, r0, #3
PLD( pld [r1, #-4] )
bne 9f
ands ip, r1, #3
bne 10f
1: subs r2, r2, #(28)
push {r5 - r8}
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offse... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memmove.S:4 | PLD( pld [r1, #-96] )
3: PLD( pld [r1, #-128] )
4: ldmdb r1!, {r3, r4, r5, r6, r7, r8, ip, lr}
subs r2, r2, #32
stmdb r0!, {r3, r4, r5, r6, r7, r8, ip, lr}
bhs 3b
5: ands ip, r2, #28
rsb ip, ip, #32
#ifndef ARM_ALWAYS_BX
/* C is always clear here. */
addne pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memmove.S:5 | ldr r8, [r1, #-4]!
.p2align ARM_BX_ALIGN_LOG2
ldr lr, [r1, #-4]!
#ifndef ARM_ALWAYS_BX
add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
nop
#else
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
padding (nop) instructions between this BX and label 66.... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memmove.S:6 | 7: pop {r5 - r8}
cfi_adjust_cfa_offset (-16)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
8: movs r2, r2, lsl #31
ldrbne r3, [r1, #-1]!
ldrbcs r4, [r1, #-1]!
ldrbcs ip, [r1, #-1]
strbne r3, [r0, #-1]!
strbcs r4, [r0, #-1]!
strbcs ip, [r0, #-1]
#if ((defined (__ARM_ARCH_4... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memmove.S:7 | 10: bic r1, r1, #3
cmp ip, #2
ldr r3, [r1, #0]
beq 17f
blt 18f
.macro backward_copy_shift push pull
subs r2, r2, #28
blo 14f
CALGN( ands ip, r1, #31 )
CALGN( rsb ip, ip, #32 )
CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8,... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memmove.S:8 | mov ip, ip, PUSH #\push
orr ip, ip, r10, PULL #\pull
mov r10, r10, PUSH #\push
orr r10, r10, r8, PULL #\pull
mov r8, r8, PUSH #\push
orr r8, r8, r7, PULL #\pull
mov r7, r7, PUSH #\push
orr r7, r7, r6, PULL #\pull
mov r6, r6, PUSH #\push
orr r6, r6, r5, PULL #\pu... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 281 | 332 |
bminor/glibc:sysdeps/arm/memmove.S:9 | .endm
backward_copy_shift push=8 pull=24
17: backward_copy_shift push=16 pull=16
18: backward_copy_shift push=24 pull=8
END(memmove)
libc_hidden_builtin_def (memmove) | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/arm/memmove.S | 321 | 332 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 79a4fa341b8a89cb03f84564fd72abaa1a2db394 | github | libc | https://github.com/bminor/glibc/blob/79a4fa341b8a89cb03f84564fd72abaa1a2db394/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/*
* Protot... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memmove.S:3 | cfi_rel_offset (lr, 8)
cfi_remember_state
add r1, r1, r2
add r0, r0, r2
subs r2, r2, #4
blt 8f
ands ip, r0, #3
PLD( pld [r1, #-4] )
bne 9f
ands ip, r1, #3
bne 10f
1: subs r2, r2, #(28)
push {r5 - r8}
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offse... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memmove.S:4 | PLD( pld [r1, #-96] )
3: PLD( pld [r1, #-128] )
4: ldmdb r1!, {r3, r4, r5, r6, r7, r8, ip, lr}
subs r2, r2, #32
stmdb r0!, {r3, r4, r5, r6, r7, r8, ip, lr}
bge 3b
PLD( cmn r2, #96 )
PLD( bge 4b )
5: ands ip, r2, #28
rsb ip, ip, #32
#ifndef ARM_ALWAYS_BX
/* C is always clear here. */
addne pc, p... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memmove.S:5 | ldr r7, [r1, #-4]!
.p2align ARM_BX_ALIGN_LOG2
ldr r8, [r1, #-4]!
.p2align ARM_BX_ALIGN_LOG2
ldr lr, [r1, #-4]!
#ifndef ARM_ALWAYS_BX
add pc, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
nop
#else
0: add r10, pc, ip, lsl #(ARM_BX_ALIGN_LOG2 - 2)
/* If alignment is not perfect, then there will be some
paddin... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memmove.S:6 | CALGN( bcs 2b )
7: pop {r5 - r8}
cfi_adjust_cfa_offset (-16)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
cfi_restore (r8)
8: movs r2, r2, lsl #31
ldrbne r3, [r1, #-1]!
ldrbcs r4, [r1, #-1]!
ldrbcs ip, [r1, #-1]
strbne r3, [r0, #-1]!
strbcs r4, [r0, #-1]!
strbcs ip, [r0, #-1]
#if ((de... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memmove.S:7 | ands ip, r1, #3
beq 1b
10: bic r1, r1, #3
cmp ip, #2
ldr r3, [r1, #0]
beq 17f
blt 18f
.macro backward_copy_shift push pull
subs r2, r2, #28
blt 14f
CALGN( ands ip, r1, #31 )
CALGN( rsb ip, ip, #32 )
CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memmove.S:8 | ldmdb r1!, {r3, r4, r5, r6}
orr lr, lr, ip, PULL #\pull
mov ip, ip, PUSH #\push
orr ip, ip, r10, PULL #\pull
mov r10, r10, PUSH #\push
orr r10, r10, r8, PULL #\pull
mov r8, r8, PUSH #\push
orr r8, r8, r7, PULL #\pull
mov r7, r7, PUSH #\push
orr r7, r7, r6, PULL #\... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 281 | 336 |
bminor/glibc:sysdeps/arm/memmove.S:9 | 16: add r1, r1, #(\pull / 8)
b 8b
.endm
backward_copy_shift push=8 pull=24
17: backward_copy_shift push=16 pull=16
18: backward_copy_shift push=24 pull=8
END(memmove)
libc_hidden_builtin_def (memmove) | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/arm/memmove.S | 321 | 336 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:1 | /* Copyright (C) 2006-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by MontaVista Software, Inc. (written by Nicolas Pitre)
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 ... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | 81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71 | github | libc | https://github.com/bminor/glibc/blob/81cb7a0b2b6b905a504b8b56fe3c1634adf8fb71/sysdeps/arm/memmove.S | 1 | 60 |
bminor/glibc:sysdeps/arm/memmove.S:2 | */
//#define CALGN(code...) code
#define CALGN(code...)
/*
* Endian independent macros for shifting bytes within registers.
*/
#ifndef __ARMEB__
#define PULL lsr
#define PUSH lsl
#else
#define PULL lsl
#define PUSH lsr
#endif
.text
.syntax unified
/*
* Protot... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 41 | 100 |
bminor/glibc:sysdeps/arm/memmove.S:3 | cfi_rel_offset (lr, 8)
cfi_remember_state
add r1, r1, r2
add r0, r0, r2
subs r2, r2, #4
blt 8f
ands ip, r0, #3
PLD( sfi_pld r1, #-4 )
bne 9f
ands ip, r1, #3
bne 10f
1: subs r2, r2, #(28)
push {r5 - r8}
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_of... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 81 | 140 |
bminor/glibc:sysdeps/arm/memmove.S:4 | PLD( sfi_pld r1, #-96 )
3: PLD( sfi_pld r1, #-128 )
4: sfi_breg r1, \
ldmdb \B!, {r3, r4, r5, r6, r7, r8, ip, lr}
subs r2, r2, #32
sfi_breg r0, \
stmdb \B!, {r3, r4, r5, r6, r7, r8, ip, lr}
bge 3b
PLD( cmn r2, #96 )
PLD( bge 4b )
5: ands ip, r2, #28
rsb ip, ip, #32
#ifndef ARM_ALWAYS_BX
/* C i... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 121 | 180 |
bminor/glibc:sysdeps/arm/memmove.S:5 | sfi_breg r1, \
ldr r5, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r1, \
ldr r6, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r1, \
ldr r7, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r1, \
ldr r8, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r1, \
ldr lr, [\B, #-4]!
#ifndef ARM_ALW... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 161 | 220 |
bminor/glibc:sysdeps/arm/memmove.S:6 | str r6, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r0, \
str r7, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r0, \
str r8, [\B, #-4]!
.p2align ARM_BX_ALIGN_LOG2
sfi_breg r0, \
str lr, [\B, #-4]!
#ifdef ARM_ALWAYS_BX
pop {r10}
cfi_adjust_cfa_offset (-4)
cfi_restore (r10)
#endif
CALGN( b... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 201 | 260 |
bminor/glibc:sysdeps/arm/memmove.S:7 | #if ((defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__)) \
|| defined (ARM_ALWAYS_BX))
pop {r0, r4, lr}
cfi_adjust_cfa_offset (-12)
cfi_restore (r4)
cfi_restore (lr)
bx lr
#else
pop {r0, r4, pc}
#endif
cfi_restore_state
9: cmp ip, #2
sfi_breg r1, \
ldrbgt r3, [\B, #-1]!
sfi_bre... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 241 | 300 |
bminor/glibc:sysdeps/arm/memmove.S:8 | subs r2, r2, #28
blt 14f
CALGN( ands ip, r1, #31 )
CALGN( rsb ip, ip, #32 )
CALGN( sbcsne r4, ip, r2 ) @ C is always set here
CALGN( subcc r2, r2, ip )
CALGN( bcc 15f )
11: push {r5 - r8, r10}
cfi_adjust_cfa_offset (20)
cfi_rel_offset (r5, 0)
cfi_rel_offset (r6, 4)
cfi_rel_offset (r7, 8)
cfi_... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 281 | 340 |
bminor/glibc:sysdeps/arm/memmove.S:9 | orr r7, r7, r6, PULL #\pull
mov r6, r6, PUSH #\push
orr r6, r6, r5, PULL #\pull
mov r5, r5, PUSH #\push
orr r5, r5, r4, PULL #\pull
mov r4, r4, PUSH #\push
orr r4, r4, r3, PULL #\pull
sfi_breg r0, \
stmdb \B!, {r4 - r8, r10, ip, lr}
bge 12b
PLD( cmn r2, #96 )
PLD( bge... | arm | gas-like | macro-heavy | bminor/glibc | sysdeps/arm/memmove.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/arm/memmove.S | 321 | 370 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.