[Dspforum] Double word data aligning
Joseph Haber
josephhaber at gmail.com
Thu Oct 8 17:22:28 MDT 2009
Sean,
No, it simply starts the array double word aligned. So, you will need to
make sure that you only call the dot-product starting from a double-word
aligned location. There are a number of different ways you can probably
approach this...
Joseph
On Thu, Oct 8, 2009 at 6:19 PM, O'Connor, Sean R.
<Sean.OConnor at jhuapl.edu>wrote:
> 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
>
> _______________________________________________
> Dspforum mailing list
> Dspforum at echelonembedded.com
> http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091008/bb04878a/attachment.html>
More information about the Dspforum
mailing list