[MPlayer-dev-eng] [PATCH] Mac OS X updates for darwinfixlib, libmpeg2 and ao_macosx
Alex Beregszaszi
alex at fsn.hu
Tue Jun 17 22:56:52 CEST 2003
Hi,
> mplayer-libmpeg2.diff:
>
> In "libmpeg2/cpu_state.c" there is some AltiVec assembly which
> wouldn't compile with my setup. I don't know anything about altivec
> assembly, but I guess it shouldn't be compiled anyway unless
> HAVE_ALTIVEC is defined (which it isn't in my setup).
Hmm, this should be separated.
CAN_COMPILE_ALTIVEC -- if gcc supports compilation
(always true if HAVE_ALTIVEC is true)
HAVE_ALTIVEC -- if altivec is supported on this arch
HAVE_ALTIVEC_H -- ...
So runtime cpu detection makes sense. And the x86 side should be
similar.
--
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
More information about the MPlayer-dev-eng
mailing list