expose more info from plugin-strip (for GUI display)
[ardour.git] / libs / ardour / sse_functions.s
index 2285aff5fa26293c3d2689b69fc1ca2e55fbea49..934ce6887a25e5075782a538013a59ea19049545 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2005 Sampo Savolainen
+    Copyright (C) 2005 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -15,6 +15,8 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
+       Author: Sampo Savolainen
+
     $Id$
 */
 
@@ -395,10 +397,6 @@ x86_sse_apply_gain_to_buffer:
 .globl x86_sse_compute_peak
        .type   x86_sse_compute_peak,@function
 
-abs_mask:
-       .long   2147483647
-
-       
 x86_sse_compute_peak:
 #; 8(%ebp)     = float *buf    = %edi
 #; 12(%ebp) = long     nframes = %ecx
@@ -421,7 +419,9 @@ x86_sse_compute_peak:
        je      .CP_END
 
        #; create the "abs" mask in %xmm2
-       movss   abs_mask, %xmm2
+       pushl   $2147483647
+       movss   (%esp), %xmm2
+       addl    $4, %esp
        shufps  $0x00, %xmm2, %xmm2
 
        #; Check for alignment
@@ -524,6 +524,8 @@ x86_sse_compute_peak:
 .size  x86_sse_compute_peak, .-x86_sse_compute_peak
 #; end proc
 
-
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif