Skip to content

Document --print-supported-extensions and --print-enabled-extensions#145

Open
lenary wants to merge 1 commit intoriscv-non-isa:mainfrom
lenary:pr/print-extensions
Open

Document --print-supported-extensions and --print-enabled-extensions#145
lenary wants to merge 1 commit intoriscv-non-isa:mainfrom
lenary:pr/print-extensions

Conversation

@lenary
Copy link
Contributor

@lenary lenary commented Feb 12, 2026

This documentation is based on the implementation in Clang.

This is based on the implementation in Clang.
@cmuellner
Copy link
Collaborator

Is there a flag to list all supported mcpu identifiers?

@lenary
Copy link
Contributor Author

lenary commented Feb 12, 2026

Is there a flag to list all supported mcpu identifiers?

Clang treats -mcpu=help and -mtune=help specially - and on clang both of these have identical output (but might not if -mtune= becomes more complex :) )

@lenary
Copy link
Contributor Author

lenary commented Feb 12, 2026

IIRC, the -mcpu=help lists take into account 32- vs 64-bit CPUs (depending on the triple given to clang). I don't think that --print-supported-extensions does so, it prints everything (this difference is less relevant to --print-enabled-extensions).

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