On Fri, Jul 28, 2023 at 9:41 AM Jose E. Marchesi <jose.marchesi@xxxxxxxxxx> wrote: > > > Hello. > > Just a heads up regarding the new BPF V4 instructions and their support > in the GNU Toolchain. Awesome. Thanks for the update! > V4 sdiv/smod instructions > > Binutils has been updated to use the V4 encoding of these > instructions, which used to be part of the xbpf testing dialect used > in GCC. GCC generates these instructions for signed division when > -mcpu=v4 or higher. With sdiv/smod implemented do you still have a need for xbpf flag? Anything still missing or you can start using -mcpu=v4 in gcc selftests and remove xbpf completely? > > So I think we are done with this. Please let us know if these > instructions ever change. Fingers crossed, they will never change. How far are we from running bpf selftests with gcc?