Unrolling AltiVec, Part 2, Optimize code for SIMD processing

Tweak your C code, or dip into assembly

From the developerWorks archives

Peter Seebach

Date archived: May 16, 2019 | First published: March 16, 2005

In this second article of a three-part series, Peter Seebach looks closer at AltiVec, the PowerPC SIMD unit. He explains further how you can effectively use AltiVec, discussing the choice between C and assembly, and shows some of the issues you'll face when trying to get the best performance out of an AltiVec processor.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

Zone=Multicore acceleration
ArticleTitle=Unrolling AltiVec, Part 2: Optimize code for SIMD processing