SPRUI04F july 2015 – april 2023
The loop buffer improves performance and reduces code size for software pipelined loops. The loop buffer provides the following benefits:
You can tell that the compiler is using the loop buffer when you find SPLOOP(D/W) at the beginning of a software pipelined loop followed by an SPKERNEL at the end. Refer to the TMS320C64x/C64x+ CPU and Instruction Set Reference Guide for information on SPLOOP.
When the --opt_for_space option is not used, the compiler will not use the loop buffer if it can find a faster software pipelined loop without it. When using the --opt_for_space option, the compiler will use the loop buffer when it can.
The compiler does not generate code for the loop buffer (SPLOOP/D/W) when any of the following occur: