Loop Guidelines
data does not change. If you have a program that modifies
const
data through a pointer, you can generate standard-conforming code by
using the compile-time flag
Avoiding Long Latencies
All pipelined machines will introduce stall cycles when you cannot execute
the current instruction until a prior instruction has exited the pipeline.
If a stall is seen empirically, but it is not obvious to you exactly why it is
occurring, a good way to learn about the cause is the Pipeline Viewer.
This can be accessed through Debug Windows -> Pipeline Viewer in the
VisualDSP++ 3.5 IDDE. By single-stepping through the program, you
will see where the stall occurs. Note that the Pipeline Viewer is only avail-
able within a simulator session.
2-24
-const-read-write
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
const
.
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers