aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
diff options
context:
space:
mode:
authorJie Meng <jmeng@fb.com>2021-09-13 14:13:37 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-09-14 18:36:36 -0700
commitc0354077439bc9adcc9f2c96d6bbaf8b13748317 (patch)
treea17537ada6a89d129640bf568c2d0ea38d1c4541 /tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
parent67dfac47dac67a44d5bbdab2541a35ce33a2729a (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 'tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c')
0 files changed, 0 insertions, 0 deletions