Re: [PATCH] riscv, bpf: try RVC for reg move within BPF_CMPXCHG JIT
From: Björn Töpel
Date: Tue May 21 2024 - 12:36:11 EST
Xiao Wang <xiao.w.wang@xxxxxxxxx> writes:
> We could try to emit compressed insn for reg move operation during CMPXCHG
> JIT, the instruction compression has no impact on the jump offsets of
> following forward and backward jump instructions.
..and at some point we should start supporting Zacas and friends,
instead of lr/sc.
> Signed-off-by: Xiao Wang <xiao.w.wang@xxxxxxxxx>
Acked-by: Björn Töpel <bjorn@xxxxxxxxxx>