aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-11-26 19:37:27 +0100
committerArd Biesheuvel <[email protected]>2021-12-06 12:49:16 +0100
commit4e918ab13eaf40f19938659cb5a22c93172778a8 (patch)
tree0df6541cd53851dd56dc5a8013c29378b890d261 /net/lapb/lapb_subr.c
parent1fa8c4b19543ae8c8894ec92a18696c9f9b03fc8 (diff)
ARM: assembler: add optimized ldr/str macros to load variables from memory
We will be adding variable loads to various hot paths, so it makes sense to add a helper macro that can load variables from asm code without the use of literal pool entries. On v7 or later, we can simply use MOVW/MOVT pairs, but on earlier cores, this requires a bit of hackery to emit a instruction sequence that implements this using a sequence of ADD/LDR instructions. Acked-by: Linus Walleij <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Marc Zyngier <[email protected]> Tested-by: Vladimir Murzin <[email protected]> # ARMv7M
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions