celljpegenc_ti.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:12k
- ;******************************************************************************
- ;* TMS320C6x C/C++ Codegen PC Version 4.36 *
- ;* Date/Time created: Wed Mar 22 15:36:19 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 _JPEGENC_CELLFXNS+0,32
- .field _JPEGENC_cellClose,32 ; _JPEGENC_CELLFXNS._cellClose @ 0
- .field _JPEGENC_cellControl,32 ; _JPEGENC_CELLFXNS._cellControl @ 32
- .field _JPEGENC_cellExecute,32 ; _JPEGENC_CELLFXNS._cellExecute @ 64
- .field _JPEGENC_cellOpen,32 ; _JPEGENC_CELLFXNS._cellOpen @ 96
- IR_1: .set 16
- .sect ".text"
- .global _JPEGENC_CELLFXNS
- _JPEGENC_CELLFXNS: .usect ".far",16,4
- ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2332_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2332_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/
- .sect ".text"
- .global _JPEGENC_cellOpen
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGENC_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 *
- ;******************************************************************************
- _JPEGENC_cellOpen:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _DMAN_addAlg,A3 ; |91|
- MVKH .S1 _DMAN_addAlg,A3 ; |91|
- LDW .D1T1 *+A4(24),A4 ; |91|
- CALLRET .S2X A3 ; |91|
- NOP 3
- MVKL .S2 _JPEGENC_IDMA2,B4 ; |91|
- MVKH .S2 _JPEGENC_IDMA2,B4 ; |91|
- RL0: ; CALL OCCURS ; |93| ; bypass _JPEGENC_cellOpen upon return
- .sect ".text"
- .global _JPEGENC_cellControl
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGENC_cellControl *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,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,B0,B1,B2,B3,B4,B5,B6, *
- ;* B7,B8,B9,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 + 4 Save = 4 byte *
- ;******************************************************************************
- _JPEGENC_cellControl:
- ;** --------------------------------------------------------------------------*
- MVKL .S2 _JPEGENC_TI_control,B5 ; |105|
- MVKH .S2 _JPEGENC_TI_control,B5 ; |105|
- CALL .S2 B5 ; |105|
- LDW .D1T1 *+A4(24),A4 ; |105|
- STW .D2T2 B3,*SP--(8) ; |101|
- ADDKPC .S2 RL1,B3,2 ; |105|
- RL1: ; CALL OCCURS ; |105|
- LDW .D2T2 *++SP(8),B3 ; |114|
- NOP 3
- EXTU .S1 A4,16,16,A4 ; |105|
- RETNOP .S2 B3,5 ; |114|
- ; BRANCH OCCURS ; |114|
- .sect ".text"
- .global _JPEGENC_cellClose
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGENC_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 *
- ;******************************************************************************
- _JPEGENC_cellClose:
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _DMAN_removeAlg,A3 ; |47|
- MVKH .S1 _DMAN_removeAlg,A3 ; |47|
- LDW .D1T1 *+A4(24),A4 ; |47|
- CALLRET .S2X A3 ; |47|
- NOP 3
- MVKL .S2 _JPEGENC_IDMA2,B4 ; |47|
- MVKH .S2 _JPEGENC_IDMA2,B4 ; |47|
- RL2: ; CALL OCCURS ; |49| ; bypass _JPEGENC_cellClose upon return
- .sect ".text"
- .global _JPEGENC_cellExecute
- ;******************************************************************************
- ;* FUNCTION NAME: _JPEGENC_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,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,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 + 16 Save = 16 byte *
- ;******************************************************************************
- _JPEGENC_cellExecute:
- ;** --------------------------------------------------------------------------*
- STW .D2T2 B10,*SP--(16) ; |56|
- MV .D1 A4,A10 ; |56|
- || STDW .D2T1 A11:A10,*+SP(8) ; |56|
- LDW .D1T1 *+A10(40),A3 ; |58|
- NOP 2
- STW .D2T2 B13,*+SP(4) ; |56|
- MV .L2 B3,B13 ; |56|
- LDW .D1T1 *A3,A5 ; |58|
- MVKL .S1 _UTL_stsStartFunc,A3
- MVKH .S1 _UTL_stsStartFunc,A3
- MVKL .S2 _utlstsExeTimeChJpegEnc,B10
- CALL .S2X A3
- LDW .D1T1 *A5,A11 ; |58|
- MVKH .S2 _utlstsExeTimeChJpegEnc,B10
- ADDKPC .S2 RL3,B3,1
- MV .D1X B10,A4
- RL3: ; CALL OCCURS
- MVKL .S2 _ALGRF_activate,B4 ; |63|
- MVKH .S2 _ALGRF_activate,B4 ; |63|
- CALL .S2 B4 ; |63|
- LDW .D1T1 *+A10(24),A4 ; |63|
- ADDKPC .S2 RL4,B3,3 ; |63|
- RL4: ; CALL OCCURS ; |63|
- LDW .D1T2 *+A10(32),B5 ; |66|
- LDW .D1T2 *+A10(16),B4 ; |66|
- NOP 1
- LDW .D1T1 *+A11(4),A6 ; |66|
- LDW .D1T1 *+A10(24),A4 ; |66|
- LDW .D2T2 *B5,B6 ; |66|
- LDW .D2T2 *+B4(40),B5 ; |66|
- NOP 4
- CALL .S2 B5 ; |66|
- LDW .D2T2 *B6,B4 ; |66|
- ADDKPC .S2 RL5,B3,3 ; |66|
- RL5: ; CALL OCCURS ; |66|
- LDW .D1T1 *A11,A5 ; |73|
- NOP 1
- MVKL .S1 _ALGRF_deactivate,A3 ; |76|
- MVKH .S1 _ALGRF_deactivate,A3 ; |76|
- NOP 1
- STW .D1T1 A4,*A5 ; |73|
- || CALL .S2X A3 ; |76|
- LDW .D1T1 *+A10(24),A4 ; |76|
- ADDKPC .S2 RL6,B3,3 ; |76|
- RL6: ; CALL OCCURS ; |76|
- MVKL .S1 _UTL_stsStopFunc,A3
- MVKH .S1 _UTL_stsStopFunc,A3
- MV .D1X B10,A4
- CALL .S2X A3
- ADDKPC .S2 RL7,B3,4
- RL7: ; CALL OCCURS
- LDW .D2T2 *+SP(4),B13 ; |81|
- || MV .S2 B13,B3 ; |81|
- RET .S2 B3 ; |81|
- || LDDW .D2T1 *+SP(8),A11:A10 ; |81|
- LDW .D2T2 *++SP(16),B10 ; |81|
- NOP 3
- MVK .D1 0x1,A4 ; |80|
- ; BRANCH OCCURS ; |81|
- ;******************************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;******************************************************************************
- .global _ALGRF_activate
- .global _ALGRF_deactivate
- .global _UTL_stsStartFunc
- .global _UTL_stsStopFunc
- .global _DMAN_addAlg
- .global _DMAN_removeAlg
- .global _JPEGENC_TI_control
- .global _JPEGENC_IDMA2
- .global _utlstsExeTimeChJpegEnc