B.1 Benchmark Code - Motorola DSP56800 Manual

16-bit digital signal processor
Table of Contents

Advertisement

Vector Multiply-Accumulate
Energy in a Signal
[3x3][1x3] Matrix Multiply
[NxN][NxN] Matrix Multiply
N Point 3x3 2-D FIR Convolution
Sine Wave Generation: Double Integration Technique
Sine Wave Generation: Second Order Oscillator
Array Search: Index of the Highest Signed Value
Array Search: Index of the Highest Positive Value
Proportional Integrator Differentiator (PID) Algorithm
Autocorrelation Algorithm
B.1
Benchmark Code
The following source code lists all the "defines" for the benchmarks.
page 132
opt
cc
; define section
AD
EQU
0
BD
EQU
$100
bd
EQU
$100
C
EQU
$200
c
EQU
$200
D
EQU
$300
N
EQU
100
AR
EQU
$300
AI
EQU
$400
OUTPUT
EQU
$500
output
EQU
$FFF1
INPUT
EQU
$501
input
EQU
$FFF1
W
EQU
0
B-2
Table B-1. Benchmark Summary (Continued)
Benchmark
DSP56800 Family Manual
Execution Time
(# Icyc)
(# Words)
2N
1N
20
3
2
N
+ 8N
2
13N
+ 11N
2N
5N
4N
2N
6N
2
(p + 1)
(N - p / 2)
Program
Length
12
7
20
30
41
13
16
10
10
6
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents