Skip to content

Revert "Use the Rust implementation of udivsi3 on ARM" #285

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

Merged
merged 1 commit into from
May 2, 2019

Conversation

alexcrichton
Copy link
Member

This reverts commit 681aaa9.

Closes #173

@alexcrichton alexcrichton merged commit 45caccf into rust-lang:master May 2, 2019
@alexcrichton alexcrichton deleted the use-optimized branch May 2, 2019 21:17
alexcrichton added a commit to alexcrichton/compiler-builtins that referenced this pull request May 14, 2019
This commit fixes a bug accidentally introduced in rust-lang#285 where some
lingering references remained to `#[cfg(thumbv6m)]` but this, since the
historical revert, was renamed to `#[cfg(thumb_1)]`. This caused on the
thumbv6m platform for the intrinsics to be accidentally omitted because
the build script didn't actually compile them but the Rust code thought
the C code was in use.

After correcting the `#[cfg]` statements the CI configuration for the
`thumb*` family of targets was all updated. The support for xargo
testing was removed from `run.sh` since it had long since bitrotted, and
the script was updated to simply build the intrinsics example to attempt
to link for each of these targets. This in turn exposed the bug locally
and allowed to confirm a fix once the `#[cfg]` statements were
corrected.

cc rust-lang/rust#60782
tgross35 pushed a commit to tgross35/compiler-builtins that referenced this pull request Feb 23, 2025
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.

compiler-rt's ARM implementation of udivsi3 seems... wrong?
1 participant