summaryrefslogtreecommitdiff
path: root/libs/ardour/sse_functions_64bit_win.s
diff options
context:
space:
mode:
authorGreg Zharun <grygoriiz@wavesglobal.com>2015-04-16 12:18:31 +0300
committerPaul Davis <paul@linuxaudiosystems.com>2015-04-21 10:49:00 -0400
commit17546f47b6927c21fe50ce5e784f2f4952d69473 (patch)
tree119bc6c30f74d3a5d3d568296e8fcdcf424c5447 /libs/ardour/sse_functions_64bit_win.s
parent8af992c449b895ec8be638049fd2510388f23ddd (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/ardour/sse_functions_64bit_win.s')
-rw-r--r--libs/ardour/sse_functions_64bit_win.s2
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