[mythtv] [patch] mythmusic compile problem

Daniel Thor Kristjansson danielk at cat.nyu.edu
Thu Feb 19 13:30:21 EST 2004


Tiny patch that fixes an MMX error that prevents mythmusic from
compiling with gcc 3.3.2. Basically the source was specified as a MMX
register for a normal 32 bit addl. I changed the source type to memory,
which will generate correct code.

-- Daniel
  << When truth is outlawed; only outlaws will tell the truth. >> - RLiegh
-------------- next part --------------
Index: mythmusic/goom/zoom_filter_xmmx.c
===================================================================
RCS file: /var/lib/mythcvs/mythmusic/mythmusic/goom/zoom_filter_xmmx.c,v
retrieving revision 1.2
diff -u -r1.2 zoom_filter_xmmx.c
--- mythmusic/goom/zoom_filter_xmmx.c	17 Jun 2003 15:37:36 -0000	1.2
+++ mythmusic/goom/zoom_filter_xmmx.c	19 Feb 2004 18:07:06 -0000
@@ -117,7 +117,7 @@
 				"andl $15,%%eax\n"
 
 				"movd (%%ebx,%%eax,4),%%mm3\n"
-				::"X"(precalCoef):"eax","ebx");
+				::"m"(precalCoef):"eax","ebx");
 
 			/*
 			 * extraction des coefficients...


More information about the mythtv-dev mailing list