diff options
author | 2001-07-05 09:44:18 +0000 | |
---|---|---|
committer | 2001-07-05 09:44:18 +0000 | |
commit | 124de950d60f8f698817d3e33a8a1853c9d941e5 (patch) | |
tree | 733856c47bc9f35547c120e62d93f07e26b1eebb /mp3lib/decode_MMX.s | |
parent | 225aeb5d3114eeafe85b03e535dc7b0153aff535 (diff) |
Slight otimization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1278 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decode_MMX.s')
-rw-r--r-- | mp3lib/decode_MMX.s | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/mp3lib/decode_MMX.s b/mp3lib/decode_MMX.s index cdcd893fa6..5665597374 100644 --- a/mp3lib/decode_MMX.s +++ b/mp3lib/decode_MMX.s @@ -48,46 +48,48 @@ costab_mmx: .text .globl synth_1to1_MMX_s - +/* + void synth_1to1_MMX_s(real *bandPtr, int channel, short *samples, + short *buffs, int *bo); +*/ synth_1to1_MMX_s: pushl %ebp pushl %edi pushl %esi pushl %ebx - movl 24(%esp),%ecx - movl 28(%esp),%edi + movl 24(%esp),%ecx + movl 28(%esp),%edi movl $15,%ebx - movl 36(%esp),%edx + movl 36(%esp),%edx leal (%edi,%ecx,2),%edi decl %ecx - movl 32(%esp),%esi - movl (%edx),%eax + movl 32(%esp),%esi + movl (%edx),%eax jecxz .L1 decl %eax - andl %ebx,%eax - leal 1088(%esi),%esi - movl %eax,(%edx) + andl %ebx,%eax + leal 1088(%esi),%esi + movl %eax,(%edx) .L1: - leal (%esi,%eax,2),%edx - movl %eax,%ebp - incl %eax - pushl 20(%esp) - andl %ebx,%eax - leal 544(%esi,%eax,2),%ecx - incl %ebx + leal (%esi,%eax,2),%edx + movl %eax,%ebp + incl %eax + pushl 20(%esp) + andl %ebx,%eax + leal 544(%esi,%eax,2),%ecx + incl %ebx testl $1, %eax - jnz .L2 + jnz .L2 xchgl %edx,%ecx incl %ebp - leal 544(%esi),%esi + leal 544(%esi),%esi .L2: emms pushl %edx pushl %ecx call *dct64_MMX_func - addl $12,%esp leal 1(%ebx), %ecx - subl %ebp,%ebx + subl %ebp,%ebx pushl %ecx leal decwins(%ebx,%ebx,1), %edx shrl $1, %ecx @@ -248,5 +250,3 @@ synth_1to1_MMX_s: popl %edi popl %ebp ret - - |