RE: [PATCH V2] RISC-V: Support TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization.

2023-05-15 Thread Li, Pan2 via Gcc-patches
TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization. LGTM 於 2023年5月15日 週一 11:16 寫道: > From: Juzhe-Zhong > > This patch optimizes both RVV VLA && VLS vectorization. > > Consider this following case: > void __at

Re: Re: [PATCH V2] RISC-V: Support TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization.

2023-05-14 Thread juzhe.zh...@rivai.ai
Dabbelt; Jeff Law; rdapp.gcc Subject: Re: [PATCH V2] RISC-V: Support TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization. LGTM 於 2023年5月15日 週一 11:16 寫道: From: Juzhe-Zhong This patch optimizes both RVV VLA && VLS vectoriz

Re: [PATCH V2] RISC-V: Support TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization.

2023-05-14 Thread Kito Cheng via Gcc-patches
LGTM 於 2023年5月15日 週一 11:16 寫道: > From: Juzhe-Zhong > > This patch optimizes both RVV VLA && VLS vectorization. > > Consider this following case: > void __attribute__((noinline, noclone)) > f (int * __restrict dst, int * __restrict op1, int * __restrict op2, int > count) > { > for (int i = 0;