<p dir="ltr">On 26 Oct 2015 1:40 pm, "Don via Digitalmars-d" <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br>
><br>
> On Sunday, 25 October 2015 at 19:37:32 UTC, Iakh wrote:<br>
>><br>
>> Here is my implementatation of SIMD find. Function returns index of ubyte in static 16 byte array with unique values.<br>
><br>
><br>
> [snip]<br>
><br>
> You need to be very careful with doing benchmarks on tiny test cases, they can be very misleading.<br>
><br>
> Be aware that the speed of bsf() and bsr() is very very strongly processor dependent. On some machines, it is utterly pathetic. </p>
<p dir="ltr">Some compilers are smart about uses of bsf and bsr. :-)</p>