Skip to content
Commit 6035b3fa authored by David Daney's avatar David Daney Committed by David S. Miller
Browse files

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: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a67b375f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment