Re: [PD-dev] alignment of signal vectors

2018-07-02 Thread Miller Puckette
Well, there's currently no way to get signals on a guaranteed boundary, but that's something I want to do in the future. I also want to allow objects to delay creating their input and output vectors (possibly avoiding promoting scalars to vectors for efficiency, and also allowing obejcts to

Re: [PD-dev] alignment of signal vectors

2018-07-02 Thread Thomas Grill
Hi all, back in Pd 0.37 or so, i have made a branch with explicitly aligned DSP vector allocation and respective gcc attributes for aligned pointers and some changes to DSP processing (integer loop counters instead of pointer incrementation), which makes it easier for compilers to generate

[PD-dev] alignment of signal vectors

2018-07-02 Thread Claude Heiland-Allen
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