Skip to content

cc-wrapper: add support for ARM feature flags#205086

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

cc-wrapper: add support for ARM feature flags#205086
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Dec 8, 2022

Description of changes

On Aarch64, GCC and Clang both accept a suffix consisting of zero or more "feature flags" to the values of -march and -mcpu:

https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers

Let's provide a way for users to enable these feature modifiers in {local,cross}System.gcc.

CC: @alyssais @Ericson2314

Things done
  • Built on platform(s)
    • x86_64-linux (no eval change)
    • aarch64-linux (in progress with gcc.featureModifiers=["crc" "crypto"])
    • powerpc64le-linux (no eval change)
    • mips64el-linux (no eval change)
  • Fits CONTRIBUTING.md.

GCC and Clang both accept a suffix consisting of zero or more
"feature flags" to the values of `-march` and `-mcpu`:

  https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers

Let's provide a way for users to enable these feature modifiers
in `{local,cross}System.gcc`.
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Dec 8, 2022
@ghost ghost marked this pull request as ready for review December 9, 2022 04:39
@ghost ghost requested a review from Ericson2314 as a code owner December 9, 2022 04:39
@ghost ghost marked this pull request as draft April 24, 2023 02:23
@ghost ghost marked this pull request as ready for review June 21, 2023 05:14
@ghost ghost closed this Oct 22, 2023
@ghost ghost deleted the feature-modifiers branch January 23, 2024 06:44
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants