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

David Conrad lessen42
Tue Oct 20 21:11:32 CEST 2009


On Oct 19, 2009, at 4:51 PM, Loren Merritt wrote:

> On Mon, 12 Oct 2009, M?ns Rullg?rd wrote:
>
>> Guillaume POIRIER <poirierg at gmail.com> writes:
>>
>>> I'm fine with it. Too bad it won't speed-up the FFT on OSX, but at
>>> the very least it doesn't break compilation on that OS.
>>>
>>> People who want split-radix FFT on OSX can either use Conrad's
>>> script or use FSF's SDK.
>>
>> Will this FFT be enabled automatically if David's script is used?
>
> configure just checks whether it can assemble ibm syntax. If you  
> replace `as`, that should be enough.

Not quite; check_asm uses inline asm, and my script doesn't transform  
register numbers to names (since that would be a lot of work vs. ~40  
additional lines in ffmpeg.)

Anyway, I added support for inline asm to my script, but there still  
needs to be a check for fsf vs. apple gas in addition to ibm syntax  
vs. named regs. The attached patch on top of your patches compiles for  
me; I'm currently running make test.

ibm_gas should probably be ibm_syntax I guess, and I copied the X()  
macros from arm/asm.S, I don't know a good place for them to not  
duplicate them.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-altivec-fft.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091020/ebc2c83e/attachment.txt>



More information about the ffmpeg-devel mailing list