cgiparse.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:10k
- ;******************************************************************************
- ;* TMS320C6x C/C++ Codegen PC Version 4.36 *
- ;* Date/Time created: Wed Mar 22 15:36:28 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
- ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2944_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2944_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/
- .sect ".text"
- .global _cgiParseVars
- ;******************************************************************************
- ;* FUNCTION NAME: _cgiParseVars *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14, *
- ;* A15,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12, *
- ;* 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,A12,A13,A14, *
- ;* A15,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12, *
- ;* 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 + 8 Auto + 40 Save = 48 byte *
- ;******************************************************************************
- _cgiParseVars:
- ;** --------------------------------------------------------------------------*
- STW .D2T2 B12,*SP--(48) ; |25|
- || MV .D1X SP,A31 ; |25|
- STDW .D2T2 B11:B10,*+SP(40)
- || MV .S2 B4,B12 ; |25|
- LDW .D2T2 *B12,B10 ; |35|
- STDW .D1T1 A13:A12,*-A31(24)
- STDW .D1T1 A11:A10,*-A31(32)
- STDW .D1T1 A15:A14,*-A31(16)
- STW .D2T2 B13,*+SP(12)
- MV .D1X B10,A0 ; |40|
- [!A0] BNOP .S1 L1,1 ; |38|
- ZERO .S1 A12 ; |37|
- ZERO .S2 B11 ; |39|
- CMPEQ .L2 B10,-1,B0 ; |40|
- STB .D2T1 A12,*+SP(10) ; |37|
- || MV .S2 B3,B13
- || MV .D1 A4,A11 ; |25|
- ; BRANCH OCCURS ; |38|
- ;** --------------------------------------------------------------------------*
- [ B0] BNOP .S1 L7,4 ; |41|
- ZERO .S1 A4 ; |41|
- || [ B0] MV .D1X SP,A31 ; |74|
- ; BRANCH OCCURS ; |41|
- ;** --------------------------------------------------------------------------*
- ADD .D2 1,B10,B10 ; |43|
- || ADD .S2 1,B10,B11 ; |43|
- ;** --------------------------------------------------------------------------*
- L1:
- ADD .D1X B10,A11,A10 ; |46|
- LDB .D1T1 *A10,A0 ; |46|
- NOP 1
- MVK .S1 61,A3 ; |46|
- MVK .S1 0x3d,A15 ; |46|
- MV .D1X B10,A13 ; |45|
- CMPEQ .L1 A0,A3,A1 ; |46|
- [ A1] BNOP .S1 L6,5 ; |46|
- ; BRANCH OCCURS ; |46|
- ;** --------------------------------------------------------------------------*
- CMPEQ .L2X A0,0,B4 ; |60|
- || MVK .S1 0x26,A3
- CMPEQ .L1 A0,A3,A3 ; |60|
- OR .D1X B4,A3,A1 ; |60|
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;* Disqualified loop: Loop contains control code
- ;*----------------------------------------------------------------------------*
- L2:
- [ A1] BNOP .S1 L6,3 ; |60|
- [!A1] MVK .S1 43,A3 ; |48|
- [!A1] CMPEQ .L1 A0,A3,A1 ; |48|
- ; BRANCH OCCURS ; |60|
- ;** --------------------------------------------------------------------------*
- [ A1] B .S1 L4 ; |48|
- ADD .D1X B11,A11,A14
- || [!A1] MVK .S1 37,A3 ; |50|
- [ A1] MVK .S1 32,A3 ; |49|
- [ A1] STB .D1T1 A3,*A14 ; |49|
- || [ A1] ADD .D2 1,B11,B11 ; |49|
- [ A1] LDB .D1T1 *++A10,A0 ; |59|
- || [!A1] CMPEQ .L1 A0,A3,A1 ; |50|
- NOP 1
- ; BRANCH OCCURS ; |48|
- ;** --------------------------------------------------------------------------*
- [!A1] BNOP .S1 L3,2 ; |58|
- [!A1] STB .D1T1 A0,*A14 ; |58|
- || [!A1] ADD .D2 1,B11,B11 ; |58|
- || [ A1] MVKL .S2 _strtol,B5 ; |54|
- || [ A1] ADD .S1 1,A10,A10 ; |52|
- [ A1] MVKH .S2 _strtol,B5 ; |54|
- || [ A1] LDB .D1T1 *A10++,A3 ; |52|
- [!A1] LDB .D1T1 *++A10,A0 ; |59|
- ; BRANCH OCCURS ; |58|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |54|
- || LDB .D1T1 *A10,A4 ; |53|
- ADDKPC .S2 RL0,B3,0 ; |54|
- MVK .S1 0x10,A6 ; |54|
- ZERO .L2 B4 ; |54|
- STB .D2T1 A3,*+SP(8) ; |52|
- ADD .D1X 8,SP,A4 ; |54|
- || STB .D2T1 A4,*+SP(9) ; |53|
- RL0: ; CALL OCCURS ; |54|
- B .S1 L5 ; |56|
- STB .D1T1 A4,*A14 ; |55|
- || ADD .S2 2,B10,B10 ; |52|
- || ADD .D2 1,B11,B11 ; |49|
- LDB .D1T1 *++A10,A0 ; |59|
- NOP 3
- ; BRANCH OCCURS ; |56|
- ;** --------------------------------------------------------------------------*
- L3:
- NOP 1
- ;** --------------------------------------------------------------------------*
- L4:
- NOP 2
- ;** --------------------------------------------------------------------------*
- L5:
- ADD .D2 1,B10,B10 ; |59|
- CMPEQ .L1 A0,A15,A1 ; |59|
- [!A1] BNOP .S1 L2,2 ; |59|
- [!A1] CMPEQ .L2X A0,0,B4 ; |60|
- || [!A1] MVK .S1 0x26,A3
- [!A1] CMPEQ .L1 A0,A3,A3 ; |60|
- [!A1] OR .D1X B4,A3,A1 ; |60|
- ; BRANCH OCCURS ; |59|
- ;** --------------------------------------------------------------------------*
- L6:
- [!A0] MVK .D2 0xffffffff,B4 ; |64|
- [!A0] MV .D2 B4,B10
- || ADD .D1X B11,A11,A3
- STW .D2T2 B10,*B12 ; |70|
- || STB .D1T1 A12,*A3 ; |67|
- || ADD .S1 A11,A13,A4 ; |73|
- MV .D1X SP,A31 ; |74|
- ;** --------------------------------------------------------------------------*
- L7:
- LDDW .D1T1 *+A31(16),A11:A10 ; |74|
- || LDDW .D2T2 *+SP(40),B11:B10 ; |74|
- || MV .S2 B13,B3 ; |74|
- RET .S2 B3 ; |74|
- || LDDW .D1T1 *+A31(24),A13:A12 ; |74|
- || LDW .D2T2 *+SP(12),B13 ; |74|
- LDW .D2T2 *++SP(48),B12 ; |74|
- || LDDW .D1T1 *+A31(32),A15:A14 ; |74|
- NOP 4
- ; BRANCH OCCURS ; |74|
- ;******************************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;******************************************************************************
- .global _strtol