diff options
author | 2021-09-13 14:13:37 -0700 | |
---|---|---|
committer | 2021-09-14 18:36:36 -0700 | |
commit | c0354077439bc9adcc9f2c96d6bbaf8b13748317 (patch) | |
tree | a17537ada6a89d129640bf568c2d0ea38d1c4541 /net/ipv4/tcp_fastopen.c | |
parent | Merge branch 'libbpf: Streamline internal BPF program sections handling' (diff) | |
download | wireguard-linux-c0354077439bc9adcc9f2c96d6bbaf8b13748317.tar.xz wireguard-linux-c0354077439bc9adcc9f2c96d6bbaf8b13748317.zip |
bpf,x64 Emit IMUL instead of MUL for x86-64
IMUL allows for multiple operands and saving and storing rax/rdx is no
longer needed. Signedness of the operands doesn't matter here because
the we only keep the lower 32/64 bit of the product for 32/64 bit
multiplications.
Signed-off-by: Jie Meng <jmeng@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210913211337.1564014-1-jmeng@fb.com
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions