diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-02 18:20:39 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2024-07-03 09:28:28 -0700 |
commit | 70f6bc39c4b0e147a816ad1dad583f944616c367 (patch) | |
tree | e228b8409357eebac2a6d0fe173840c36a334ed3 | |
parent | 7b2b2e3d660edc8ef3a8cfbdfc2b0fd499459601 (diff) |
RISC-V: Describe -march behavior for dependent extensions
gcc/ChangeLog:
* doc/invoke.texi: Describe -march behavior for dependent extensions on
RISC-V.
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 68ebd79d676..b37c7af7a39 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -31063,6 +31063,10 @@ If both @option{-march} and @option{-mcpu=} are not specified, the default for this argument is system dependent, users who want a specific architecture extensions should specify one explicitly. +When the RISC-V specifications define an extension as depending on other +extensions, GCC will implicitly add the dependent extensions to the enabled +extension set if they weren't added explicitly. + @opindex mcpu @item -mcpu=@var{processor-string} Use architecture of and optimize the output for the given processor, specified |