Re: [PATCH] RISC-V: Fix Dynamic LMUL compile option

2023-09-04 Thread juzhe.zh...@rivai.ai
simple patch for dynamic cost model: https://gcc.gnu.org/pipermail/gcc-patches/2023-September/629212.html committed. juzhe.zh...@rivai.ai From: Juzhe-Zhong Date: 2023-09-04 17:08 To: gcc-patches CC: kito.cheng; kito.cheng; jeffreyalaw; rdapp.gcc; Juzhe-Zhong Subject: [PATCH] RISC-V: Fix

[PATCH] RISC-V: Fix Dynamic LMUL compile option

2023-09-04 Thread Juzhe-Zhong
gcc/ChangeLog: * config/riscv/riscv-opts.h (enum riscv_autovec_lmul_enum): Fix Dynamic status. * config/riscv/riscv-v.cc (preferred_simd_mode): Ditto. (autovectorize_vector_modes): Ditto. (vectorize_related_mode): Ditto. --- gcc/config/riscv/riscv-opts.h | 2 +-