Skip to content

Conversation

ccawley2011
Copy link
Contributor

This should help a bit on architectures without dedicated instructions for integer division.

ccawley2011 and others added 2 commits March 7, 2025 20:52
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
@deltabeard
Copy link
Owner

Thanks for your pull request! I'm not sure why I used modulo here in the first place. IO_LY is only ever incremented by one, so the code is better now. I've made another commit to slightly improve this further simplification. I'll do a bit of testing and then I'll merge.

@deltabeard deltabeard merged commit ae28a1d into deltabeard:master Jun 30, 2025
5 checks passed
@ccawley2011 ccawley2011 deleted the int-divide branch June 30, 2025 12:45
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