diff options
author | Greg Zharun <grygoriiz@wavesglobal.com> | 2015-04-16 12:18:31 +0300 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-21 10:49:00 -0400 |
commit | 17546f47b6927c21fe50ce5e784f2f4952d69473 (patch) | |
tree | 119bc6c30f74d3a5d3d568296e8fcdcf424c5447 /libs | |
parent | 8af992c449b895ec8be638049fd2510388f23ddd (diff) |
[Summary] Fixed bug in Ardour SSE assembler function. Wrong register was decreased in LP_SSE: block of float x86_sse_compute_peak function
[Details] This bug does not show up when buffers are 16 byte aligned, but when they are not - this bug will lead to crash.
I tested all these functions with non-aligned buffers as well as long they do handle the situation with unaligned buffers.
[To be reviewed by] Paul Davis
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/sse_functions_64bit_win.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sse_functions_64bit_win.s b/libs/ardour/sse_functions_64bit_win.s index 7a50c9aef5..78c50930c2 100644 --- a/libs/ardour/sse_functions_64bit_win.s +++ b/libs/ardour/sse_functions_64bit_win.s @@ -629,7 +629,7 @@ x86_sse_compute_peak: addq $16, %rdi - subq $4, %rdx #; nframes-=4 + subq $4, %rcx #; nframes-=4 decq %rax jnz .LP_SSE |