Re: [dpdk-dev] [PATCH v3] eal: add new prefetch write variants

2020-10-15 Thread David Marchand
On Thu, Oct 15, 2020 at 12:31 PM Harry van Haaren wrote: > > This commit adds new rte_prefetchX_write() variants, that suggest to the > compiler to use a prefetch instruction with intention to write. As a > compiler builtin, the compiler can choose based on compilation target > what the best imple

[dpdk-dev] [PATCH v3] eal: add new prefetch write variants

2020-10-15 Thread Harry van Haaren
This commit adds new rte_prefetchX_write() variants, that suggest to the compiler to use a prefetch instruction with intention to write. As a compiler builtin, the compiler can choose based on compilation target what the best implementation for this instruction is. Three versions are provided, tar