Re:The Lost Art of C Structure Packing
by slavak on Thursday January 02, 2014 @04:26AM
(#6998851)
The ISPC[1] language has syntax for requesting the compiler perform this transformation for you, giving you the performance benefits for free without requiring manually writing out the code or even paying the price in syntactic clarity (you can still write out p[0].x+p[1].x instead of px[0]+px[1]).
[1] http://ispc.github.io/