A.1 Loop Disqualification Messages - Texas Instruments TMS320C6000 Programmer's Manual

Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Loop Disqualification Messages

A.1 Loop Disqualification Messages

Bad Loop Structure
Loop Contains a Call
A-2
Description
This error is very rare and may stem from the following:
An asm statement inserted in the C code innerloop.
Parallel instructions being used as input to the Linear Assembly Optimizer.
Complex control flow such as GOTO statements and breaks.
Solution
Remove any asm statements, complex control flow, or parallel instructions as
input to linear assembly.
Description
There are occasions when the compiler may not be able to inline a function call
that is in a loop. This may be due to the compiler being unable to inline the
function call; the loop could not be software pipelined.
Solution
If the caller and the callee are C or C++, use –pm and –op2. See the
TMS320C6000 Opimizing C/C++ Compiler User's Guide for more information
on the correct usage of –op2. Do not use –oi0, which disables automatic inlin-
ing.
Add the inline keyword to the callee's function definition.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents