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

Update arm64_immenc.c #1602

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Update arm64_immenc.c #1602

merged 1 commit into from
Jun 19, 2024

Conversation

salt431
Copy link
Contributor

@salt431 salt431 commented Jun 19, 2024

combine if (!bitmask || !~bitmask) to (bitmask == 0 || bitmask == ~0ULL) to reduce overhead.

use bitwise operators instead of + operators. to slightly reduce cpu cycles used per instruction

combine if (!bitmask || !~bitmask) to (bitmask == 0 || bitmask == ~0ULL) to reduce overhead.

use bitwise operators instead of + operators.
@ptitSeb ptitSeb merged commit 44deff9 into ptitSeb:main Jun 19, 2024
34 checks passed
Javier97sm pushed a commit to Javier97sm/box64 that referenced this pull request Aug 16, 2024
combine if (!bitmask || !~bitmask) to (bitmask == 0 || bitmask == ~0ULL) to reduce overhead.

use bitwise operators instead of + operators.
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