[MPlayer-dev-eng] symbol mangling prob on win32

Michael Niedermayer michaelni at gmx.at
Fri Jan 18 17:50:01 CET 2002


Hi

On Friday 18 January 2002 16:53, Kim Minh Kaplan wrote:
> Felix Buenemann <atmosfear at users.sourceforge.net> writes:
[...]
> > What do you think, is the best way to handle the problem (var in inline
> > asm on win32 must be _var, but outside inline asm stays var)?
>
> How about letting Gcc handle all this by itself?
its problematic, the docs say its only required to handle up to 9 operands 
and it often fails with fewer, because of lack of registers allthough that 
shouldnt be a problem here and whats worse is that the code becomes even less 
readable
"movq %0, %%mm0;"  ... what was %0 ... ahh 5 pages later "m"(bFF)
vs. 
"movq "MANGLE(bFF)", %%mm0;"
[...]

Michael



More information about the MPlayer-dev-eng mailing list