BENCHMARK PROGRAMS
B - 12
BENCHMARK PROGRAMS
MOTOROLA
;Latest Revision — September 30, 1986
;
move
#points/2,n0
;initialize butterflies per group
move
#1,n2
;initialize groups per pass
move
#points/4,n6
;initialize C pointer offset
move
#-1,m0
;initialize A and B address modifiers
move
m0,m1
;for linear addressing
move m0,m4
move
m0,m5
move
#0,m6
;initialize C address modifier for
;reverse carry (bit-reversed) addressing
;
;Perform all FFT passes with triple nested DO loop
;
do
#@cvi (@log(points)/@log(2)+0.5),_end_pass
move
#data,r0
;initialize A input pointer
move
r0,r4
;initialize A output pointer
lua
(r0)+n0,r1
;initialize B input pointer
move
#coef,r6
;initialize C input pointer
lua
(r1)-,r5
;initialize B output pointer
move
n0,n1
;initialize pointer offsets
move
n0,n4
move
n0,n5
do
n2,_end_grp
move
x:(r1),X1
y:(r6),y0
;lookup -sine and
; -cosine values
move
x:(r5),a
y:(r0),b
;preload data
move
x:(r6)+n6,x0
;update C pointer
do
n0,_end_bfy
mac
x1,y0,b
y:(r1)+,y1
;Radx 2 DIT
;butterfly kernel
macr
-x0,y1,b
a,x:(r5)+
y:(r0),a
subl
b,a
x:(r0),b
b,y:(r4)
mac
-x1,x0,b
x:(r0)+,a
a,y:(r5)
macr
-y1,y0,b
x:(r1),x1
subl
b,a
b,x:(r4)+
y:(r0),b
_end_bfy
move
a,x:(r5)+n5
y:(r1)+n1,y1
;update A and B pointers
move
x:(r0)+n0,x1
y:(r4)+n4,y1
_end_grp
move
n0,b1
;divide butterflies per group by two
Isr
b
n2,a1
;multiply groups per pass by two
IsI
a
b1,n0
move
a1,n2
_end_pass
endm
Figure B-2 Radix 2, In-Place, Decimation-In-Time FFT (Sheet 2 of 2)
Figure B-5 Real Input FFT Based on Glenn Bergland Algorithm (Sheet 1 of 8)
Содержание DSP56K
Страница 12: ...xii LIST of TABLES MOTOROLA List of Tables Continued Table Page Number Title Number ...
Страница 13: ...MOTOROLA DSP56K FAMILY INTRODUCTION 1 1 SECTION 1 DSP56K FAMILY INTRODUCTION ...
Страница 25: ...MOTOROLA DSP56K CENTRAL ARCHITECTURE OVERVIEW 2 1 SECTION 2 DSP56K CENTRAL ARCHITECTURE OVERVIEW ...
Страница 31: ...MOTOROLA DATA ARITHMETIC LOGIC UNIT 3 1 SECTION 3 DATA ARITHMETIC LOGIC UNIT ...
Страница 50: ...DATA ALU SUMMARY 3 20 DATA ARITHMETIC LOGIC UNIT MOTOROLA ...
Страница 51: ...MOTOROLA ADDRESS GENERATION UNIT 4 1 SECTION 4 ADDRESS GENERATION UNIT ...
Страница 77: ...MOTOROLA PROGRAM CONTROL UNIT 5 1 SECTION 5 PROGRAM CONTROL UNIT ...
Страница 124: ...INSTRUCTION GROUPS 6 30 INSTRUCTION SET INTRODUCTION MOTOROLA ...
Страница 125: ...MOTOROLA PROCESSING STATES 7 1 SECTION 7 PROCESSING STATES STOP WAIT EXCEPTION NORMAL RESET ...
Страница 167: ...STOP PROCESSING STATE MOTOROLA PROCESSING STATES 7 43 ...
Страница 168: ...STOP PROCESSING STATE 7 44 PROCESSING STATES MOTOROLA ...
Страница 169: ...MOTOROLA PORT A 8 1 SECTION 8 PORT A ...
Страница 176: ...PORT A INTERFACE 8 8 PORT A MOTOROLA ...
Страница 177: ...MOTOROLA PLL CLOCK OSCILLATOR 9 1 SECTION 9 PLL CLOCK OSCILLATOR x x d Φ VCO ...
Страница 191: ...10 2 ON CHIP EMULATION OnCE MOTOROLA SECTION 10 ON CHIP EMULATION OnCE ...
Страница 218: ...USING THE OnCE MOTOROLA ON CHIP EMULATION OnCE 10 29 ...
Страница 604: ...INSTRUCTION ENCODING A 338 INSTRUCTION SET DETAILS MOTOROLA ...
Страница 605: ...MOTOROLA BENCHMARK PROGRAMS B 1 APPENDIX B BENCHMARK PROGRAMS T T T T T P1 P3 P2 P4 T T T ...
Страница 606: ...SECTION CONTENTS B 2 BENCHMARK PROGRAMS MOTOROLA SECTION B 1 INTRODUCTION 3 SECTION B 2 BENCHMARK PROGRAMS 3 ...
Страница 609: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 5 ...
Страница 611: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 7 ...
Страница 613: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 9 ...
Страница 615: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 11 ...