On 8 August 2012 14:14, F i L <witte2...@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.