blob: 3780464202f11d30e5b304e5d46a01746e2601d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.2 2008/11/16 11:22:55 bjs Exp $
--- libjack/simd.c.orig 2008-11-11 17:36:29.000000000 -0500
+++ libjack/simd.c
@@ -332,9 +332,9 @@ sse_nonalign:
void x86_sse_f2i (int *dest, const float *src, int length, float scale)
{
int i;
- float max[4] __attribute__((aligned(16))) =
+ static const float max[4] __attribute__((aligned(16))) =
{ -1.0F, -1.0F, -1.0F, -1.0F };
- float min[4] __attribute__((aligned(16))) =
+ static const float min[4] __attribute__((aligned(16))) =
{ 1.0F, 1.0F, 1.0F, 1.0F };
float s[4] __attribute__((aligned(16)));
|