[MPlayer-dev-eng] ppc runtime-cpu-detection fails with gcc 3.3
Balatoni Denes
dbalatoni at programozo.hu
Sun Feb 26 01:40:09 CET 2006
Hi!
szombat 25 február 2006 23.48-kor Rich Felker ezeket a bolcs gondolatokat
fogalmazta meg:
> On Sat, Feb 25, 2006 at 10:25:55PM +0100, Luca Barbato wrote:
> > > Then there's the possibility of ditching the C language extensions and
> > > just writing the altivec code with asm() like the MMX guys do...
> >
> > No, please...
>
> I for one consider this a much more graceful approach. ASM is a
> standard language, albeit cpu-specific. Apple's and GCC's hacks and
> extensions on top of the C language are proprietary, incompatible, and
> lock users into GCC in the long term or else force other compilers
> that might compete to duplicate the same disgusting hacks.
What are you talking about ?? What standard is there for x86 for example ? Do
you mean gas' at&t syntax or the intel syntax? And would using gas' at&t
syntax in your opinion lock us into gcc&gas as those are the only widely
known compiler using it? The situation might be entirely different on the
apple of course, but I have no idea what you are talking about.
> Also, with GCC's notoriously bad code generation, hand-coded asm loops
> will probably be measurably faster too.
That I mostly agree with.
> Rich
bye
Denes
--
---
What kills me, doesn't make me stronger.
More information about the MPlayer-dev-eng
mailing list