From: Juzhe-Zhong Date: Thu, 7 Sep 2023 07:28:31 +0000 (+0800) Subject: RISC-V: Enable RVV scalable vectorization by default[PR111311] X-Git-Tag: basepoints/gcc-15~6299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a0a883960910530bfefa750461168f539f4a00;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 569e9af2e30c..6f769c3020ba 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= Set the preference of auto-vectorization in the RISC-V port. Enum