SPRUI04F july 2015 – april 2023
If you are not satisfied with the performance of your C/C++ code after you have used all of the C/C++ optimizations that are available, you can use the assembly optimizer to make it easier to write assembly code for the C6000.
The assembly optimizer performs several tasks including the following:
Like the C/C++ compiler, the assembly optimizer performs software pipelining. Software pipelining is a technique used to schedule instructions from a loop so that multiple iterations of the loop execute in parallel. The code generation tools attempt to software pipeline your code with inputs from you and with information that it gathers from your program. For more information, see Section 4.6.
To invoke the assembly optimizer, use the compiler program (cl6x). The assembly optimizer is automatically invoked by the compiler program if one of your input files has a .sa extension. You can specify C/C++ source files along with your linear assembly files. For more information about the compiler program, see Chapter 19.