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 <crashfou...@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@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to