[Mplayer-cvslog] CVS: main/mp3lib dct64_3dnow.c, 1.6, 1.7 dct64_k7.c, 1.8, 1.9 decode_MMX.c, 1.9, 1.10 decode_i586.c, 1.4, 1.5 tabinit_MMX.c, 1.5, 1.6

Alex Beregszaszi syncmail at mplayerhq.hu
Mon Apr 26 12:09:33 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var2/tmp/cvs-serv15091

Modified Files:
	dct64_3dnow.c dct64_k7.c decode_MMX.c decode_i586.c 
	tabinit_MMX.c 
Log Message:
attribute_used for gcc3.4

Index: dct64_3dnow.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_3dnow.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dct64_3dnow.c	22 Oct 2003 20:58:46 -0000	1.6
+++ dct64_3dnow.c	26 Apr 2004 10:09:31 -0000	1.7
@@ -9,10 +9,11 @@
 */
 #define real float /* ugly - but only way */
 
+#include "../config.h"
 #include "../mangle.h"
 
 static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
-static float plus_1f = 1.0;
+static float attribute_used plus_1f = 1.0;
 
 void dct64_MMX_3dnow(real *a,real *b,real *c)
 {

Index: dct64_k7.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/dct64_k7.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- dct64_k7.c	22 Oct 2003 20:58:46 -0000	1.8
+++ dct64_k7.c	26 Apr 2004 10:09:31 -0000	1.9
@@ -9,10 +9,11 @@
 */
 #define real float /* ugly - but only way */
 
+#include "../config.h"
 #include "../mangle.h"
 
 static unsigned long long int __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
-static float plus_1f = 1.0;
+static float attribute_used plus_1f = 1.0;
 
 void dct64_MMX_3dnowex(real *a,real *b,real *c)
 {

Index: decode_MMX.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decode_MMX.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- decode_MMX.c	25 Oct 2003 23:13:54 -0000	1.9
+++ decode_MMX.c	26 Apr 2004 10:09:31 -0000	1.10
@@ -7,11 +7,12 @@
  * Local ChangeLog:
  * - Partial loops unrolling and removing MOVW insn from loops
 */
+#include "../config.h"
 #include "../mangle.h"
 #define real float /* ugly - but only way */
 
-static unsigned long long __attribute__((aligned(8))) null_one = 0x0000ffff0000ffffULL;
-static unsigned long long __attribute__((aligned(8))) one_null = 0xffff0000ffff0000ULL;
+static unsigned long long attribute_used __attribute__((aligned(8))) null_one = 0x0000ffff0000ffffULL;
+static unsigned long long attribute_used __attribute__((aligned(8))) one_null = 0xffff0000ffff0000ULL;
 unsigned long __attribute__((aligned(8))) costab_mmx[] =
 {
 	1056974725,

Index: decode_i586.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decode_i586.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- decode_i586.c	24 Dec 2002 22:33:46 -0000	1.4
+++ decode_i586.c	26 Apr 2004 10:09:31 -0000	1.5
@@ -23,11 +23,12 @@
 *
 * $Id$
 */
+#include "../config.h"
 #include "../mangle.h"
 #define real float /* ugly - but only way */
 
 static long buffs[1088];
-static long bo=1;
+static long attribute_used bo=1;
 static long saved_ebp;
 
 int synth_1to1_pent(real *bandPtr, int channel, short *samples)

Index: tabinit_MMX.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/tabinit_MMX.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- tabinit_MMX.c	24 Dec 2002 22:33:46 -0000	1.5
+++ tabinit_MMX.c	26 Apr 2004 10:09:31 -0000	1.6
@@ -3,6 +3,7 @@
  * See ChangeLog of mpg123-0.59s-pre.1 for detail
  * Applied to mplayer by Nick Kurshev <nickols_k at mail.ru>
 */
+#include "../config.h"
 #include "../mangle.h"
 
 long __attribute__((aligned(8))) mp3lib_decwins [544];
@@ -11,7 +12,7 @@
 extern real mp3lib_decwin[(512+32)];
 // static long decwin [544];
 
-static short intwinbase_MMX[] = 
+static short attribute_used intwinbase_MMX[] = 
 {
 	      0,    -1,    -1,    -1,    -1,    -1,    -1,    -2,
 	     -2,    -2,    -2,    -3,    -3,    -4,    -4,    -5,




More information about the MPlayer-cvslog mailing list