Committed as passed x86 bootstrap and regression test, thanks Richard.
Pan
-Original Message-
From: Richard Biener
Sent: Tuesday, September 26, 2023 7:35 PM
To: Juzhe-Zhong
Cc: gcc-patches@gcc.gnu.org; richard.sandif...@arm.com
Subject: Re: [PATCH V2] MATCH: Optimize COND_ADD_LEN
On Tue, 26 Sep 2023, Juzhe-Zhong wrote:
> Current COND_ADD reduction pattern can't optimize floating-point vector.
> As Richard suggested:
> https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631336.html
> Allow COND_ADD reduction pattern to optimize floating-point vector.
>
> Bootstrap an
Current COND_ADD reduction pattern can't optimize floating-point vector.
As Richard suggested:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631336.html
Allow COND_ADD reduction pattern to optimize floating-point vector.
Bootstrap and Regression is running.
Ok for trunk if tests pass
This patch leverage this commit:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=62b505a4d5fc89
to optimize COND_LEN_ADD reduction pattern.
We are doing optimization of VEC_COND_EXPR + COND_LEN_ADD -> COND_LEN_ADD.
Consider thsi following case:
#include
void
pr11594 (uint64_t *restrict a, uint