Playing SIMD

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 26 06:04:18 PDT 2015


On 25 Oct 2015 11:50 pm, "Iakh via Digitalmars-d" <
digitalmars-d at puremagic.com> wrote:
>
> On Sunday, 25 October 2015 at 22:17:58 UTC, Matthias Bentrup wrote:
>>
>> On Sunday, 25 October 2015 at 19:37:32 UTC, Iakh wrote:
>>>
>>> Is it optimal and how do you implement this stuf?
>>>
>>
>> I think it's better to use PMOVMSKB to avoid storing the PCMPEQB result
in memory and you need only one BSF instruction.
>
>
> Yeah but PMOVMSKB not implemented in core.simd.
>

Don't use core.simd, push for getting std.simd in, then leverage the
generics exposed through that module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20151026/4f8e14a0/attachment.html>


More information about the Digitalmars-d mailing list