[osg-users] [osg-submissions] Matrixf multiply Optimization
david.spilling at gmail.com
Sun Jul 27 06:50:15 PDT 2008
MS uses _aligned_malloc (and _aligned_free), _declspec(align(16)).
I think gcc uses something like __attribute__((__aligned__(16))), but I'm
not sure whether that's OK for dynamic allocation.
Intel's MKL, and others, provide cross-platform aligned mallocs, so we might
be able to find something similar. Or just create a new Vec4f / Matrix4f
type with an overriden new operator.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users