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

Reply via email to