Skip to content

aarch64: Exclude FP intrinsics on +nofp or +nosimd #344

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
Feb 28, 2020
Merged

aarch64: Exclude FP intrinsics on +nofp or +nosimd #344

merged 1 commit into from
Feb 28, 2020

Conversation

andre-richter
Copy link
Member

AArch64 GCCs exit with an error condition when they encounter any kind of
floating point code if the nofp and/or nosimd compiler flags have been set.

Therefore, evaluate if those flags are present and set a boolean that causes any
compiler-rt intrinsics that contain floating point source to be excluded for
this target.

This patch prepares rust-lang/rust#68334

`AArch64` GCCs exit with an error condition when they encounter any kind of
floating point code if the `nofp` and/or `nosimd` compiler flags have been set.

Therefore, evaluate if those flags are present and set a boolean that causes any
compiler-rt intrinsics that contain floating point source to be excluded for
this target.

This patch prepares rust-lang/rust#68334
@alexcrichton alexcrichton merged commit 43bcb3b into rust-lang:master Feb 28, 2020
@alexcrichton
Copy link
Member

Thanks!

@andre-richter andre-richter deleted the aarch64-bare-metal branch February 28, 2020 19:24
tgross35 added a commit to tgross35/compiler-builtins that referenced this pull request Feb 23, 2025
Introduce a `select_implementation` macro
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