How can I get my code running on AltiVec?
Here are four ways to get AltiVec code: • Write in assembly language (or use inline assembly language in C) and use the AltiVec instructions directly. • Write in C with the AltiVec C language extensions defined by Motorola (see the AltiVec Technology Programming Interface Manual, available from Motorola). • Call a library routine that has been optimized to use AltiVec instructions. • Use automatic vectorization to get your loops vectorized for AltiVec (either C/C++ or Fortran). While this tutorial was designed primarily to help people use the automatic vectorization features of the VAST vectorizers efficiently, it may also be useful for people who are starting to write explicit vector code by hand. The concepts and techniques discussed here a natural first step to creating AltiVec code by whatever means.
Related Questions
- Is it only possible to generate the result from a database to schema, schema to database or database to database mapping by generating code, compiling it, and then running the resulting application?
- I am running Java code on an HP-UX 11i v2 machine, and the process dies after about 245 threads. Why aren more threads supported?
- What could cause a VB.NET application to crash before running any code?