Re: [PATCH 2/2] PowerPC: Add power10 IEEE 128-bit min/max/cmove.

2020-08-12 Thread Segher Boessenkool
On Tue, Aug 11, 2020 at 11:32:32PM -0400, Michael Meissner wrote: > > > + /* See if we can use the ISA 3.1 min/max/compare instructions for IEEE > > > + 128-bit floating point. At present, don't worry about doing > > > conditional > > > + moves with different types for the comparison and

Re: [PATCH 2/2] PowerPC: Add power10 IEEE 128-bit min/max/cmove.

2020-08-11 Thread Michael Meissner via Gcc-patches
On Tue, Aug 11, 2020 at 08:01:50PM -0500, Segher Boessenkool wrote: > Hi! > > On Tue, Aug 11, 2020 at 12:23:07PM -0400, Michael Meissner wrote: > > + /* See if we can use the ISA 3.1 min/max/compare instructions for IEEE > > + 128-bit floating point. At present, don't worry about doing > >

Re: [PATCH 2/2] PowerPC: Add power10 IEEE 128-bit min/max/cmove.

2020-08-11 Thread Segher Boessenkool
Hi! On Tue, Aug 11, 2020 at 12:23:07PM -0400, Michael Meissner wrote: > + /* See if we can use the ISA 3.1 min/max/compare instructions for IEEE > + 128-bit floating point. At present, don't worry about doing conditional > + moves with different types for the comparison and movement (unl

[PATCH 2/2] PowerPC: Add power10 IEEE 128-bit min/max/cmove.

2020-08-11 Thread Michael Meissner via Gcc-patches
PowerPC: Add power10 IEEE 128-bit min/max/cmove. This patch adds support for the new ISA 3.1 (power10) xscmp{eq,gt,ge}qp, xsmincqp, and xsmaxcqp instructions for IEEE 128-bit conditional move, minimum, and maximum. gcc/ 2020-08-07 Michael Meissner * config/rs6000/rs6000.c (rs6000_emit