[Mono-dev] Mono.Simd AltiVec port
qyron.private at gmail.com
Tue Feb 2 03:59:25 EST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list