[Dspforum] Double word data aligning
O'Connor, Sean R.
Sean.OConnor at jhuapl.edu
Thu Oct 8 16:19:45 MDT 2009
I have a few questions about data aligning. For the DSP Lib function dspf_sp_dotprod, it requires pointers to two single precision floating point arrays which must be double word aligned. So when you declare an array of floats, call it samples[], and then use DATA_ALIGN(samples, 64) to align it on a double word boundary (I think that is correct), will it place the first element on the boundary and then every 32 bits after place another array element? If this is the case, will dspf_sp_dotprod skip over every other element in the array?
Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091008/1a1f000a/attachment.html>
More information about the Dspforum
mailing list