[mythtv] [patch] libmythsoundtouch, mmx_gcc.cpp compile fix

Isaac Richards ijr at po.cwru.edu
Sun Nov 14 01:36:35 UTC 2004


On Saturday 13 November 2004 08:17 pm, Daniel Thor Kristjansson wrote:
> The current mmx_gcc.cpp won't compile unless you add a
> -fomit-frame-pointer to the flags.
>
> This patch fixes the compile problem, and also adds the MMX registers
> to the list of spoiled registers. However, someone familiar with this
> code should take a look at it. There appears to be no reason for shadow_ebx
> to be an output variable. It also appears that the MMX registers are
> never added to the list of clobbered registers throughout this file...

Ideally, the mmx.h macros would be used instead of raw inline asm - this 
wouldn't be an issue, then. =(

Isaac


More information about the mythtv-dev mailing list