Re: [PATCH] vect: Adjust vect_transform_reduction assertion [PR114883]

2024-04-30 Thread Richard Biener
On Tue, 30 Apr 2024, Jakub Jelinek wrote: > Hi! > > The assertion doesn't allow IFN_COND_MIN/IFN_COND_MAX, which are > commutative conditional binary operations like ADD/MUL/AND/IOR/XOR, > and can be handled just fine. > In particular, we emit > vminpd %zmm3, %zmm5, %zmm0{%k2} >

[PATCH] vect: Adjust vect_transform_reduction assertion [PR114883]

2024-04-30 Thread Jakub Jelinek
Hi! The assertion doesn't allow IFN_COND_MIN/IFN_COND_MAX, which are commutative conditional binary operations like ADD/MUL/AND/IOR/XOR, and can be handled just fine. In particular, we emit vminpd %zmm3, %zmm5, %zmm0{%k2} vminpd %zmm0, %zmm3, %zmm5{%k1} and vmaxpd