[MPlayer-cvslog] CVS: main/liba52 imdct.c,1.26,1.27
Michael Niedermayer CVS
syncmail at mplayerhq.hu
Thu Jun 2 22:54:05 CEST 2005
CVS change done by Michael Niedermayer CVS
Update of /cvsroot/mplayer/main/liba52
In directory mail:/var2/tmp/cvs-serv5262/liba52
Modified Files:
imdct.c
Log Message:
one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
Index: imdct.c
===================================================================
RCS file: /cvsroot/mplayer/main/liba52/imdct.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- imdct.c 22 Mar 2005 23:27:18 -0000 1.26
+++ imdct.c 2 Jun 2005 20:54:02 -0000 1.27
@@ -770,6 +770,8 @@
int m;
int two_m;
int two_m_plus_one;
+ int two_m_plus_one_shl3;
+ complex_t *buf_offset;
/* sample_t tmp_a_i;
sample_t tmp_a_r;
@@ -938,6 +940,8 @@
for (m=3; m < 7; m++) {
two_m = (1 << m);
two_m_plus_one = two_m<<1;
+ two_m_plus_one_shl3 = (two_m_plus_one<<3);
+ buf_offset = buf+128;
asm volatile(
"movl %0, %%esi \n\t"
".balign 16 \n\t"
@@ -963,7 +967,7 @@
"addl %2, %%esi \n\t"
"cmpl %1, %%esi \n\t"
" jb 1b \n\t"
- :: "g" (buf), "m" (buf+128), "m" (two_m_plus_one<<3), "r" (two_m<<3),
+ :: "g" (buf), "m" (buf_offset), "m" (two_m_plus_one_shl3), "r" (two_m<<3),
"r" (sseW[m])
: "%esi", "%edi", "%edx"
);
More information about the MPlayer-cvslog
mailing list