[PD-dev] [ pure-data-Patches-1931686 ] functionality for 128-bit-aligned memory (against pd-0.41-4)

SourceForge.net noreply at sourceforge.net
Thu Apr 3 15:45:20 CEST 2008


Patches item #1931686, was opened at 2008-04-01 17:54
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1931686&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Grill (xovo)
>Assigned to: Miller Puckette (millerpuckette)
Summary: functionality for 128-bit-aligned memory (against pd-0.41-4)

Initial Comment:
This patch implements public functions for allocation of 128-bit aligned memory. 
For allocation of all signals and buffers within PD these functions are consequently used.
128-bit alignment can speed up vector calculations, esp. if used with SIMD (also with autovectorization techniques).
The infrastructure has been part of devel_0_39 and has now been ported to vanilla pd.



----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-03 09:45

Message:
Logged In: YES 
user_id=27104
Originator: NO

This sounds like a very useful addition.  I have one minor question about
the patch implementation.  It seems that it would be more manageable if the
new functions had the same name as the originals, then the original and the
optimized versions could be swapped for each other with a single #ifdef
which could be controlled by a ./configure flag.

Is there some code where you don't want to use the aligned functions? 
Redefining the original names would automatically give all the externals
aligned memory as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1931686&group_id=55736




More information about the Pd-dev mailing list