aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVineet Gupta <vineetg@rivosinc.com>2023-08-22 10:32:12 -0700
committerVineet Gupta <vineetg@rivosinc.com>2023-08-22 11:06:31 -0700
commit3571cc93511b39f7a403fe5eab0e316cd7e86220 (patch)
treea7595f2a532ecc7c53a7c3619bdb5248f012fad6 /gcc
parent47f95bc4be4eb14730ab3eaaaf8f6e71fda47690 (diff)
downloadgcc-3571cc93511b39f7a403fe5eab0e316cd7e86220.zip
gcc-3571cc93511b39f7a403fe5eab0e316cd7e86220.tar.gz
gcc-3571cc93511b39f7a403fe5eab0e316cd7e86220.tar.bz2
RISC-V: output Autovec params explicitly in --help ...
... otherwise user has no clue what -param to actually change gcc/ChangeLog: * config/riscv/riscv.opt: Add --param names riscv-autovec-preference and riscv-autovec-lmul Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/riscv/riscv.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt
index 6304efe..a962ea8 100644
--- a/gcc/config/riscv/riscv.opt
+++ b/gcc/config/riscv/riscv.opt
@@ -277,7 +277,7 @@ Always inline subword atomic operations.
Enum
Name(riscv_autovec_preference) Type(enum riscv_autovec_preference_enum)
-The RISC-V auto-vectorization preference:
+Valid arguments to -param=riscv-autovec-preference=:
EnumValue
Enum(riscv_autovec_preference) String(none) Value(NO_AUTOVEC)
@@ -294,7 +294,7 @@ Target RejectNegative Joined Enum(riscv_autovec_preference) Var(riscv_autovec_pr
Enum
Name(riscv_autovec_lmul) Type(enum riscv_autovec_lmul_enum)
-The RVV possible LMUL:
+The RVV possible LMUL (-param=riscv-autovec-lmul=):
EnumValue
Enum(riscv_autovec_lmul) String(m1) Value(RVV_M1)