commit | 4c38e2f386b4fc5fd95d1203c74819948e2e903d | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Sat Feb 24 01:08:01 2018 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Feb 23 22:50:00 2018 -0800 |
tree | 26e9b52c57d79f91206e09624e5eaaa360275f1f | |
parent | d806a0cf2a1ddb97c91d902ef1c8219e1e2b2c4c [diff] |
bpf, x64: save few bytes when mul is in alu32 Add a generic emit_mov_reg() helper in order to reuse it in BPF multiplication to load the src into rax, we can save a few bytes in alu32 while doing so. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org>