Re: [RFC bpf-next v1 3/8] bpf, x86: no_caller_saved_registers for bpf_get_smp_processor_id()

Eduard Zingerman
2024-07-04T16:39:21Z

On Thu, 2024-07-04 at 11:19 +0000, Puranjay Mohan wrote:

[...]

> And when we JIT the 'BPF_JMP | BPF_CALL' we add a mov instruction at the
> end to move A0 to A5 on risc-v and R0 to R7 on arm64.
>
> But when inlining the call we can directly put the result in A5 or R7.

Oh, I see that additional move, thank you for explaining!

Best regards,
Eduard