commit | 88e69a1fcc1e67dec3025af64736a84532528242 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Sat Feb 24 01:07:58 2018 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Feb 23 22:50:00 2018 -0800 |
tree | 3b7969431a064be0e3079257d01f895bf5692f97 | |
parent | ee07862f7b4594d390b978f6636a6a6191632ab3 [diff] |
bpf, x64: save one byte per shl/shr/sar when imm is 1 When we shift by one, we can use a different encoding where imm is not explicitly needed, which saves 1 byte per such op. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org>