add lag checking code to SSE autocorrelation routine

This commit is contained in:
Josh Coalson 2001-05-30 19:22:26 +00:00
parent eae9217472
commit d792791f48

View File

@ -62,6 +62,7 @@ cident FLAC__lpc_compute_autocorrelation_asm_i386
;[esp + 24] == data_len
;[esp + 20] == data[]
.begin:
push ebp
push ebx
push esi
@ -213,6 +214,9 @@ cident FLAC__lpc_compute_autocorrelation_asm_i386_sse
;[esp + 8] == data_len
;[esp + 4] == data[]
cmp [esp + 12], 8
jne near FLAC__lpc_compute_autocorrelation_asm_i386.begin
; for(coeff = 0; coeff < lag; coeff++)
; autoc[coeff] = 0.0;
xorps xmm6, xmm6