[PD-dev] alignment of signal vectors

Claude Heiland-Allen claude at mathr.co.uk
Mon Jul 2 23:04:09 CEST 2018


Hi,

Is there any guarantee about alignment of signal vector data?

If not, should there be, in the future?

Or should one conditionally `dsp_add()` their specific-alignment-needing 
kernels dependent on what the `dsp` method actually gets?

Context:

In some code unrelated to Pd, using GCC vector intrinsics (not 
CPU-specific) I got a near-2x speed boost by recompiling the same code 
to target a newer CPU, vs the binary compiled for an older CPU.

The old idea of compiling a machine-specific math~.pd_linux (or 
whatever) to speed up everything by overwriting internal objects is also 
on my mind.

Thanks,

Claude
-- 
https://mathr.co.uk




More information about the Pd-dev mailing list