[FFmpeg-devel] [PATCH] remove AltiVec vector declaration syntax macros

Måns Rullgård mans
Tue Jul 22 16:07:20 CEST 2008


compn wrote:
> On Sun, 20 Jul 2008 23:12:12 +0200, Diego Biurrun wrote:
>>The topic braces vs. parentheses in AltiVec vector declaration syntax
>>came up again recently.  AFAIU the conclusion was that complicating the
>>code with macros to hide compiler idiosyncracies was no longer worth it.
>>
>>So here is a patch that simplifies the code and gets rid of those
>>macros.
>>
>>The only compiler that is negatively affected is Apple gcc 3.3 (and
>>possibly earlier versions).  This compiler is used on Mac OS X 10.3,
>>but gcc 4.0 is available as alternative there.
>
> i got a report from a user that ps3 gcc 4.1.2 also has problems
> with current altivec macros.

I didn't know PS3 had a special gcc.

> i didnt know that ps3 haad altivec... but there you go.
> can anyone verify?

PS3 has Altivec.  It is compatible with PPC970, but quite a bit
slower.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list