[PD-dev] ~externals: i/o vector size and alignment

Thomas Grill t.grill at gmx.net
Mon Feb 9 09:09:12 CET 2004


> <quote who="Thomas Grill">
> > Actually, the latter is adjustable with the cvs devel_0_37 branch.
> > The default is 128 bits which makes it possible to use SIMD
> > instructions without further complications.
>
> Is there a flag #defined that I can use to detect this?

sorry, i was in a hurry...
it's in d_ugen.c, line 38. The definition of VECTORALIGNMENT there (which is
used for the signal vector alignment) defaults to the alignment needed by
the SIMD implementation, which is 128 bits for i386 and ppc cpus (found in
m_simd.h).

best greetings,
Thomas





More information about the Pd-dev mailing list