This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] Add built-in function support Power9 binary floating point operations
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- Cc: Kelvin Nilsen <kdnilsen at linux dot vnet dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 5 Aug 2016 20:04:50 -0500
- Subject: Re: [PATCH,rs6000] Add built-in function support Power9 binary floating point operations
- Authentication-results: sourceware.org; auth=none
- References: <579B7AAB.9080804@linux.vnet.ibm.com> <57A0FC9E.6070709@linux.vnet.ibm.com> <20160802201529.GI9387@gate.crashing.org> <57A504C8.8030702@linux.vnet.ibm.com>
On Fri, Aug 05, 2016 at 04:27:36PM -0500, Pat Haugen wrote:
> On 08/02/2016 03:15 PM, Segher Boessenkool wrote:
> > On Tue, Aug 02, 2016 at 03:03:42PM -0500, Pat Haugen wrote:
> >> On 07/29/2016 10:47 AM, Kelvin Nilsen wrote:
> >>> + "xsxexpdp %0,%x1"
> >>> + [(set_attr "type" "fp")])
> >>
> >> Type should be 'integer'.
> >
> > It has VSX regs as input, integer is worse than fpsimple here, I think?
> > Or vecsimple, that seems better yes.
>
> It's a 2 cycle op that executes in the ALU pipe, just like other integer ops. vecsimple would be worse since those consume a superslice, which this op doesn't.
>
Ah yes. But why not fpsimple? It schedules the same as e.g. fmr and
fabs?
Segher