Re: [PATCH] RISC-V: Support VLS shift vectorization

2023-08-07 Thread Lehua Ding
Committed to the trunk, thanks Kito and Juzhe.

Re: [PATCH] RISC-V: Support VLS shift vectorization

2023-08-07 Thread Kito Cheng via Gcc-patches
Lgtm Juzhe-Zhong 於 2023年8月8日 週二,09:37寫道: > After this patch, this following case will be well optimized: > #include "riscv_vector.h" > > #define DEF_OP_VV(PREFIX, NUM, TYPE, OP) > \ > void __attribute__ ((noinline, noclone)) > \ > PREFIX##_##TYPE##NUM (TYPE *restrict a, TYPE *restri

[PATCH] RISC-V: Support VLS shift vectorization

2023-08-07 Thread Juzhe-Zhong
After this patch, this following case will be well optimized: #include "riscv_vector.h" #define DEF_OP_VV(PREFIX, NUM, TYPE, OP) \ void __attribute__ ((noinline, noclone)) \ PREFIX##_##TYPE##NUM (TYPE *restrict a, TYPE *