celljpegdec_ti.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:11k
- ;******************************************************************************
- ;* TMS320C6x C/C++ Codegen PC Version 4.36 *
- ;* Date/Time created: Wed Mar 22 15:36:18 2006 *
- ;******************************************************************************
- ;******************************************************************************
- ;* GLOBAL FILE PARAMETERS *
- ;* *
- ;* Architecture : TMS320C64xx *
- ;* 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 : Enabled *
- ;* Memory Aliases : Presume not aliases (optimistic) *
- ;* Debug Info : No Debug Info *
- ;* *
- ;******************************************************************************
- .asg A15, FP
- .asg B14, DP
- .asg B15, SP
- .global $bss
- .sect ".cinit"
- .align 8
- .field IR_1,32
- .field _JPEGDEC_CELLFXNS+0,32
- .field _JPEGDEC_cellClose,32 ; _JPEGDEC_CELLFXNS._cellClose @ 0
- .field 0,32 ; _JPEGDEC_CELLFXNS._cellControl @ 32
- .field _JPEGDEC_cellExecute,32 ; _JPEGDEC_CELLFXNS._cellExecute @ 64
- .field _JPEGDEC_cellOpen,32 ; _JPEGDEC_CELLFXNS._cellOpen @ 96
- IR_1: .set 16
- .sect ".text"
- .global _JPEGDEC_CELLFXNS
- _JPEGDEC_CELLFXNS: .usect ".far",16,4
- ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI1076_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI1076_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/
- .sect ".text"
- .global _JPEGDEC_cellOpen
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGDEC_cellOpen *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 0 Auto + 4 Save = 4 byte *
- ;******************************************************************************
- _JPEGDEC_cellOpen:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _DMAN_addAlg,A3 ; |98|
- MVKH .S1 _DMAN_addAlg,A3 ; |98|
- LDW .D1T1 *+A4(24),A4 ; |98|
- CALLRET .S2X A3 ; |98|
- NOP 3
- MVKL .S2 _JPEGDEC_IDMA2,B4 ; |98|
- MVKH .S2 _JPEGDEC_IDMA2,B4 ; |98|
- RL0: ; CALL OCCURS ; |99| ; bypass _JPEGDEC_cellOpen upon return
- .sect ".text"
- .global _JPEGDEC_cellClose
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGDEC_cellClose *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,*
- ;* A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20,B21, *
- ;* B22,B23,B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 0 Auto + 4 Save = 4 byte *
- ;******************************************************************************
- _JPEGDEC_cellClose:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _DMAN_removeAlg,A3 ; |52|
- MVKH .S1 _DMAN_removeAlg,A3 ; |52|
- LDW .D1T1 *+A4(24),A4 ; |52|
- CALLRET .S2X A3 ; |52|
- NOP 3
- MVKL .S2 _JPEGDEC_IDMA2,B4 ; |52|
- MVKH .S2 _JPEGDEC_IDMA2,B4 ; |52|
- RL1: ; CALL OCCURS ; |53| ; bypass _JPEGDEC_cellClose upon return
- .sect ".text"
- .global _JPEGDEC_cellExecute
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGDEC_cellExecute *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,B0,B1,B2,B3,B4,*
- ;* B5,B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19, *
- ;* A20,A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31, *
- ;* B16,B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27, *
- ;* B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,B0,B1,B2,B3,B4,*
- ;* B5,B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19, *
- ;* A20,A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31, *
- ;* B16,B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27, *
- ;* B28,B29,B30,B31 *
- ;* Local Frame Size : 0 Args + 0 Auto + 20 Save = 20 byte *
- ;******************************************************************************
- _JPEGDEC_cellExecute:
- ;** --------------------------------------------------------------------------*
- MV .D1 A4,A11 ; |62|
- || STW .D2T1 A11,*SP--(24) ; |62|
- || MV .S1X SP,A31 ; |62|
- LDW .D1T1 *+A11(32),A3 ; |64|
- STW .D1T1 A10,*-A31(16)
- STDW .D2T2 B11:B10,*+SP(16)
- STW .D2T2 B13,*+SP(12)
- MV .L2 B3,B13
- LDW .D1T1 *A3,A5 ; |64|
- MVKL .S1 _UTL_stsStartFunc,A3
- MVKH .S1 _UTL_stsStartFunc,A3
- MVKL .S2 _utlstsExeTimeChJpegDec,B10
- CALL .S2X A3
- LDW .D1T1 *A5,A10 ; |64|
- MVKH .S2 _utlstsExeTimeChJpegDec,B10
- ADDKPC .S2 RL2,B3,1
- MV .D1X B10,A4
- RL2: ; CALL OCCURS
- MVKL .S1 _ALGRF_activate,A3 ; |69|
- MVKH .S1 _ALGRF_activate,A3 ; |69|
- LDW .D1T1 *+A11(24),A4 ; |69|
- CALL .S2X A3 ; |69|
- ADDKPC .S2 RL3,B3,4 ; |69|
- RL3: ; CALL OCCURS ; |69|
- LDW .D1T2 *+A11(16),B5 ; |73|
- LDW .D1T2 *+A11(40),B4 ; |73|
- NOP 1
- LDW .D1T1 *+A11(24),A4 ; |73|
- ADD .S1 4,A10,A3 ; |64|
- LDW .D2T2 *+B5(40),B5 ; |73|
- LDW .D2T2 *B4,B4 ; |73|
- NOP 3
- CALL .S2 B5 ; |73|
- LDW .D1T2 *A3,B4 ; |73|
- || LDW .D2T1 *B4,A6 ; |73|
- ADDKPC .S2 RL4,B3,3 ; |73|
- RL4: ; CALL OCCURS ; |73|
- CMPLT .L1 A4,0,A0 ; |73|
- [ A0] BNOP .S1 L1,1 ; |73|
- MVKL .S2 _ALGRF_deactivate,B4 ; |84|
- MVKH .S2 _ALGRF_deactivate,B4 ; |84|
- MVKL .S2 _UTL_stsStopFunc,B11
- MVKH .S2 _UTL_stsStopFunc,B11
- || MVK .D1 0x1,A10 ; |88|
- ; BRANCH OCCURS ; |73|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B4 ; |84|
- LDW .D1T1 *+A11(24),A4 ; |84|
- ADDKPC .S2 RL5,B3,3 ; |84|
- RL5: ; CALL OCCURS ; |84|
- CALL .S2 B11
- ADDKPC .S2 RL6,B3,3
- MV .D1X B10,A4
- RL6: ; CALL OCCURS
- BNOP .S1 L2,4 ; |88|
- MV .D1X SP,A31 ; |89|
- || MV .S2 B13,B3 ; |89|
- || LDDW .D2T2 *+SP(16),B11:B10 ; |89|
- ; BRANCH OCCURS ; |88|
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;* Disqualified loop: Loop contains a call to asm()
- ;*----------------------------------------------------------------------------*
- L1:
- NOP
- .word 0x10000000
- BNOP .S1 L1,5 ; |81|
- ; BRANCH OCCURS ; |81|
- ;** --------------------------------------------------------------------------*
- L2:
- RET .S2 B3 ; |89|
- || LDW .D1T1 *+A31(8),A10 ; |89|
- || LDW .D2T2 *+SP(12),B13 ; |89|
- || MV .S1 A10,A4 ; |81|
- LDW .D2T1 *++SP(24),A11 ; |89|
- NOP 4
- ; BRANCH OCCURS ; |89|
- ;******************************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;******************************************************************************
- .global _ALGRF_activate
- .global _ALGRF_deactivate
- .global _UTL_stsStartFunc
- .global _UTL_stsStopFunc
- .global _DMAN_addAlg
- .global _DMAN_removeAlg
- .global _JPEGDEC_IDMA2
- .global _utlstsExeTimeChJpegDec