[PATCH bpf-next 07/10] riscv, bpf: Optimize cmpxchg insn with Zacas support

Björn Töpel bjorn at kernel.org
Mon Aug 4 13:41:00 PDT 2025


Pu Lehui <pulehui at huaweicloud.com> writes:

> From: Pu Lehui <pulehui at huawei.com>
>
> Optimize cmpxchg instruction with amocas.w and amocas.d
> Zacas instructions.
>
> Signed-off-by: Pu Lehui <pulehui at huawei.com>

Reviewed-by: Björn Töpel <bjorn at rivosinc.com>



More information about the linux-riscv mailing list