Re: [PATCH] Generate XXSPLTIDP on power10.

2021-09-02 Thread Segher Boessenkool
On Wed, Sep 01, 2021 at 04:22:13PM -0400, Michael Meissner wrote: > On Tue, Aug 31, 2021 at 06:41:30PM -0500, Segher Boessenkool wrote: > > Hi! > > > > Please do two separate patches. The first that adds the instruction > > (with a bit pattern, i.e. integer, input), and perhaps a second pattern >

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-09-01 Thread Michael Meissner via Gcc-patches
On Tue, Aug 31, 2021 at 06:41:30PM -0500, Segher Boessenkool wrote: > Hi! > > Please do two separate patches. The first that adds the instruction > (with a bit pattern, i.e. integer, input), and perhaps a second pattern > that has an fp as input and uses it if the constant is valid for the > insn

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-09-01 Thread Michael Meissner via Gcc-patches
On Tue, Aug 31, 2021 at 05:52:48PM -0500, Segher Boessenkool wrote: > Hi! > > On Thu, Aug 26, 2021 at 05:28:42PM -0400, Michael Meissner wrote: > > On Thu, Aug 26, 2021 at 02:17:57PM -0500, will schmidt wrote: > > > On Wed, 2021-08-25 at 15:46 -0400, Michael Meissner wrote: > > > > Generate XXSPLT

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-08-31 Thread Segher Boessenkool
Hi! Please do two separate patches. The first that adds the instruction (with a bit pattern, i.e. integer, input), and perhaps a second pattern that has an fp as input and uses it if the constant is valid for the insn (survives being converted to SP and back to DP (or the other way around), and i

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-08-31 Thread Segher Boessenkool
Hi! On Thu, Aug 26, 2021 at 05:28:42PM -0400, Michael Meissner wrote: > On Thu, Aug 26, 2021 at 02:17:57PM -0500, will schmidt wrote: > > On Wed, 2021-08-25 at 15:46 -0400, Michael Meissner wrote: > > > Generate XXSPLTIDP on power10. > > > > > > I have added a temporary switch (-mxxspltidp) to co

Ping: [PATCH] Generate XXSPLTIDP on power10.

2021-08-31 Thread Michael Meissner via Gcc-patches
Ping patch. | Date: Wed, 25 Aug 2021 15:46:43 -0400 | Subject: [PATCH] Generate XXSPLTIDP on power10. | Message-ID: -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-08-26 Thread Michael Meissner via Gcc-patches
On Thu, Aug 26, 2021 at 05:28:42PM -0400, Michael Meissner wrote: > I have patches for adding XXSPLTI32DX, but so far, I'm not sure whether it is > a > win or not. This has the xxsplti32dx_operand predicate and the > xxsplti32dx_constant_p internal function and a separate constraint ("eD") for >

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-08-26 Thread Michael Meissner via Gcc-patches
On Thu, Aug 26, 2021 at 02:17:57PM -0500, will schmidt wrote: > On Wed, 2021-08-25 at 15:46 -0400, Michael Meissner wrote: > > Generate XXSPLTIDP on power10. > > > > I have added a temporary switch (-mxxspltidp) to control whether or not the > > XXSPLTIDP instruction is generated. > > How tempora

Re: [PATCH] Generate XXSPLTIDP on power10.

2021-08-26 Thread will schmidt via Gcc-patches
On Wed, 2021-08-25 at 15:46 -0400, Michael Meissner wrote: > Generate XXSPLTIDP on power10. > > This patch implements XXSPLTIDP support for SF and DF scalar constants and > V2DF > vector constants. The XXSPLTIDP instruction is given a 32-bit immediate that > is converted to a vector of two DFmod

[PATCH] Generate XXSPLTIDP on power10.

2021-08-25 Thread Michael Meissner via Gcc-patches
Generate XXSPLTIDP on power10. This patch implements XXSPLTIDP support for SF and DF scalar constants and V2DF vector constants. The XXSPLTIDP instruction is given a 32-bit immediate that is converted to a vector of two DFmode constants. The immediate is in SFmode format, so only constants that