?? gather.lst
字號:
;******************************************************************************
;* TMS320C6x ANSI C Codegen Version 4.00 *
;* Date/Time created: Fri Jun 22 21:46:26 2001 *
;******************************************************************************
;******************************************************************************
;* GLOBAL FILE PARAMETERS *
;* *
;* Architecture : TMS320C620x *
;* Optimization : Enabled at level 3 *
;* Optimizing for : Speed *
;* Based on options: -o3, no -ms *
;* Endian : Little *
;* Interrupt Thrshld : Disabled *
;* Memory Model : Large *
;* Calls to RTS : Far *
;* Pipelining : Enabled *
;* Speculative Load : Disabled *
;* Memory Aliases : Presume not aliases (optimistic) *
;* Debug Info : Debug *
;* *
;******************************************************************************
FP .set A15
DP .set B14
SP .set B15
.global $bss
; opt6x -q -p0 -t -O3 C:\WINDOWS\TEMP\TI397323_4 C:\WINDOWS\TEMP\TI397323_5
.file "gather.c"
.file "C:\ti\c6000\evm6x\dsp\include\pci.h"
.file "C:\ti\c6000\evm6x\dsp\include\board.h"
.file "gather.c"
.sect ".text"
.global _InitDrv
.sym _InitDrv,_InitDrv, 32, 2, 0
.func 20
;----------------------------------------------------------------------
; 20 | void InitDrv()
; 22 | // Driver Init;
;----------------------------------------------------------------------
;******************************************************************************
;* FUNCTION NAME: _InitDrv *
;* *
;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
;* B7,B8,B9,SP *
;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
;* B7,B8,B9,SP *
;* Local Frame Size : 0 Args + 0 Auto + 4 Save = 4 byte *
;******************************************************************************
_InitDrv:
;** --------------------------------------------------------------------------*
STW .D2T2 B3,*SP--(8) ; |20|
.line 4
;----------------------------------------------------------------------
; 23 | evm_init();
;----------------------------------------------------------------------
MVKL .S2 _evm_init,B4 ; |23|
MVKH .S2 _evm_init,B4 ; |23|
B .S2 B4 ; |23|
MVKL .S2 RL0,B3 ; |23|
MVKH .S2 RL0,B3 ; |23|
NOP 3
RL0: ; CALL OCCURS ; |23|
.line 5
;----------------------------------------------------------------------
; 24 | pci_driver_init();
;----------------------------------------------------------------------
MVKL .S1 _pci_driver_init,A0 ; |24|
MVKH .S1 _pci_driver_init,A0 ; |24|
B .S2X A0 ; |24|
MVKL .S2 RL1,B3 ; |24|
MVKH .S2 RL1,B3 ; |24|
NOP 3
RL1: ; CALL OCCURS ; |24|
.line 6
LDW .D2T2 *++SP(8),B3 ; |25|
NOP 4
B .S2 B3 ; |25|
NOP 5
; BRANCH OCCURS ; |25|
.endfunc 25,000080000h,8
.sect ".text"
.global _main
.sym _main,_main, 36, 2, 0
.func 27
;----------------------------------------------------------------------
; 27 | int main()
; 29 | unsigned int nMessage, i;
; 30 | unsigned int *pData;
; 32 | pData = (unsigned int *)SDRAM_ADDR;
;----------------------------------------------------------------------
;******************************************************************************
;* FUNCTION NAME: _main *
;* *
;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
;* B6,B7,B8,B9,SP *
;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
;* B6,B7,B8,B9,SP *
;* Local Frame Size : 0 Args + 4 Auto + 8 Save = 12 byte *
;******************************************************************************
_main:
;** --------------------------------------------------------------------------*
.sym _nMessage,4, 14, 1, 32
.sym _pData,10, 30, 4, 32
.sym L$1,20, 4, 4, 32
.sym U$12,0, 30, 4, 32
.sym K$9,3, 14, 4, 32
; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ENTERING InitDrv()
; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< LEAVING InitDrv()
STW .D2T2 B3,*SP--(16) ; |27|
STW .D2T1 A10,*+SP(12) ; |27|
.line 8
;----------------------------------------------------------------------
; 34 | InitDrv();
; 36 | while (TRUE)
;----------------------------------------------------------------------
MVKL .S2 _evm_init,B4 ; |34|
MVKH .S2 _evm_init,B4 ; |34|
B .S2 B4 ; |34|
MVKL .S2 RL2,B3 ; |34|
MVKH .S2 RL2,B3 ; |34|
NOP 3
RL2: ; CALL OCCURS ; |34|
MVKL .S1 _pci_driver_init,A0 ; |34|
MVKH .S1 _pci_driver_init,A0 ; |34|
B .S2X A0 ; |34|
MVKL .S2 RL3,B3 ; |34|
MVKH .S2 RL3,B3 ; |34|
NOP 3
RL3: ; CALL OCCURS ; |34|
.line 6
ZERO .L1 A10 ; |32|
MVKH .S1 0x2000000,A10 ; |32|
;** --------------------------------------------------------------------------*
;** BEGIN LOOP L1
;** --------------------------------------------------------------------------*
L1:
.line 12
;----------------------------------------------------------------------
; 38 | if (pci_message_sync_retrieve(&nMessage) == ERROR)
; 39 | return FALSE;
; 41 | // Begin Process Data
;----------------------------------------------------------------------
MVKL .S2 _pci_message_sync_retrieve,B4 ; |38|
MVKH .S2 _pci_message_sync_retrieve,B4 ; |38|
B .S2 B4 ; |38|
MVKL .S2 RL4,B3 ; |38|
MVKH .S2 RL4,B3 ; |38|
ADD .L1X 4,SP,A4 ;
NOP 2
RL4: ; CALL OCCURS ; |38|
CMPEQ .L1 A4,-1,A1 ;
[ A1] B .S1 L5 ; |38|
[!A1] MV .L1 A10,A0 ; |38|
[!A1] MVK .S1 0x1,A3 ; |38|
NOP 3
; BRANCH OCCURS ; |38|
;** --------------------------------------------------------------------------*
.line 16
;----------------------------------------------------------------------
; 42 | for (i = 0; i < DATA_LENGTH; i++)
; 44 | pData[i] = 1;
;----------------------------------------------------------------------
MVC .S2 CSR,B4
AND .L2 -2,B4,B5
MVC .S2 B5,CSR ; interrupts off
;*----------------------------------------------------------------------------*
;* SOFTWARE PIPELINE INFORMATION
;*
;* Known Minimum Trip Count : 1024
;* Known Maximum Trip Count : 1024
;* Known Max Trip Count Factor : 1024
;* Loop Carried Dependency Bound(^) : 0
;* Unpartitioned Resource Bound : 1
;* Partitioned Resource Bound(*) : 1
;* Resource Partition:
;* A-side B-side
;* .L units 0 0
;* .S units 1* 0
;* .D units 1* 0
;* .M units 0 0
;* .X cross paths 0 0
;* .T address paths 1* 0
;* Long read paths 1* 0
;* Long write paths 0 0
;* Logical ops (.LS) 0 0 (.L or .S unit)
;* Addition ops (.LSD) 0 1 (.L or .S or .D unit)
;* Bound(.L .S .LS) 1* 0
;* Bound(.L .S .D .LS .LSD) 1* 1*
;*
;* Searching for software pipeline schedule at ...
;* ii = 1 Schedule found with 7 iterations in parallel
;* done
;*
;* Epilog not entirely removed
;* Collapsed epilog stages : 1
;* Collapsed prolog stages : 0
;* Minimum required memory pad : 0 bytes
;*
;* Minimum safe trip count : 6
;*----------------------------------------------------------------------------*
L2: ; PIPED LOOP PROLOG
B .S1 L3 ; (P) |45|
B .S1 L3 ; (P) @|45|
B .S1 L3 ; (P) @@|45|
B .S1 L3 ; (P) @@@|45|
MVK .S2 1013,B0 ;
|| B .S1 L3 ; (P) @@@@|45|
;** --------------------------------------------------------------------------*
L3: ; PIPED LOOP KERNEL
STW .D1T1 A3,*A0++ ; |44|
|| [ B0] B .S1 L3 ; @@@@@|45|
|| [ B0] SUB .L2 B0,1,B0 ; @@@@@@|45|
;** --------------------------------------------------------------------------*
L4: ; PIPED LOOP EPILOG
;** --------------------------------------------------------------------------*
MVC .S2 B4,CSR ; interrupts on
|| STW .D1T1 A3,*A0++ ; (E) @@|44|
STW .D1T1 A3,*A0++ ; (E) @@@|44|
STW .D1T1 A3,*A0++ ; (E) @@@@|44|
STW .D1T1 A3,*A0++ ; (E) @@@@@|44|
STW .D1T1 A3,*A0++ ; (E) @@@@@@|44|
.line 21
;----------------------------------------------------------------------
; 47 | if (pci_message_send(nMessage) == ERROR)
;----------------------------------------------------------------------
LDW .D2T1 *+SP(4),A4 ; |47|
|| MVKL .S2 _pci_message_send,B4 ; |47|
MVKH .S2 _pci_message_send,B4 ; |47|
B .S2 B4 ; |47|
MVKL .S2 RL5,B3 ; |47|
MVKH .S2 RL5,B3 ; |47|
NOP 3
RL5: ; CALL OCCURS ; |47|
CMPEQ .L1 A4,-1,A1 ;
[!A1] B .S2 L1 ; |47|
NOP 5
; BRANCH OCCURS ; |47|
;** --------------------------------------------------------------------------*
L5:
.line 22
;----------------------------------------------------------------------
; 48 | return FALSE;
; 52 | return(TRUE);
;----------------------------------------------------------------------
ZERO .L1 A4 ; |48|
.line 27
LDW .D2T1 *+SP(12),A10 ; |53|
LDW .D2T2 *++SP(16),B3 ; |53|
NOP 4
B .S2 B3 ; |53|
NOP 5
; BRANCH OCCURS ; |53|
.endfunc 53,000080400h,16
;******************************************************************************
;* UNDEFINED EXTERNAL REFERENCES *
;******************************************************************************
.global _pci_driver_init
.global _pci_message_send
.global _pci_message_sync_retrieve
.global _evm_init
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -