[mythtv] Re: denoise3d + Athlon XP bug

Robert Tsai rtsai1111 at comcast.net
Wed Apr 27 05:18:32 UTC 2005


For my AMD64 system, I had to use --disable-mmx (I have to do the same
to settings.pro in mythplugins for mythmusic goom).

On Wed, Apr 27, 2005 at 12:31:16AM -0400, Jay Merrifield wrote:
> I'm getting a compiler error on osdsurface.cpp:
> 
> g++ -c -pipe -march=k8 -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -DPIC
> -fPIC  -DMMX -Di386 -DUSING_IVTV -DUSING_DVB -DUSING_XRANDR
> -DUSING_XVMC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr/local\" -DUSING_XVMCW -DUSING_XV -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib64/qt-3.3/mkspecs/default
> -I. -I/usr/local/include -I/usr/include -I../.. -I../libmyth -I..
> -Idvbdev -Impeg -I../libavcodec -I../libmythmpeg2
> -I/usr/lib64/qt-3.3/include -o osdsurface.o osdsurface.cpp
> {standard input}: Assembler messages:
> {standard input}:56: Error: suffix or operands invalid for `pop'
> {standard input}:59: Error: suffix or operands invalid for `push'
> {standard input}:62: Error: suffix or operands invalid for `pop'
> 
> Jay
> 
> >On Mon, 2005-04-25 at 23:25 -0400, Jay Merrifield wrote:
> >> Hey, I ran across a weird problem with the denoise function and
> >> AthlonXP. AthlonXP registers as a MMX capable processor, but in the
> >> filter_denoise3d.c function, it has #ifdef i386 which isn't being
> >> triggered for my cpu, but when the NewDenoise3dFilter() function gets
> >> called, it checks the MMX flag, which calls denoiseMMX which is now an
> >> empty function (see line 424, 425) so the denoise filter doesn't work.
> >> A simple solution would be to have the MMX function call teh denoise
> >> function, but a better solution would be to have some athlon specific
> >> optimizations (which I lack the specific knowledge). Any thoughts?
> >
> >Can you try again with CVS, you need to rerun./configure
> >after you update.
> 
> >-- Daniel
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

--Rob


More information about the mythtv-dev mailing list