On 8/20/23 7:23 PM, Pu Lehui wrote:
Alright, riscv64 is already being adapted, will be sent soon.
Thanks! Looking forward to the patch set.
On 2023/8/20 9:41, Yonghong Song wrote:
Hi,
A new set of bpf insns have been recently added in llvm with flag
[-mcpu=v4](https://reviews.llvm.org/D144829). In the kernel,
x86_64 and arm64 have implemented -mcpu=v4 support:
x86_64:
https://lore.kernel.org/all/20230728011143.3710005-1-yonghong.song@xxxxxxxxx/
arm64:
https://lore.kernel.org/bpf/20230815154158.717901-1-xukuohai@xxxxxxxxxxxxxxx/
The following arch's do not have -mcpu=v4 support yet:
arm, mips, nfp, powerpc, riscv, sc90, sparc and x86_32
If you have a chance, could you take a look at what
x86_64/arm64 does and add support to the above arch'es?
Thanks!
Yonghong