Re: [Mono-dev] mono.simd sugestions

2008-11-20 Thread crashfourit
Rodrigo Kumpera wrote: On Wed, Nov 19, 2008 at 4:23 PM, crashfourit [EMAIL PROTECTED] wrote: It would be nice to have the vector* have a constructor that takes in only one argument and fills all spots in the vector* with the same value. Like... Vector4f vector = new Vector4f(1);

Re: [Mono-dev] mono.simd sugestions

2008-11-20 Thread Rodrigo Kumpera
The JIT will generate reasonable code. It's on our plans to give atention on having a good integration story with existing code. On Thu, Nov 20, 2008 at 9:15 PM, crashfourit [EMAIL PROTECTED] wrote: How will the jit engine handle this? public static unsafe Vector4 AsVector4(ref Vector4f

[Mono-dev] mono.simd sugestions

2008-11-19 Thread crashfourit
It would be nice to have the vector* have a constructor that takes in only one argument and fills all spots in the vector* with the same value. Like... Vector4f vector = new Vector4f(1); Second... I can really see someone doing this to use mono.simd in already established code base.

Re: [Mono-dev] mono.simd sugestions

2008-11-19 Thread Rodrigo Kumpera
On Wed, Nov 19, 2008 at 4:23 PM, crashfourit [EMAIL PROTECTED] wrote: It would be nice to have the vector* have a constructor that takes in only one argument and fills all spots in the vector* with the same value. Like... Vector4f vector = new Vector4f(1); Second... I can really see