On Thu, Nov 9, 2017 at 2:44 PM, Michael Meissner <meiss...@linux.vnet.ibm.com> wrote: > In my previous patch enabling some of the built-in functions for _Float<N> and > _Float<N>X datatypes, I missed making fminf128 and fmaxf128 generate the > minimum and maximum inline code when -ffast-math is used. This patch to > match.pd enables the code generation using if-then-else if the machine does > not > have an appropriate min/max instruction (the power9 hardware does not have > min/max instructions for quad floating point). > > I have done builds on x86-64, little endian power8, and little endian power9 > prototype systems. All builds bootstrapped and had no regressions. Can I > check this patch into the trunk?
Ok. Richard. > [gcc] > 2017-11-09 Michael Meissner <meiss...@linux.vnet.ibm.com> > > * match.pd: Convert fminf<N>, fminf<N>x, fmax<N>, and fmax<N>x > into the min/max operations for _Float<N> and _Float<N>X types. > > [gcc/testsuite] > 2017-11-09 Michael Meissner <meiss...@linux.vnet.ibm.com> > > * gcc.target/powerpc/float128-minmax.c: New test. > > -- > Michael Meissner, IBM > IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA > email: meiss...@linux.vnet.ibm.com, phone: +1 (978) 899-4797