roll back the unrolled loop
This commit is contained in:
parent
b224440a64
commit
56eba71d80
@ -63,48 +63,6 @@ FLAC__lpc_compute_autocorrelation_asm:
|
||||
xor eax, eax ; eax == i-lag
|
||||
fldz ; ST = d <- 0.0
|
||||
.inner_loop:
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
fmul qword [esi + eax * 8] ; ST = data[i]*data[i-lag] d
|
||||
faddp st1 ; d += data[i]*data[i-lag] ST = d
|
||||
inc eax
|
||||
inc ebx
|
||||
cmp ebx, ecx
|
||||
jae short .inner_end
|
||||
fld qword [esi + ebx * 8] ; ST = data[i] d
|
||||
|
Loading…
Reference in New Issue
Block a user