diff options
| author | Jie Meng <jmeng@fb.com> | 2021-09-13 14:13:37 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-14 18:36:36 -0700 |
| commit | c0354077439bc9adcc9f2c96d6bbaf8b13748317 (patch) | |
| tree | a17537ada6a89d129640bf568c2d0ea38d1c4541 /lib/mpi/mpi-sub-ui.c | |
| parent | 67dfac47dac67a44d5bbdab2541a35ce33a2729a (diff) | |
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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
