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 register size warnings in reverse kernel #668

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Oct 22, 2023

When building VOLK on 64-bit ARM, many compiler warnings are printed because the register size of the rbit instruction is incorrect. To fix that, I've added an aarch64 version of the DO_RBIT macro which includes the w template modifier to select 32-bit registers.

Also, it appears the arm version of the reverse kernel was inaccessible (on both 32-bit and 64-bit ARM) because volk_kernel_defs.py does not understand nested #ifdef LV_HAVE_*. I separated the #ifdefs and now the arm version of the kernel runs on both 32-bit and 64-bit ARM.

@argilo
Copy link
Member Author

argilo commented Oct 22, 2023

The test failure is unrelated; it's due to #669.

Copy link
Contributor

@jdemel jdemel left a comment

Choose a reason for hiding this comment

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

LGTM

@jdemel jdemel merged commit fe46337 into gnuradio:main Oct 22, 2023
31 of 32 checks passed
@argilo argilo deleted the fix-neon-warnings branch October 23, 2023 18:09
Alesha72003 pushed a commit to Alesha72003/volk that referenced this pull request May 15, 2024
Fix register size warnings in reverse kernel
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