BENCHMARK PROGRAMS
B - 22
BENCHMARK PROGRAMS
MOTOROLA
sub
y0,a
;k-bergtabl[j]
move
b,x1
;save b, x1=i
move
r0,y0
;y0=j=i+i
add
y0,b
;b=j+i
move
b,r0
;r0=j+i
nop
move
a,x:(r0+n0)
;store bergtabl[j+i]
add
x1,b
;b=j+i+i
move
b,x0
;save b
move
x1,b
;recover b=i
jmp
_star
_loop
move
y1,a
;recover a
_endl
move
#>offset,a
;offset is the location of output data or twiddle
move
#bergtable,r0
do #points,_add_offset
move
x:(r0),B
add
A,B
move
B,x:(r0)+
_add_offset
endm ;end of sincos macro
;convert normal order to berglang order
norm2berg
macro points,bergtable,twiddle
;points is actual size of table to be converting
move
#bergtable,r0
;r0=pointer of bergland table
move
#twiddle,r2
;r2=twiddle pointer for X
move r2,r6
;r6=twiddle pointer for Y
do
#points,data_temp
move
x:(r0)+,r3
;get index
move
r3,r7
move
x:(r3),a
move
y:(r7),b
;get value
move
a,x:(r2)+ b,y:(r6)+
;write back
data_temp
endm
; Real-Valued FFT for MOTOROLA DSP56000/1/2
;
; based on Glenn Bergland’s algorithm
;
; ______________________________
rifft macro points,binlogsz,idata,odata,twiddle,bergtable
move
#idata,r0
;r0 = ptr to a
move
#points/4,n0
;bflys in ea group, half at ea pass
Summary of Contents for DSP56K
Page 12: ...xii LIST of TABLES MOTOROLA List of Tables Continued Table Page Number Title Number ...
Page 13: ...MOTOROLA DSP56K FAMILY INTRODUCTION 1 1 SECTION 1 DSP56K FAMILY INTRODUCTION ...
Page 31: ...MOTOROLA DATA ARITHMETIC LOGIC UNIT 3 1 SECTION 3 DATA ARITHMETIC LOGIC UNIT ...
Page 50: ...DATA ALU SUMMARY 3 20 DATA ARITHMETIC LOGIC UNIT MOTOROLA ...
Page 51: ...MOTOROLA ADDRESS GENERATION UNIT 4 1 SECTION 4 ADDRESS GENERATION UNIT ...
Page 77: ...MOTOROLA PROGRAM CONTROL UNIT 5 1 SECTION 5 PROGRAM CONTROL UNIT ...
Page 124: ...INSTRUCTION GROUPS 6 30 INSTRUCTION SET INTRODUCTION MOTOROLA ...
Page 125: ...MOTOROLA PROCESSING STATES 7 1 SECTION 7 PROCESSING STATES STOP WAIT EXCEPTION NORMAL RESET ...
Page 167: ...STOP PROCESSING STATE MOTOROLA PROCESSING STATES 7 43 ...
Page 168: ...STOP PROCESSING STATE 7 44 PROCESSING STATES MOTOROLA ...
Page 169: ...MOTOROLA PORT A 8 1 SECTION 8 PORT A ...
Page 176: ...PORT A INTERFACE 8 8 PORT A MOTOROLA ...
Page 177: ...MOTOROLA PLL CLOCK OSCILLATOR 9 1 SECTION 9 PLL CLOCK OSCILLATOR x x d Φ VCO ...
Page 191: ...10 2 ON CHIP EMULATION OnCE MOTOROLA SECTION 10 ON CHIP EMULATION OnCE ...
Page 218: ...USING THE OnCE MOTOROLA ON CHIP EMULATION OnCE 10 29 ...
Page 604: ...INSTRUCTION ENCODING A 338 INSTRUCTION SET DETAILS MOTOROLA ...
Page 605: ...MOTOROLA BENCHMARK PROGRAMS B 1 APPENDIX B BENCHMARK PROGRAMS T T T T T P1 P3 P2 P4 T T T ...
Page 609: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 5 ...
Page 611: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 7 ...
Page 613: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 9 ...
Page 615: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 11 ...