https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111401
--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 13 Sep 2023, rdapp at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111401 > > --- Comment #3 from Robin Dapp <rdapp at gcc dot gnu.org> --- > Several other things came up, so I'm just going to post the latest status here > without having revised or tested it. Going to try fixing it and testing > tomorrow. I think what's important to do is make sure targets without masking are still getting the cond-reduction code generation (but with the signed-zero issue fixed). Using a cond_add is probably better than the vec_cond + add even for the not fold-left reduction case.