[FFmpeg-devel] [PATCH] Altivec split-radix FFT

Måns Rullgård mans
Fri Aug 28 10:57:10 CEST 2009


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Fri, Aug 28, 2009 at 10:02:35AM +0200, Guillaume POIRIER wrote:
>> On Thu, Aug 27, 2009 at 2:44 PM, Loren Merritt<lorenm at u.washington.edu> wrote:
>> > Now with MDCT, and tested on PPC64.
>> 
>> It indeed now works on Linux/PPC64 and Linux/PPC32, but still not on OSX/PPC*.
>> 
>> Do you think that gas' .macro functionalities could allow to make your
>> ASM portable across both Linux and OSX, defining each register Rx as
>> either rx on OSX, and x on all the other platforms that use FSF tools?
>
> It is preprocessed anyway, you can just define REG_1... REG_n in a
> header and in include that in both C and asm files.

I'd just #define r1 1 etc for the cases that prefer numbers over
names.

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



More information about the ffmpeg-devel mailing list