[Mono-dev] simd: more accelerated classes

Rodrigo Kumpera kumpera at gmail.com
Tue Jan 13 14:57:41 EST 2009


It would require changing the JIT to support rewriting field operations if
they belong
to simd types.

Anyway, I fail to see a compelling use case for such change. Been able to
pass one of it's
elements by reference is not one of them, as this would cripple the
generated code in ways that
would take away most of the advantages of Mono.Simd.


On Tue, Jan 13, 2009 at 4:54 PM, crashfourit <crashfourit at gmail.com> wrote:

>
> I was wondering what it would take to use simd to acclerate this
>
> Vector4f {
> public float X;
> public float Y;
> public float Z;
> public float W;
> //.......
> }
>
> instead of this
> Vector4f {
> internal float x;
> internal float y;
> internal float z;
> internal float w;
>
> public float X {get {return x;} set {x = value;}}
> public float Y {get {return y;} set {y = value;}}
> public float Z {get {return z;} set {z = value;}}
> public float W {get {return w;} set {w = value;}}
> //.......
> }
> Any sugestions?
> --
> View this message in context:
> http://www.nabble.com/simd%3A-more-accelerated-classes-tp21442105p21442105.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> 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/20090113/63e0718c/attachment.html 


More information about the Mono-devel-list mailing list