Re: [PATCH v2 1/2] RISC-V: Make vectorized memset handle more cases

2024-11-04 Thread Jeff Law
On 11/4/24 6:09 AM, Craig Blackmore wrote: `expand_vec_setmem` only generated vectorized memset if it fitted into a single vector store of at least (TARGET_MIN_VLEN / 8) bytes. Also, without dynamic LMUL the operation was always TARGET_MAX_LMUL even if it would have fitted a smaller LMUL. Al

[PATCH v2 1/2] RISC-V: Make vectorized memset handle more cases

2024-11-04 Thread Craig Blackmore
`expand_vec_setmem` only generated vectorized memset if it fitted into a single vector store of at least (TARGET_MIN_VLEN / 8) bytes. Also, without dynamic LMUL the operation was always TARGET_MAX_LMUL even if it would have fitted a smaller LMUL. Allow vectorized memset to be generated for smalle