RE: [PATCH bpf-next v4 03/11] bpf: x86: Factor out a lookup table for some ALU opcodes

From: John Fastabend
Date: Mon Dec 07 2020 - 16:10:11 EST


Brendan Jackman wrote:
> A later commit will need to lookup a subset of these opcodes. To
> avoid duplicating code, pull out a table.
>
> The shift opcodes won't be needed by that later commit, but they're
> already duplicated, so fold them into the table anyway.
>
> Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
> ---

Acked-byy: John Fastabend <john.fastabend@xxxxxxxxx>