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

use 32-bit bitreversal loop index #81

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

rsaxvc
Copy link
Contributor

@rsaxvc rsaxvc commented Jan 7, 2023

Always use 32-bit bitreversal loop indexes to save a few carry instructions for 64bit reversals, and save a few conversion instructions for 16bit reversals.

With GCC 8.3.1:
arm_bitreversal_16 - saves 1 instruction
arm_bitreversal_64 - saves 5 instructions
@christophe0606 christophe0606 added the review Under review label Jan 9, 2023
@christophe0606 christophe0606 merged commit a8f4056 into ARM-software:main Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants