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: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- 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 16:27:36 -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>
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.