New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double-word alignment of inputs #124
Comments
If we declare dsp_complex_t to have [[aligned(8)]] then that should do it.
Always planned to do it - never got around to it.
… On 1 Oct 2018, at 17:00, Larry Snizek ***@***.***> wrote:
The library could do with a way of enforcing double word aligned inputs where double-word instructions such as LDD are used in implementation (eg dsp_filters_biquads)
The problem is that you might write your code one way, say with data on stack, and only then find run into alignment issues, and have to change to another way such as global variables
Could it use a 64bit data type? Or maybe there is a attribute/pragma for it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Close old issue – this either hasn't caused enough grief during the almost 2 years or has already been done |
This is still an issue, see https://www.xcore.com/viewtopic.php?f=47&t=4669&p=40523#p40523 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The library could do with a way of enforcing double word aligned inputs where double-word instructions such as LDD are used in implementation (eg
dsp_filters_biquads
)The problem is that you might write your code one way, say with data on stack, and only then find run into alignment issues, and have to change to another way such as global variables
Could it use a 64bit data type? Or maybe there is a attribute/pragma for it?
The text was updated successfully, but these errors were encountered: