On Tue, Sep 27, 2016 at 05:24:35PM +, Chen, Jing D wrote:
> > On Mon, Sep 26, 2016 at 12:29:13PM +0800, Yuanhan Liu wrote:
> > > Interestingly, clang and gcc has different prototype for _mm_prefetch().
> > > For gcc, we have
> > >
> > >_mm_prefetch (const void *__P, enum _mm_hint __I)
> > >
Can any PMD guys review it? It blocks a virtio patchset apply...
Thanks.
--yliu
On Mon, Sep 26, 2016 at 12:29:13PM +0800, Yuanhan Liu wrote:
> Interestingly, clang and gcc has different prototype for _mm_prefetch().
> For gcc, we have
>
>_mm_prefetch (const void *__P, enum _mm_hint
Hi,
> -Original Message-
> From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com]
> Sent: Tuesday, September 27, 2016 5:20 AM
> To: dev at dpdk.org
> Cc: Jerin Jacob ; Chen, Jing D
> ; Liang, Cunming ;
> Richardson, Bruce ; Thomas Monjalon
>
> Subject: Re: [PATCH v3] net: fix build er
Interestingly, clang and gcc has different prototype for _mm_prefetch().
For gcc, we have
_mm_prefetch (const void *__P, enum _mm_hint __I)
While for clang, it's
#define _mm_prefetch(a, sel) (__builtin_prefetch((void *)(a), 0, (sel)))
That's how the following error comes with clang:
e
4 matches
Mail list logo