RE: [PATCH] VECT: Add mask_len_fold_left_plus for in-order floating-point reduction

2023-07-19 Thread Li, Pan2 via Gcc-patches
: [PATCH] VECT: Add mask_len_fold_left_plus for in-order floating-point reduction On Sat, 15 Jul 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richard and Richi. > > This patch adds mask_len_fold_left_plus pattern to support in-order > floating-point >

Re: [PATCH] VECT: Add mask_len_fold_left_plus for in-order floating-point reduction

2023-07-19 Thread Richard Biener via Gcc-patches
On Sat, 15 Jul 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richard and Richi. > > This patch adds mask_len_fold_left_plus pattern to support in-order > floating-point > reduction for target support len loop control. > > Consider this following case: > double > foo2 (double

[PATCH] VECT: Add mask_len_fold_left_plus for in-order floating-point reduction

2023-07-14 Thread juzhe . zhong
From: Ju-Zhe Zhong Hi, Richard and Richi. This patch adds mask_len_fold_left_plus pattern to support in-order floating-point reduction for target support len loop control. Consider this following case: double foo2 (double *__restrict a, double init, int *__restrict cond, int n)