[ardour-dev] Patch for optimization on OSX

Stéphane Letz letz at grame.fr
Mon Sep 19 05:47:17 PDT 2005

Here is a patch to use the Apple Accelerate framework (a library of  
optimized functions on both G3 and G4,G5 altivec based machines) to  
implement the CPU critical functions that were recently optimized for  
SSE on X86.

The patch will be usefull *only* on 10.4 Tiger, since some of the  
used functions are not available in older version of the Accelerate  
framework. The optimized functions will be activated only when Ardour  
runs on a Tiger system.

The following had to be added in the link phase  (I did it in the  
global SConstruct  folder but I'm not sure this is the right place...):

-framework Accelerate

It accelerate quite a bit on atltivec: Testetd on G5, at least twice  
faster on the DSP CPU part that is spend in those functions. It  
should accelerate also on G3, since even the scalar version of these  
function is much more optimized compared to standard C written code.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20050919/2f21d8ea/attachment.txt>
-------------- next part --------------

More information about the Ardour-Dev mailing list