mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add lag checking code to SSE autocorrelation routine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user