Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-04-05 Thread Tyler Retzlaff
On Wed, Apr 05, 2023 at 04:51:42PM +0100, Bruce Richardson wrote: > On Wed, Apr 05, 2023 at 08:22:16AM -0700, Tyler Retzlaff wrote: > > On Wed, Apr 05, 2023 at 09:44:54AM +0100, Bruce Richardson wrote: > > > On Tue, Apr 04, 2023 at 02:23:22PM -0700, Tyler Retzlaff wrote: > > > > On Thu, Jan 05, 202

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-04-05 Thread Bruce Richardson
On Wed, Apr 05, 2023 at 08:22:16AM -0700, Tyler Retzlaff wrote: > On Wed, Apr 05, 2023 at 09:44:54AM +0100, Bruce Richardson wrote: > > On Tue, Apr 04, 2023 at 02:23:22PM -0700, Tyler Retzlaff wrote: > > > On Thu, Jan 05, 2023 at 08:09:19AM +0100, Morten Brørup wrote: > > > > > From: Tyler Retzlaff

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-04-05 Thread Tyler Retzlaff
On Wed, Apr 05, 2023 at 09:44:54AM +0100, Bruce Richardson wrote: > On Tue, Apr 04, 2023 at 02:23:22PM -0700, Tyler Retzlaff wrote: > > On Thu, Jan 05, 2023 at 08:09:19AM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > > Sent: Thursday, 24 Novemb

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-04-05 Thread Bruce Richardson
On Tue, Apr 04, 2023 at 02:23:22PM -0700, Tyler Retzlaff wrote: > On Thu, Jan 05, 2023 at 08:09:19AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Thursday, 24 November 2022 00.43 > > > > > > Provide an abstraction for leading and trailing

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-04-04 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 08:09:19AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 24 November 2022 00.43 > > > > Provide an abstraction for leading and trailing zero bit counting > > functions to hide compiler specific intrinsics and

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-10 Thread Ferruh Yigit
On 1/6/2023 8:51 PM, Thomas Monjalon wrote: > 06/01/2023 19:58, Tyler Retzlaff: >> On Fri, Jan 06, 2023 at 02:40:59PM +0100, Thomas Monjalon wrote: >>> 06/01/2023 13:41, Morten Brørup: > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 6 January 2023 12.48 > >>

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-09 Thread Bruce Richardson
On Fri, Jan 06, 2023 at 10:47:06AM -0800, Tyler Retzlaff wrote: > On Fri, Jan 06, 2023 at 11:48:17AM +, Bruce Richardson wrote: > > On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > > > On Thu, 5 Jan 2023 09:21:18 -0800 > > > Tyler Retzlaff wrote: > > > > > > > On Thu, Jan

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Thomas Monjalon
06/01/2023 19:58, Tyler Retzlaff: > On Fri, Jan 06, 2023 at 02:40:59PM +0100, Thomas Monjalon wrote: > > 06/01/2023 13:41, Morten Brørup: > > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > > Sent: Friday, 6 January 2023 12.48 > > > > > > > > On Thu, Jan 05, 2023 at 04:32:40PM

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Tyler Retzlaff
On Fri, Jan 06, 2023 at 02:40:59PM +0100, Thomas Monjalon wrote: > 06/01/2023 13:41, Morten Brørup: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Friday, 6 January 2023 12.48 > > > > > > On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > > > > On Th

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Tyler Retzlaff
On Fri, Jan 06, 2023 at 11:48:17AM +, Bruce Richardson wrote: > On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > > On Thu, 5 Jan 2023 09:21:18 -0800 > > Tyler Retzlaff wrote: > > > > > On Thu, Jan 05, 2023 at 10:01:31AM +0100, Thomas Monjalon wrote: > > > > 05/01/2023 08:0

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Thomas Monjalon
06/01/2023 13:41, Morten Brørup: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Friday, 6 January 2023 12.48 > > > > On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > > > On Thu, 5 Jan 2023 09:21:18 -0800 > > > Tyler Retzlaff wrote: > > > > > > > On Th

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 6 January 2023 12.48 > > On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > > On Thu, 5 Jan 2023 09:21:18 -0800 > > Tyler Retzlaff wrote: > > > > > On Thu, Jan 05, 2023 at 10:01:31AM +0100, Thomas Monja

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Bruce Richardson
On Thu, Jan 05, 2023 at 04:32:40PM -0800, Stephen Hemminger wrote: > On Thu, 5 Jan 2023 09:21:18 -0800 > Tyler Retzlaff wrote: > > > On Thu, Jan 05, 2023 at 10:01:31AM +0100, Thomas Monjalon wrote: > > > 05/01/2023 08:09, Morten Brørup: > > > > > From: Tyler Retzlaff [mailto:roret...@linux.micr

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Thomas Monjalon
06/01/2023 02:04, Tyler Retzlaff: > On Fri, Jan 06, 2023 at 12:10:45AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Thursday, 5 January 2023 23.06 > > > > > > doesn't create a new kind of mess. > > > > > > so i fudged around a bit to see

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-06 Thread Thomas Monjalon
05/01/2023 18:27, Tyler Retzlaff: > On Thu, Jan 05, 2023 at 09:23:49AM -0800, Tyler Retzlaff wrote: > > On Thu, Jan 05, 2023 at 10:04:46AM +0100, Thomas Monjalon wrote: > > > 28/11/2022 18:27, Tyler Retzlaff: > > > > On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > > > > > From: T

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Fri, Jan 06, 2023 at 12:10:45AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 5 January 2023 23.06 > > > > doesn't create a new kind of mess. > > > > so i fudged around a bit to see if i could get a happy medium. i ended > > up w

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Thursday, 5 January 2023 23.06 > > On Thu, Jan 05, 2023 at 10:34:55PM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Thursday, 5 January 2023 21.58 > > > > > > On Thu, Jan

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 10:34:55PM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 5 January 2023 21.58 > > > > On Thu, Jan 05, 2023 at 09:27:12AM -0800, Tyler Retzlaff wrote: > > > On Thu, Jan 05, 2023 at 09:23:49AM -0800, Tyler Retzl

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Thursday, 5 January 2023 21.58 > > On Thu, Jan 05, 2023 at 09:27:12AM -0800, Tyler Retzlaff wrote: > > On Thu, Jan 05, 2023 at 09:23:49AM -0800, Tyler Retzlaff wrote: > > > > > oh! not a problem. i'm very keen to catch any mistak

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 09:27:12AM -0800, Tyler Retzlaff wrote: > On Thu, Jan 05, 2023 at 09:23:49AM -0800, Tyler Retzlaff wrote: > > > > oh! not a problem. i'm very keen to catch any mistakes, thought i had > > > > missed something. > > > > > > I think we should move all bit-related functions tog

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 09:23:49AM -0800, Tyler Retzlaff wrote: > On Thu, Jan 05, 2023 at 10:04:46AM +0100, Thomas Monjalon wrote: > > 28/11/2022 18:27, Tyler Retzlaff: > > > On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > > > > From: Tyler Retzlaff [mailto:roret...@linux.microso

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 10:04:46AM +0100, Thomas Monjalon wrote: > 28/11/2022 18:27, Tyler Retzlaff: > > On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > > Sent: Monday, 28 November 2022 18.14 > > > > > > > > On

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 10:01:31AM +0100, Thomas Monjalon wrote: > 05/01/2023 08:09, Morten Brørup: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > +/** > > > + * @warning > > > + * @b EXPERIMENTAL: this API may change, or be removed, without prior > > > notice > > > + * > >

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Thomas Monjalon
28/11/2022 18:27, Tyler Retzlaff: > On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Monday, 28 November 2022 18.14 > > > > > > On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > > > > From:

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-05 Thread Thomas Monjalon
05/01/2023 08:09, Morten Brørup: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > +/** > > + * @warning > > + * @b EXPERIMENTAL: this API may change, or be removed, without prior > > notice > > + * > > + * Get the count of leading 0-bits in v. > > + * > > + * @param v > > + * Th

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2023-01-04 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Thursday, 24 November 2022 00.43 > > Provide an abstraction for leading and trailing zero bit counting > functions to hide compiler specific intrinsics and builtins. > > Signed-off-by: Tyler Retzlaff > --- > lib/eal/include/me

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Tyler Retzlaff
On Mon, Nov 28, 2022 at 06:22:10PM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Monday, 28 November 2022 18.14 > > > > On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > > > From: Tyler Retzlaff [mailto:roret...@linux.microsof

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Monday, 28 November 2022 18.14 > > On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > > Sent: Thursday, 24 November 2022 00.43 > > > > > > Provide a

Re: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-28 Thread Tyler Retzlaff
On Thu, Nov 24, 2022 at 11:17:23AM +0100, Morten Brørup wrote: > > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > > Sent: Thursday, 24 November 2022 00.43 > > > > Provide an abstraction for leading and trailing zero bit counting > > functions to hide compiler specific intrinsics and

RE: [PATCH v2 1/2] eal: provide leading and trailing zero bit count abstraction

2022-11-24 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Thursday, 24 November 2022 00.43 > > Provide an abstraction for leading and trailing zero bit counting > functions to hide compiler specific intrinsics and builtins. > > Signed-off-by: Tyler Retzlaff > --- Related functions al