Examples
xviii
6–21
Linear Assembly for Fixed-Point Dot Product Inner Loop
(With Conditional SUB Instruction)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–22
Linear Assembly for Floating-Point Dot Product Inner Loop
(With Conditional SUB Instruction)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–23
Pseudo-Code for Single-Cycle Accumulator With ADDSP
. . . . . . . . . . . . . . . . . . . . . . . . .
6–24
Linear Assembly for Full Fixed-Point Dot Product
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–25
Linear Assembly for Full Floating-Point Dot Product
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–26
Assembly Code for Fixed-Point Dot Product (Software Pipelined)
. . . . . . . . . . . . . . . . . .
6–27
Assembly Code for Floating-Point Dot Product (Software Pipelined)
. . . . . . . . . . . . . . . .
6–28
Assembly Code for Fixed-Point Dot Product
(Software Pipelined With No Extraneous Loads)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–29
Assembly Code for Floating-Point Dot Product
(Software Pipelined With No Extraneous Loads)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–30
Assembly Code for Fixed-Point Dot Product
(Software Pipelined With Removal of Prolog and Epilog)
. . . . . . . . . . . . . . . . . . . . . . . . . .
6–31
Assembly Code for Floating-Point Dot Product
(Software Pipelined With Removal of Prolog and Epilog)
. . . . . . . . . . . . . . . . . . . . . . . . . .
6–32
Assembly Code for Fixed-Point Dot Product
(Software Pipelined With Smallest Code Size)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–33
Assembly Code for Floating-Point Dot Product
(Software Pipelined With Smallest Code Size)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–34
Weighted Vector Sum C Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–35
Linear Assembly for Weighted Vector Sum Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–36
Weighted Vector Sum C Code (Unrolled)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–37
Linear Assembly for Weighted Vector Sum Using LDW
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–38
Linear Assembly for Weighted Vector Sum With Resources Allocated
. . . . . . . . . . . . . . .
6–39
Linear Assembly for Weighted Vector Sum
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–40
Assembly Code for Weighted Vector Sum
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–41
IIR Filter C Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–42
Linear Assembly for IIR Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–43
Linear Assembly for IIR Inner Loop With Reduced Loop Carry Path
. . . . . . . . . . . . . . . . .
6–44
Linear Assembly for IIR Inner Loop (With Allocated Resources)
. . . . . . . . . . . . . . . . . . . .
6–45
Linear Assembly for IIR Filter
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–46
Assembly Code for IIR Filter
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–47
If-Then-Else C Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–48
Linear Assembly for If-Then-Else Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–49
Linear Assembly for Full If-Then-Else Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–50
Assembly Code for If-Then-Else
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–51
Assembly Code for If-Then-Else With Loop Count Greater Than 3
. . . . . . . . . . . . . . . . . .
6–52
If-Then-Else C Code (Unrolled)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–53
Linear Assembly for Unrolled If-Then-Else Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–54
Linear Assembly for Full Unrolled If-Then-Else Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–55
Assembly Code for Unrolled If-Then-Else
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–56
Live-Too-Long C Code
6–57
Linear Assembly for Live-Too-Long Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .