Re: [PATCH] RISC-V: Support neg VLS auto-vectorization

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

Re: [PATCH] RISC-V: Support neg VLS auto-vectorization

2023-08-07 Thread Kito Cheng via Gcc-patches
LGTM :) Juzhe-Zhong 於 2023年8月8日 週二 11:10 寫道: > #include "riscv_vector.h" > > #define DEF_OP_V(PREFIX, NUM, TYPE, OP) > \ > void __attribute__ ((noinline, noclone)) > \ > PREFIX##_##TYPE##NUM (TYPE *restrict a, TYPE *restrict b) > \ > { > \ > for (int i = 0; i < NUM; ++

[PATCH] RISC-V: Support neg VLS auto-vectorization

2023-08-07 Thread Juzhe-Zhong
#include "riscv_vector.h" #define DEF_OP_V(PREFIX, NUM, TYPE, OP)\ void __attribute__ ((noinline, noclone)) \ PREFIX##_##TYPE##NUM (TYPE *restrict a, TYPE *restrict b)\ {