aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-09-07 15:28:31 +0800
committerPan Li <pan2.li@intel.com>2023-09-11 21:21:08 +0800
commit88a0a883960910530bfefa750461168f539f4a00 (patch)
tree33143d72049292e540aae956efab34c269766c84
parent390fa3a78c84d97783afda9278df70d4a4ac2471 (diff)
downloadgcc-88a0a883960910530bfefa750461168f539f4a00.zip
gcc-88a0a883960910530bfefa750461168f539f4a00.tar.gz
gcc-88a0a883960910530bfefa750461168f539f4a00.tar.bz2
RISC-V: Enable RVV scalable vectorization by default[PR111311]
This patch is not ready but they all will be fixed very soon. gcc/ChangeLog: PR target/111311 * config/riscv/riscv.opt: Set default as scalable vectorization.
-rw-r--r--gcc/config/riscv/riscv.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt
index 569e9af..6f769c3 100644
--- a/gcc/config/riscv/riscv.opt
+++ b/gcc/config/riscv/riscv.opt
@@ -295,7 +295,7 @@ EnumValue
Enum(riscv_autovec_preference) String(fixed-vlmax) Value(RVV_FIXED_VLMAX)
-param=riscv-autovec-preference=
-Target RejectNegative Joined Enum(riscv_autovec_preference) Var(riscv_autovec_preference) Init(NO_AUTOVEC)
+Target RejectNegative Joined Enum(riscv_autovec_preference) Var(riscv_autovec_preference) Init(RVV_SCALABLE)
-param=riscv-autovec-preference=<string> Set the preference of auto-vectorization in the RISC-V port.
Enum