Examples
xx
8–11
Final Assembly Code for Dot–Product Kernel’s Inner Loop
. . . . . . . . . . . . . . . . . . . . . . . .
8–12
Vectorized form of the Vector Complex Multiply Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–13
Vectorized form of the Vector Complex Multiply
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–14
Non–aligned Memory Access With _mem4 and _memd8
. . . . . . . . . . . . . . . . . . . . . . . . . .
8–15
Vector Sum Modified to use Non–Aligned Memory Accesses
. . . . . . . . . . . . . . . . . . . . . .
8–16
Clear Below Threshold Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–17
Clear Below Threshold Kernel, Using _cmpgtu4 and _xpnd4 Intrinsics
. . . . . . . . . . . . . .
8–18
Loop Trip Count in C
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–19
Loop Trip Count in Linear Assembly without BDEC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–20
Loop Trip Count Using BDEC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–21
Loop Tip Count Using BDEC With Extra Loop Iterations
. . . . . . . . . . . . . . . . . . . . . . . . . . .
8–22
Using the .call Directive in Linear Assembly
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–23
Compiler Output Using ADDKPC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–24
Avoiding Cross Path Stalls: Weighted Vector Sum Example
. . . . . . . . . . . . . . . . . . . . . . .
8–25
Avoiding Cross Path Stalls: Partitioned Linear Assembly
. . . . . . . . . . . . . . . . . . . . . . . . . .
8–26
Avoiding Cross Path Stalls: Vector Sum Loop Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8–27
Avoiding Cross Path Stalls: Assembly Output Generated for Weighted Vector
Sum Loop Kernel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .