[MPlayer-dev-eng] icc benchmark
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 12 00:54:09 CEST 2007
Hi!
Uoti Urpala <uoti.urpala <at> pp1.inet.fi> writes:
> > I'd be more than happy to hear of a simpler alternative.
>
> I think the only non-hacky/ugly way that would also be "guaranteed" to
> work (as long as the compilers actually work...) would be to use asm
> constraints. I don't know if there's still compiler brokenness which
> would prevent this from working with icc 10.0; at least some tests I
> made seemed to indicate it working correctly.
>
> Attached is an example change for liba52/imdct.c (chosen just because it
> was the last file among initial icc error messages). The READ_ARRAY
> macro would obviously be defined in a header instead of per file. This
> version seems to work right with both gcc and icc.
I could have bet on it: It doesn't work with gcc-2.95.3
Except for namespace polution: Is there another disadvantage with global
variables?
Carl Eugen
More information about the MPlayer-dev-eng
mailing list