diff options
author | 2018-07-12 21:50:41 +0100 | |
---|---|---|
committer | 2018-07-13 15:26:41 +0200 | |
commit | f9ff5018c13b4918c98178ee81d41372b455201e (patch) | |
tree | 7ef75ba7dcd86e28e943857ccc46eaf3dcb1d522 /net/core/xdp.c | |
parent | Merge branch 'bpf-arm-jit-improvements' (diff) | |
download | wireguard-linux-f9ff5018c13b4918c98178ee81d41372b455201e.tar.xz wireguard-linux-f9ff5018c13b4918c98178ee81d41372b455201e.zip |
ARM: net: bpf: improve 64-bit load immediate implementation
Rather than writing each 32-bit half of the 64-bit immediate value
separately when the register is on the stack:
movw r6, #45056 ; 0xb000
movt r6, #60979 ; 0xee33
str r6, [fp, #-44] ; 0xffffffd4
mov r6, #0
str r6, [fp, #-40] ; 0xffffffd8
arrange to use the double-word store when available instead:
movw r6, #45056 ; 0xb000
movt r6, #60979 ; 0xee33
mov r7, #0
strd r6, [fp, #-44] ; 0xffffffd4
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/core/xdp.c')
0 files changed, 0 insertions, 0 deletions