Re: [PATCH] RISC-V: Enable basic RVV auto-vectorization support

2023-04-24 Thread Jeff Law via Gcc-patches
On 4/6/23 19:25, juzhe.zh...@rivai.ai wrote: From: Juzhe-Zhong Enable basic auto-vectorization support of WHILE_LEN/LEN_LOAD/LEN_STORE. gcc/ChangeLog: * config/riscv/riscv-protos.h (preferred_simd_mode): New function. (expand_while_len): Ditto. * config/riscv/risc

[PATCH] RISC-V: Enable basic RVV auto-vectorization support

2023-04-06 Thread juzhe . zhong
From: Juzhe-Zhong Enable basic auto-vectorization support of WHILE_LEN/LEN_LOAD/LEN_STORE. gcc/ChangeLog: * config/riscv/riscv-protos.h (preferred_simd_mode): New function. (expand_while_len): Ditto. * config/riscv/riscv-v.cc (autovec_use_vlmax_p): Ditto. (preferr