diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-02-24 01:08:00 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-02-24 07:50:00 +0100 |
commit | d806a0cf2a1ddb97c91d902ef1c8219e1e2b2c4c (patch) | |
tree | 3d168b1decd203600c39c67ba730eabb7178e829 /.mailmap | |
parent | bpf, x64: save several bytes by using mov over movabsq when possible (diff) | |
download | linux-d806a0cf2a1ddb97c91d902ef1c8219e1e2b2c4c.tar.xz linux-d806a0cf2a1ddb97c91d902ef1c8219e1e2b2c4c.zip |
bpf, x64: save several bytes when mul dest is r0/r3 anyway
Instead of unconditionally performing push/pop on rax/rdx
in case of multiplication, we can save a few bytes in case
of dest register being either BPF r0 (rax) or r3 (rdx)
since the result is written in there anyway.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions