On 26 Oct 2015 1:40 pm, "Don via Digitalmars-d" <[email protected]>
wrote:
>
> On Sunday, 25 October 2015 at 19:37:32 UTC, Iakh wrote:
>>
>> Here is my implementatation of SIMD find. Function returns index of
ubyte in static 16 byte array with unique values.
>
>
> [snip]
>
> You need to be very careful with doing benchmarks on tiny test cases,
they can be very misleading.
>
> Be aware that the speed of bsf() and bsr() is very very strongly
processor dependent. On some machines, it is utterly pathetic.

Some compilers are smart about uses of bsf and bsr.  :-)

Reply via email to