Searched hist:"828 e2b90e8e9b5bd844a25f22ceeb8df4dd18b07" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.h | diff 828e2b90e8e9b5bd844a25f22ceeb8df4dd18b07 Wed Jul 11 04:32:12 CDT 2018 Russell King <rmk+kernel@armlinux.org.uk> 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>
|
H A D | bpf_jit_32.c | diff 828e2b90e8e9b5bd844a25f22ceeb8df4dd18b07 Wed Jul 11 04:32:12 CDT 2018 Russell King <rmk+kernel@armlinux.org.uk> 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>
|