Re: [PATCH 0/2] eal/riscv: implement prefetch using zicbop

2024-07-12 Thread David Marchand
Hello, On Thu, May 30, 2024 at 7:21 PM Daniel Gregory wrote: > > Instructions from RISC-V's Zicbop extension can be used to implement the > rte_prefetch* family of functions. On modern versions of GCC (13.1.0+) > and Clang (17.0.1+), these are emitted by __builtin_prefetch() when the > extension

[PATCH 0/2] eal/riscv: implement prefetch using zicbop

2024-05-30 Thread Daniel Gregory
Instructions from RISC-V's Zicbop extension can be used to implement the rte_prefetch* family of functions. On modern versions of GCC (13.1.0+) and Clang (17.0.1+), these are emitted by __builtin_prefetch() when the extension is present. In order to support older compiler versions, this patchset m