Re: bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 19 Aug 2023 18:41:30 -0700 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?

Louis, is anyone on your side still working on BPF for NFP?
div/mod and the jump will be impossible but there may be instructions
for sign extend or bswap?




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux