Re: [PATCH v4] RISC-V: add option -m(no-)autovec-segment

2024-10-19 Thread Jeff Law
On 10/15/24 12:05 PM, Robin Dapp wrote: Quick question. We did something like this to aid internal testing/bringup. Our variant adjusted a ton of the mode iterators in vector-iterators.md and the TUPLE_ENTRY stuff in riscv-vector-switch.def. Robin, do you remember why you had to adjust all

Re: [PATCH v4] RISC-V: add option -m(no-)autovec-segment

2024-10-15 Thread Robin Dapp
> Quick question. We did something like this to aid internal > testing/bringup. Our variant adjusted a ton of the mode iterators in > vector-iterators.md and the TUPLE_ENTRY stuff in riscv-vector-switch.def. > > Robin, do you remember why you had to adjust all the iterators? Was it > that LTO

Re: [PATCH v4] RISC-V: add option -m(no-)autovec-segment

2024-10-15 Thread Jeff Law
On 10/15/24 8:56 AM, Patrick O'Neill wrote: From: Greg McGary Add option -m(no-)autovec-segment to enable/disable autovectorizer from emitting vector segment load/store instructions. This is useful for performance experiments. gcc/ChangeLog: * config/riscv/autovec.md (vec_mask_len_l