Re: [PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-03-05 Thread Andre Muezerie
On Mon, Jan 06, 2025 at 12:58:44PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 6 January 2025 12.34 > > > > On Mon, Jan 06, 2025 at 12:21:39PM +0100, Morten Brørup wrote: > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.

RE: [PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-01-06 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 6 January 2025 12.34 > > On Mon, Jan 06, 2025 at 12:21:39PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Monday, 6 January 2025 12.07 > > > > > > On Fri, Jan 03,

Re: [PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-01-06 Thread Bruce Richardson
On Mon, Jan 06, 2025 at 12:21:39PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 6 January 2025 12.07 > > > > On Fri, Jan 03, 2025 at 12:39:38PM -0800, Andre Muezerie wrote: > > > __builtin_add_overflow is gcc specific. There's a need

RE: [PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-01-06 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 6 January 2025 12.07 > > On Fri, Jan 03, 2025 at 12:39:38PM -0800, Andre Muezerie wrote: > > __builtin_add_overflow is gcc specific. There's a need for a portable > > version that can also be used with other compilers. >

Re: [PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-01-06 Thread Bruce Richardson
On Fri, Jan 03, 2025 at 12:39:38PM -0800, Andre Muezerie wrote: > __builtin_add_overflow is gcc specific. There's a need for a portable > version that can also be used with other compilers. > > This patch introduces rte_add_overflow. > > Signed-off-by: Andre Muezerie > --- > lib/eal/include/mes

[PATCH v2 2/5] lib/eal: add portable version of __builtin_add_overflow

2025-01-03 Thread Andre Muezerie
__builtin_add_overflow is gcc specific. There's a need for a portable version that can also be used with other compilers. This patch introduces rte_add_overflow. Signed-off-by: Andre Muezerie --- lib/eal/include/meson.build | 1 + lib/eal/include/rte_math.h | 46 ++