[Mono-dev] setters and getters for mono.simd
Rodrigo Kumpera
kumpera at gmail.com
Fri Jan 23 07:26:51 EST 2009
Using then would be pretty sweet, I haven't done myself mainly because my
machine doesn't support sse 4.1 so I can't test such changes.
On Fri, Jan 23, 2009 at 6:32 AM, Jerry Maine <crashfourit at gmail.com> wrote:
> I was looking for over the simd specs and I found out something very
> interesting.
>
> PEXTRW (Extract Packed Word) and PINSRW (Packed Insert Word)
>
> These two could be used for the getters and setters for Vector4f (though
> one would have to use them in pairs) and the good thing is that they
> are plain SSE instructions, not SSE2 nor SSE3.
>
> It would save us from having to off load and reload the entire 128 bits
> to and from the register.
>
> What do you guys think?
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090123/5a64b6bd/attachment.html
More information about the Mono-devel-list
mailing list