ists.linaro.org
> Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library
> api
>
> On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
> > Some C library calls are often used in data plane code. This
> > API enables possibility to HW optim
On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
> Some C library calls are often used in data plane code. This
> API enables possibility to HW optimized implementation of those.
> Added first memcpy and memset.
>
> Signed-off-by: Petri Savolainen
To: EXT Bill Fischofer
Cc: LNG ODP Mailman List
Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library api
If that’s the case an platform can implement these without extra effort. But
when that’s not the case, an implementation can use whatever special
instructions, vector engin
FI/Espoo) <petri.savolai...@nokia.com>
> *Sent:* Friday, October 16, 2015 5:52 PM
> *To:* EXT Bill Fischofer
>
> *Cc:* LNG ODP Mailman List
> *Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c
> library api
>
>
> If that’s the case an platform ca
October 16, 2015 3:17 PM
> *To:* Savolainen, Petri (Nokia - FI/Espoo)
> *Cc:* LNG ODP Mailman List
> *Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c
> library api
>
>
>
> Why would you not expect a platform to provide an optimized implementation
> 在 2015年10月16日,下午8:16,Bill Fischofer 写道:
>
> Why would you not expect a platform to provide an optimized implementation of
> these stdlib functions itself? GCC, in particular, seems to do a good job of
> this for most platforms.
Hi Bill,
DPDK has its own
Some C library calls are often used in data plane code. This
API enables possibility to HW optimized implementation of those.
Added first memcpy and memset.
Signed-off-by: Petri Savolainen
---
include/odp.h | 1 +
have had a
reason for optimizing it).
-Petri
From: EXT Bill Fischofer [mailto:bill.fischo...@linaro.org]
Sent: Friday, October 16, 2015 3:17 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
Cc: LNG ODP Mailman List
Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library api
Why
Why would you not expect a platform to provide an optimized implementation
of these stdlib functions itself? GCC, in particular, seems to do a good
job of this for most platforms.
On Fri, Oct 16, 2015 at 7:13 AM, Petri Savolainen <
petri.savolai...@nokia.com> wrote:
> Some C library calls are
have had a reason for optimizing it).
>>
>>
>>
>> -Petri
>>
>>
>>
>> *From:* EXT Bill Fischofer [mailto:bill.fischo...@linaro.org]
>> *Sent:* Friday, October 16, 2015 3:17 PM
>> *To:* Savolainen, Petri (Nokia - FI/Espoo)
>> *Cc:* LNG O
en, Petri (Nokia - FI/Espoo)
*Cc:* LNG ODP Mailman List
*Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added
standard c library api
Why would you not expect a platform to provide an optimized
implementation of these stdlib functions itself? GCC, in
HW it has to speed up these calls. See e.g. rte_memcpy in DPDK
>> - it’s not just plain memcpy wrapper (they must have had a
>> reason for optimizing it).
>>
>> -Petri
>>
>> *From:*EXT Bill Fischofer [mailto:bill.fischo...@lina
12 matches
Mail list logo