⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 entry.asm

📁 g.729汇编手工优化
💻 ASM
字号:
;***************************************************************
;* TMS320C54x C/C++ Codegen                   PC Version 3.83  *
;* Date/Time created: Mon Aug 22 19:45:31 2005                 *
;***************************************************************
	.mmregs
FP	.set	AR7
	.c_mode
	.file	"ENTRY.c"
	.global	_bad_lsf
	.bss	_bad_lsf,1,0,0
	.sym	_bad_lsf,_bad_lsf, 3, 2, 16
;	d:\program files\ti\c5400\cgtools\bin\opt500.exe -i15 -q -O3 C:\DOCUME~1\ltd\LOCALS~1\Temp\TI280_2 C:\DOCUME~1\ltd\LOCALS~1\Temp\TI280_5 -w e:/ata_work_dir/g729a_v1.7_src/G729a_v1_7/Debug 

	.sect	".text"
	.global	_L_Comp
	.sym	_L_Comp,_L_Comp, 37, 2, 0
	.func	78

;***************************************************************
;* FUNCTION DEF: _L_Comp                                       *
;***************************************************************

;***************************************************************
;*                                                             *
;* Using -g (debug) with optimization (-o3) may disable key op *
;*                                                             *
;***************************************************************
_L_Comp:
	.line	2
;* A     assigned to _hi
	.sym	_hi,0, 3, 17, 16
	.sym	_lo,1, 3, 9, 16
;* T     assigned to _lo
	.sym	_lo,20, 3, 4, 16
;* A     assigned to _hi
	.sym	_hi,0, 3, 4, 16
        LD        *SP(1),T
	.line	6
        SSBX      SXM
        RSBX      OVM
        LD        *(AL),A               ; |83| 
        LD        #1,B
        SFTL      A,#15,A               ; |83| 
        SFTL      A,#1,A                ; |83| 
        SFTA      A,8                   ; |83| 
        SFTA      A,-8                  ; |83| 
        ORM       #2,*(PMST)
        SSBX      FRCT
        SSBX      OVM
        ORM       #2,*(PMST)
        MAC       *(BL), A              ; |83| 
	.line	7
        ANDM      #-833,*(ST1)          ; |83| 
        ANDM      #-4,*(PMST)           ; |83| 
        RET       ; |83| 
        ; return occurs ; |83| 
	.endfunc	84,000000000h,0



	.sect	".text"
	.global	_G729aDecoder_Init
	.sym	_G729aDecoder_Init,_G729aDecoder_Init, 32, 2, 0
	.func	40

;***************************************************************
;* FUNCTION DEF: _G729aDecoder_Init                            *
;***************************************************************

;***************************************************************
;*                                                             *
;* Using -g (debug) with optimization (-o3) may disable key op *
;*                                                             *
;***************************************************************
_G729aDecoder_Init:
	.line	2
        FRAME     #-1
	.line	5
        ST        #0,*(_bad_lsf)        ; |44| 
	.line	7
        CALL      #_Init_Decod_ld8a     ; |46| 
        ; call occurs [#_Init_Decod_ld8a] ; |46| 
	.line	8
        CALL      #_Init_Post_Filter    ; |47| 
        ; call occurs [#_Init_Post_Filter] ; |47| 
	.line	9
        CALL      #_Init_Post_Process   ; |48| 
        ; call occurs [#_Init_Post_Process] ; |48| 
	.line	10
        FRAME     #1
        RET
        ; return occurs
	.endfunc	49,000000000h,1



	.sect	".text"
	.global	_G729aDecoder
	.sym	_G729aDecoder,_G729aDecoder, 32, 2, 0
	.func	50

;***************************************************************
;* FUNCTION DEF: _G729aDecoder                                 *
;***************************************************************

;***************************************************************
;*                                                             *
;* Using -g (debug) with optimization (-o3) may disable key op *
;*                                                             *
;***************************************************************
_G729aDecoder:
	.line	2
;* A     assigned to _serial
	.sym	_serial,0, 19, 17, 16
	.sym	_speech,44, 19, 9, 16
;* BRC   assigned to L$1
;* BRC   assigned to L$2
;* A     assigned to L$2
;* A     assigned to L$1
;* AR1   assigned to U$11
;* AR3   assigned to U$31
;* AR2   assigned to U$33
;* AR6   assigned to _speech
	.sym	_speech,15, 19, 4, 16
;* AR1   assigned to _serial
	.sym	_serial,10, 19, 4, 16
	.sym	_parm,4, 51, 1, 192,, 12
	.sym	_Az_dec,16, 51, 1, 352,, 22
	.sym	_T2,38, 51, 1, 32,, 2
        PSHM      AR1
        PSHM      AR6
        FRAME     #-41
        NOP
        MVDK      *SP(44),*(AR6)
        STLM      A,AR1
	.line	9
        LDM       SP,A
        ADD       #5,A
        STL       A,*SP(0)
        LDM       AR1,A
        CALLD     #_bits2prm_ld8k       ; |58| 
        ADD       #2,A,A                ; |58| 
        ; call occurs [#_bits2prm_ld8k] ; |58| 
	.line	11
        STM       #79,BRC
        LDM       AR1,A
        ST        #0,*SP(4)             ; |60| 
        ADD       #2,A,A
        STLM      A,AR1
        RPTB      L3-1
        ; loop starts
L1:    
	.line	13
        LD        *AR1+,A               ; |62| 
        BC        L2,ANEQ               ; |62| 
        ; branch occurs ; |62| 
        ST        #1,*SP(4)             ; |62| 
L2:    
        NOP
        ; loop ends ; |62| 
L3:    
	.line	15
        LD        *SP(8),A
        STL       A,*SP(0)
        LD        *SP(7),A
        CALL      #_Check_Parity_Pitch  ; |64| 
        ; call occurs [#_Check_Parity_Pitch] ; |64| 
        STL       A,*SP(8)
	.line	16
        LDM       SP,A
        MVKD      *(_synth),*SP(0)      ; |65| 
        ADD       #16,A
        STL       A,*SP(1)
        LDM       SP,A
        ADD       #38,A
        STL       A,*SP(2)
        LDM       SP,A
        CALLD     #_Decod_ld8a          ; |65| 
        ADD       #4,A
        ; call occurs [#_Decod_ld8a] ; |65| 
	.line	17
        LDM       SP,A
        ADD       #16,A
        STL       A,*SP(0)
        LDM       SP,A
        ADD       #38,A
        STL       A,*SP(1)
        LD        *(_synth),A
        CALL      #_Post_Filter         ; |66| 
        ; call occurs [#_Post_Filter] ; |66| 
	.line	19
        LD        *(_synth),A
        ST        #80,*SP(0)            ; |68| 
        CALL      #_Post_Process        ; |68| 
        ; call occurs [#_Post_Process] ; |68| 
        MVDM      *(_synth),AR3
        MVMM      AR6,AR2
        RPT       #79
        ; loop starts
L4:    
	.line	22
        MVDD      *AR3+,*AR2+           ; |71| 
        ; loop ends ; |71| 
L5:    
	.line	23
        FRAME     #41
        POPM      AR6
        POPM      AR1
        RET
        ; return occurs
	.endfunc	72,000008400h,43



	.sect	".text"
	.global	_G729aCoder_Init
	.sym	_G729aCoder_Init,_G729aCoder_Init, 32, 2, 0
	.func	20

;***************************************************************
;* FUNCTION DEF: _G729aCoder_Init                              *
;***************************************************************

;***************************************************************
;*                                                             *
;* Using -g (debug) with optimization (-o3) may disable key op *
;*                                                             *
;***************************************************************
_G729aCoder_Init:
	.line	2
        FRAME     #-1
	.line	3
        CALL      #_Init_Pre_Process    ; |22| 
        ; call occurs [#_Init_Pre_Process] ; |22| 
	.line	4
        CALL      #_Init_Coder_ld8a     ; |23| 
        ; call occurs [#_Init_Coder_ld8a] ; |23| 
	.line	5
        FRAME     #1
        RET
        ; return occurs
	.endfunc	24,000000000h,1



	.sect	".text"
	.global	_G729aCoder
	.sym	_G729aCoder,_G729aCoder, 32, 2, 0
	.func	25

;***************************************************************
;* FUNCTION DEF: _G729aCoder                                   *
;***************************************************************

;***************************************************************
;*                                                             *
;* Using -g (debug) with optimization (-o3) may disable key op *
;*                                                             *
;***************************************************************
_G729aCoder:
	.line	2
;* A     assigned to _SpeechBuf
	.sym	_SpeechBuf,0, 19, 17, 16
	.sym	_serial,16, 19, 9, 16
;* BRC   assigned to L$1
;* A     assigned to L$1
;* AR2   assigned to U$4
;* AR3   assigned to U$7
;* AR1   assigned to _serial
	.sym	_serial,10, 19, 4, 16
;* A     assigned to _SpeechBuf
	.sym	_SpeechBuf,0, 19, 4, 16
	.sym	_prm,2, 51, 1, 176,, 11
        PSHM      AR1
        FRAME     #-14
        STLM      A,AR2
        MVDM      *(_new_speech),AR3
        MVDK      *SP(16),*(AR1)
        RPT       #79
        ; loop starts
L6:    
	.line	8
        MVDD      *AR2+,*AR3+           ; |32| 
        ; loop ends ; |32| 
L7:    
	.line	10
        ST        #11,*SP(0)            ; |34| 
        LDM       SP,A
        CALLD     #_Set_zero            ; |34| 
        ADD       #2,A
        ; call occurs [#_Set_zero] ; |34| 
	.line	12
        ST        #80,*SP(0)            ; |36| 
        LD        *(_new_speech),A
        CALL      #_Pre_Process         ; |36| 
        ; call occurs [#_Pre_Process] ; |36| 
	.line	13
        LDM       SP,A
        CALLD     #_Coder_ld8a          ; |37| 
        ADD       #2,A
        ; call occurs [#_Coder_ld8a] ; |37| 
	.line	14
        MVKD      *(AR1),*SP(0)
        LDM       SP,A
        CALLD     #_prm2bits_ld8k       ; |38| 
        ADD       #2,A
        ; call occurs [#_prm2bits_ld8k] ; |38| 
	.line	15
        FRAME     #14
        POPM      AR1
        RET
        ; return occurs
	.endfunc	39,000000400h,15


;***************************************************************
;* UNDEFINED EXTERNAL REFERENCES                               *
;***************************************************************
	.global	_Init_Pre_Process
	.global	_Init_Post_Process
	.global	_Pre_Process
	.global	_Post_Process
	.global	_Init_Coder_ld8a
	.global	_Coder_ld8a
	.global	_Init_Decod_ld8a
	.global	_Decod_ld8a
	.global	_Check_Parity_Pitch
	.global	_prm2bits_ld8k
	.global	_bits2prm_ld8k
	.global	_Init_Post_Filter
	.global	_Post_Filter
	.global	_Set_zero
	.global	_new_speech
	.global	_synth

;***************************************************************
;* TYPE INFORMATION                                            *
;***************************************************************
	.sym	_Word16, 0, 3, 13, 16
	.sym	_Word16, 0, 3, 13, 16
	.sym	_Word32, 0, 5, 13, 32

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -