Skip to content

Conversation

andre-richter
Copy link
Contributor

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