Re: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-14 Thread Van Haaren, Harry
> -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Monday, September 14, 2020 11:39 AM > To: Van Haaren, Harry ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant > > >> >This commit adds a new rte_prefetch

Re: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-14 Thread Pavan Nikhilesh Bhagavatula
>> >This commit adds a new rte_prefetch0_write() variant, suggests 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. >> >> Why not have

Re: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-14 Thread Van Haaren, Harry
> -Original Message- > From: Pavan Nikhilesh Bhagavatula > Sent: Sunday, September 13, 2020 9:11 PM > To: Van Haaren, Harry ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant > > >This commit adds a new rte_prefetch0_write()

Re: [dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-13 Thread Pavan Nikhilesh Bhagavatula
>This commit adds a new rte_prefetch0_write() variant, suggests 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. Why not have the other varian

[dpdk-dev] [PATCH] eal: add new prefetch0_write variant

2020-09-11 Thread Harry van Haaren
This commit adds a new rte_prefetch0_write() variant, suggests 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. Signed-off-by: Harry van Haaren -