Index
Index-4
with hand-coded assembly, 7-12
with the C compiler, 7-11
interrupts
overview, 7-2
single assignment versus multiple assignment,
intrinsics
_add2 ( ), 3-25
_mpy ( ), 3-28
_mpyh ( ), 3-28
_mpyhl ( ), 3-25
_mpylh ( ), 3-25
described, 3-16
in saturated add, 3-16
summary table, 3-17–3-19
iteration interval, defined, 6-32
K
L
linear, optimizing (phase 3 of flow), in flow diagram,
linear assembly, 2-25
code
dot product, fixed-point, 6-10
dot product, fixed-point, 6-14, 6-20, 6-24,
dot product, floating-point, 6-21, 6-25, 6-31,
FIR filter, 6-113, 6-115, 6-124, 6-126
FIR filter with outer loop conditionally execut-
ed with inner loop, 6-142, 6-144
FIR filter, outer loop, 6-139
FIR filter, unrolled, 6-138
if-then-else, 6-91, 6-99
live-too-long, 6-108
weighted vector sum, 6-62
resource allocation
conflicts, 6-65
dot product, 6-23
if-then-else, 6-91, 6-98
IIR filter, 6-83
in writing parallel code, 6-11
live-too-long resolution, 6-107
weighted vector sum, 6-62
little-endian mode, and MPY operation, 6-21
live-too-long
C code, 6-102
inserting move (MV) instructions, 6-106
unrolling the loop, 6-106
and software pipelining, 3-50
created by split-join paths, 6-105
load
doubleword (LDDW) instruction, 6-19
word (LDW) instruction, 6-19
loop
carry path, described, 6-78
counter, handling odd-numbered, 3-27
unrolling
dot product, 6-19
for simple loop structure, 3-47
if-then-else code, 6-95
in FIR filter, 6-123, 6-126, 6-132, 6-137, 6-139
in live-too-long solution, 6-106
in vector sum, 3-45
M
memory bank scheme, interleaved, 6-119–6-121
memory dependency.
See dependency
minimum iteration interval, determining, 6-34
for FIR code, 6-115, 6-129, 6-147
for if-then-else code, 6-90, 6-98
for IIR code, 6-81
for live-too-long code, 6-105
for weighted vector sum, 6-59, 6-60
modulo iteration interval table
dot product, fixed-point
after software pipelining, 6-35
before software pipelining, 6-32
dot product, floating-point
after software pipelining, 6-36
before software pipelining, 6-33
IIR filter, 4-cycle loop, 6-84
weighted vector sum