Skip to content
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

Fix vqshlud_n_s64 implementation to be 64-bit. #1259

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

Syonyk
Copy link
Contributor

@Syonyk Syonyk commented Jan 3, 2025

The scalar vqshlud_n_s64 function was wrong, and there was no test case for it (or the scalar 32 bit form). Add test cases for the scalar functions (test vectors generated on GCE ARMv9 system), validate the fix for the 64-bit scalar form. Tweak test case generation to generate more "valid" test cases (cases that don't simply saturate to 0 or rapidly saturate to INT_MAX for the function size).

The scalar vqshlud_n_s64 function was wrong, and there was no test
case for it (or the scalar 32 bit form).  Add test cases for the
scalar functions (test vectors generated on GCE ARMv9 system),
validate the fix for the 64-bit scalar form.
Copy link
Collaborator

@mr-c mr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Please don't push to this branch, I'll be merging it next.

@mr-c mr-c merged commit 3527e86 into simd-everywhere:master Jan 4, 2025
95 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants