diff options
author | Johan Almbladh <[email protected]> | 2021-10-01 15:03:43 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-10-01 17:04:26 +0200 |
commit | e2f9797b3c7396065ca3bc9f223225ca63c1e2bd (patch) | |
tree | 8244bd28293747841d818d663a59b33795a89ba1 /tools/perf/scripts/python/libxed.py | |
parent | 0bbaa02b481682004cf812dbeca68272752a5e8a (diff) |
bpf/tests: Add more tests for ALU and ATOMIC register clobbering
This patch expands the register-clobbering-during-function-call tests
to cover more all ALU32/64 MUL, DIV and MOD operations and all ATOMIC
operations. In short, if a JIT implements a complex operation with
a call to an external function, it must make sure to save and restore
all its caller-saved registers that may be clobbered by the call.
Signed-off-by: Johan Almbladh <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions