[Mono-dev] Mono simd problems

crashfourit crashfourit at gmail.com
Wed Dec 31 00:36:09 EST 2008


Actually, Vector4f.Shuffle(v, ShuffleSel.ExpandX) is not the problem but

GetVector4f(out v0, out v1, out v2, out v3)

Sometimes doesn't work. It happens the most when you call this at least one
c# statement between that and where the variables are declared. From what I
can understand the jit engine is not producing the code to reload each of
the variables into the simd registers after the call (at least part of the
time).


Rodrigo Kumpera wrote:
> 
> Hi,
> 
> I'll try to sort your problem out in time for the 2.2 release.
> 
> Thanks for reporting it.
> Rodrigo
> 
> On Tue, Dec 30, 2008 at 5:56 PM, crashfourit <crashfourit at gmail.com>
> wrote:
> 
>>
>> I figgured it out; it is not  by
>> itself that causes problems. It is
>>
>> Vector4f.Shuffle(v, ShuffleSel.ExpandX) * v2
>>
>> That doesn't work in mono 2.2 rc3 and does work on .net 3.5. I'm guessing
>> it
>> has to do with the jit engine in mono.
>> --
>> View this message in context:
>> http://www.nabble.com/Mono-simd-problems-tp21221527p21222330.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
>>
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Mono-simd-problems-tp21221527p21227565.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list