[Mono-dev] Mono.Simd AltiVec port

Sergei Dyshel qyron.private at gmail.com
Tue Feb 2 03:59:25 EST 2010


Hello all,

I'm currently working on PowerPC port of Mono which utilizes AltiVec SIMD
instructions. During the development I've encountered an alignment problem:

As far as I understood from running Mono's JIT, stack-allocated
Mono.Simd.Vector* types are always aligned by 16 byte bound, but global
ones aren't (such as static class members). This is not a problem for SSE
which has unaligned load/stores but AltiVec doesn't have them. Instead of
implementing misaligned loads/stores for AltiVec I think it's better to
force alignment in global variables, as it done in the case of stack.

Can somebody help me with that (e.g. point at relevant places in
'mini-ppc.c')?

Thanks,
Sergei Dyshel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100202/519b46ae/attachment.html 


More information about the Mono-devel-list mailing list