commit | 6035b3faf3e58ee6eb423a45a1b7b7c3b4c8dc9f | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Fri Aug 18 16:40:33 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 21 10:31:34 2017 -0700 |
tree | 173c544e8134dcfae4572e8b2db5eed44cf122a8 | |
parent | a67b375fdc5b21ae3a15761f9c5ef7bd352b5f7d [diff] |
MIPS,bpf: Cache value of BPF_OP(insn->code) in eBPF JIT. The code looks a little cleaner if we replace BPF_OP(insn->code) with the local variable bpf_op. Caching the value this way also saves 300 bytes (about 1%) in the code size of the JIT. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>