Skip to content

atmel-samd: signed division as a wrapper over unsigned on SAMD21 - #12041

Merged
tannewt merged 1 commit into
adafruit:mainfrom
MakerClassCZ:samd21-div-wrapper
Dec 4, 2026
Merged

tannewt merged 1 commit into
adafruit:mainfrom
MakerClassCZ:samd21-div-wrapper

Conversation

@lynt-smitka

Copy link
Copy Markdown

On SAMD21, __aeabi_idiv and __aeabi_idivmod become thin wrappers over __aeabi_uidivmod, saving 128 bytes.

Tested on a Circuit Playground Express: 3256 divisions match the host.

Created with LLM 🤖.

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@tannewt
tannewt merged commit aed5335 into adafruit:main Dec 4, 2026
126 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