[Mplayer-cvslog] CVS: main/liba52 imdct.c, 1.24, 1.25 resample_mmx.c, 1.16, 1.17

Michael Niedermayer CVS syncmail at mplayerhq.hu
Mon Apr 26 21:47:52 CEST 2004


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/liba52
In directory mail:/var2/tmp/cvs-serv9759/liba52

Modified Files:
	imdct.c resample_mmx.c 
Log Message:
attribute_used patch by (VMiklos <mamajom at axelero dot hu>)


Index: imdct.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/imdct.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- imdct.c	27 Jan 2003 21:47:24 -0000	1.24
+++ imdct.c	26 Apr 2004 19:47:50 -0000	1.25
@@ -56,7 +56,7 @@
 
 static void fft_128p(complex_t *a);
 
-static const int pm128[128] __attribute__((aligned(16))) =
+static const int pm128[128] attribute_used __attribute__((aligned(16))) =
 {
 	0, 16, 32, 48, 64, 80,  96, 112,  8, 40, 72, 104, 24, 56,  88, 120,
 	4, 20, 36, 52, 68, 84, 100, 116, 12, 28, 44,  60, 76, 92, 108, 124,
@@ -69,7 +69,7 @@
 }; 
 
 /* 128 point bit-reverse LUT */
-static uint8_t bit_reverse_512[] = {
+static uint8_t attribute_used bit_reverse_512[] = {
 	0x00, 0x40, 0x20, 0x60, 0x10, 0x50, 0x30, 0x70, 
 	0x08, 0x48, 0x28, 0x68, 0x18, 0x58, 0x38, 0x78, 
 	0x04, 0x44, 0x24, 0x64, 0x14, 0x54, 0x34, 0x74, 
@@ -103,7 +103,7 @@
 static complex_t __attribute__((aligned(16))) buf[128];
 static float __attribute__((aligned(16))) sseSinCos1c[256];
 static float __attribute__((aligned(16))) sseSinCos1d[256];
-static float __attribute__((aligned(16))) ps111_1[4]={1,1,1,-1};
+static float attribute_used __attribute__((aligned(16))) ps111_1[4]={1,1,1,-1};
 //static float __attribute__((aligned(16))) sseW0[4];
 static float __attribute__((aligned(16))) sseW1[8];
 static float __attribute__((aligned(16))) sseW2[16];

Index: resample_mmx.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/resample_mmx.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- resample_mmx.c	6 Nov 2002 23:54:22 -0000	1.16
+++ resample_mmx.c	26 Apr 2004 19:47:50 -0000	1.17
@@ -7,10 +7,10 @@
 	and it would mean (C / MMX2 / MMX / 3DNOW) versions 
 */
 
-static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
-static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
-static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
+static uint64_t attribute_used __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
+static uint64_t attribute_used __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
+static uint64_t attribute_used __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
+static uint64_t attribute_used __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
 
 static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
     int32_t * f = (int32_t *) _f;




More information about the MPlayer-cvslog mailing list