diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-03-13 06:35:03 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2007-03-13 06:35:03 +0000 |
commit | 1b44f7ecfa511a81635bc22265db96a0bdde3c9a (patch) | |
tree | f74fecfc00e75def56a40336a9c45086fc050ce7 /src/libFLAC/ia32 | |
parent | 55e2f0b6617e996597d9bb2d0d4c21f9b92f0e35 (diff) | |
download | flac-1b44f7ecfa511a81635bc22265db96a0bdde3c9a.tar.gz |
minor comments
Diffstat (limited to 'src/libFLAC/ia32')
-rw-r--r-- | src/libFLAC/ia32/lpc_asm.nasm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/libFLAC/ia32/lpc_asm.nasm b/src/libFLAC/ia32/lpc_asm.nasm index 47443674..8e8810b5 100644 --- a/src/libFLAC/ia32/lpc_asm.nasm +++ b/src/libFLAC/ia32/lpc_asm.nasm @@ -615,7 +615,7 @@ cident FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_12 .end: ret - align 16 + ALIGN 16 cident FLAC__lpc_compute_autocorrelation_asm_ia32_3dnow ;[ebp + 32] autoc ;[ebp + 28] lag @@ -653,7 +653,7 @@ cident FLAC__lpc_compute_autocorrelation_asm_ia32_3dnow cmp esi, ecx mov eax, esi ja short .loop2_pre - align 16 ;4 nops + ALIGN 16 ;4 nops .loop1_i: movd mm0, [eax] movd mm2, [eax + 4] @@ -664,7 +664,7 @@ cident FLAC__lpc_compute_autocorrelation_asm_ia32_3dnow punpckldq mm2, mm2 punpckldq mm4, mm4 punpckldq mm6, mm6 - align 16 ;3 nops + ALIGN 16 ;3 nops .loop1_j: sub ebx, byte 2 movd mm1, [eax + 4 * ebx] @@ -957,8 +957,9 @@ cident FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32 ret ; WATCHOUT: this routine works on 16 bit data which means bits-per-sample for -; the channel must be <= 16. Especially note that this routine cannot be used -; for side-channel coded 16bps channels since the effective bps is 17. +; the channel and qlp_coeffs must be <= 16. Especially note that this routine +; cannot be used for side-channel coded 16bps channels since the effective bps +; is 17. ALIGN 16 cident FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx ;[esp + 40] residual[] @@ -1020,7 +1021,7 @@ cident FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx cmp eax, byte 4 jnbe short .mmx_4more - align 16 + ALIGN 16 .mmx_4_loop_i: movd mm1, [esi] movq mm3, mm4 @@ -1059,7 +1060,7 @@ cident FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx neg eax add eax, byte 16 - align 16 + ALIGN 16 .mmx_4more_loop_i: movd mm1, [esi] punpckldq mm1, [esi + 4] @@ -1081,7 +1082,7 @@ cident FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx add ecx, eax mov edx, esp - align 16 + ALIGN 16 .mmx_4more_loop_j: movd mm0, [ecx - 16] movd mm7, [ecx - 8] @@ -1359,8 +1360,9 @@ cident FLAC__lpc_restore_signal_asm_ia32 ret ; WATCHOUT: this routine works on 16 bit data which means bits-per-sample for -; the channel must be <= 16. Especially note that this routine cannot be used -; for side-channel coded 16bps channels since the effective bps is 17. +; the channel and qlp_coeffs must be <= 16. Especially note that this routine +; cannot be used for side-channel coded 16bps channels since the effective bps +; is 17. ; WATCHOUT: this routine requires that each data array have a buffer of up to ; 3 zeroes in front (at negative indices) for alignment purposes, i.e. for each ; channel n, data[n][-1] through data[n][-3] should be accessible and zero. @@ -1424,7 +1426,7 @@ cident FLAC__lpc_restore_signal_asm_ia32_mmx cmp eax, byte 4 jnbe short .mmx_4more - align 16 + ALIGN 16 .mmx_4_loop_i: movq mm7, mm4 pmaddwd mm7, mm5 @@ -1449,7 +1451,7 @@ cident FLAC__lpc_restore_signal_asm_ia32_mmx shl eax, 2 neg eax add eax, byte 16 - align 16 + ALIGN 16 .mmx_4more_loop_i: mov ecx, edi add ecx, eax @@ -1458,7 +1460,7 @@ cident FLAC__lpc_restore_signal_asm_ia32_mmx movq mm7, mm4 pmaddwd mm7, mm5 - align 16 + ALIGN 16 .mmx_4more_loop_j: movd mm0, [ecx - 16] punpckldq mm0, [ecx - 12] |