summaryrefslogtreecommitdiff
path: root/arch/arm/lib/strchr.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-11 10:32:12 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-12 20:45:23 +0200
commit828e2b90e8e9b5bd844a25f22ceeb8df4dd18b07 (patch)
treec487a6b61c89ce646578cad5950403c945517a46 /arch/arm/lib/strchr.S
parent1ca3b17b777c4136f9dba0195e13502c445f4ade (diff)
ARM: net: bpf: use immediate forms of instructions where possible
Rather than moving constants to a register and then using them in a subsequent instruction, use them directly in the desired instruction cutting out the "middle" register. This removes two instructions from the tail call code path. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch/arm/lib/strchr.S')
0 files changed, 0 insertions, 0 deletions