Re: bitscan forward/reverse on Windows

2023-02-20 Thread John Naylor
On Wed, Feb 8, 2023 at 3:14 PM John Naylor wrote: > > 0001 adds asserts to the existing coding. > > 0002 adds MSVC support. Tests pass on CI, but it's of course possible that there is some bug that prevents hitting the fastpath. I've mostly used the platform specific types, so some further cleanup

Re: bitscan forward/reverse on Windows

2023-02-08 Thread John Naylor
I wrote: > Attached is a quick-and-dirty attempt to add MSVC support for the rightmost/leftmost-one-pos functions. > > 0001 adds asserts to the existing coding. > 0002 adds MSVC support. Tests pass on CI, but it's of course possible that there is some bug that prevents hitting the fastpath. I've mo