Re: [PATCH, V2] PR target/70243: Do not generate vmaddfp and vnmsubfp

2023-04-07 Thread Segher Boessenkool
Hi! On Fri, Apr 07, 2023 at 02:34:01AM -0400, Michael Meissner wrote: > As we discussed in a private chat room, I modified the code to generate > vmaddfp > and vnmsubfp if -Ofast (-ffast-math) is used. As I said, that is no good. > This allows the compiler to > eliminate the extra move if the

[PATCH, V2] PR target/70243: Do not generate vmaddfp and vnmsubfp

2023-04-07 Thread Michael Meissner via Gcc-patches
This is version 2 of the patch. The first version was posted on April 6th. In this version, I eliminated the changes to Altivec.md that added checks to altivec_fmav4sf4 and altivec_vnmsubfp. After writing the code, I remembered that VECTOR_UNIT_ALTIVEC_P that is used by those insns will not be