core.simd woes

Manu turkeyman at gmail.com
Tue Oct 2 03:07:35 PDT 2012


On 8 August 2012 14:14, F i L <witte2008 at gmail.com> wrote:

> David Nadlinger wrote:
>
>> objdump, otool – depending on your OS.
>>
>
> Hey, nice tools. Good to know, thanks!
>
>
> Manu:
>
> Here's the disassembly for my benchmark code earlier, isolated between
> StopWatch .start()/.stop()
>
> https://gist.github.com/**3294283 <https://gist.github.com/3294283>
>
>
> Also, I noticed your std.simd.setY() function uses _blendps() op, but
> DMD's core.simd doesn't support this op (yet? It's there but commented
> out). Is there an alternative operation I can use for setY() ?
>

I haven't considered/written an SSE2 fallback yet, but I expect some trick
using shuf and/or shifts to blend the 2 vectors together will do it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121002/cfa0f721/attachment-0001.html>


More information about the Digitalmars-d mailing list