-
Notifications
You must be signed in to change notification settings - Fork 28
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
vector_mulv_addv testing broken #86
Comments
I fixed it on my fork. Two observations:
I suggest we disable the special code for vectors longer than 7 elements. |
Me too, Henk
Pull request generated : #87
The special code does give performance improvements.
The arrays in the example are global so should be 64 bit aligned.
J
|
BTW, I had a chat with Peter, on Monday. |
I appreciate that the special code speeds it up; but if there is no test case it is quite hard to see that it actually works. Re alignment: I hadn't appreciated that all global arrays are 64-bit aligned. |
Agreed, Henk, this is one of the areas that needs tidying up so test cases should cover longer arrays |
I renamed the issue to reflect that the code is probably ok, but it is the testing that needs fixing. |
indeed |
I've written some tests for the dsp_vector functions which seem to show that the muls_addv, muls_subv, mulv_addv, and mulv_subv do not give correct outputs for vector lengths > 7. |
Related issue: #123 |
Reported on xcore.com
The text was updated successfully, but these errors were encountered: