Re: [PATCH 3/3] Add power11 tests

2024-07-19 Thread Segher Boessenkool
On Thu, Jul 18, 2024 at 09:53:05AM -0500, Peter Bergner wrote: > On 7/18/24 8:23 AM, Segher Boessenkool wrote: > > Everything in gcc.target/powerpc is only run for target powerpc*-*-* > > anyway, so make this just > > > > /* { dg-do compile } */ > > > > please. (Or nothing, it is the default

Re: [PATCH 3/3] Add power11 tests

2024-07-18 Thread Peter Bergner
On 7/18/24 8:23 AM, Segher Boessenkool wrote: > Everything in gcc.target/powerpc is only run for target powerpc*-*-* > anyway, so make this just > > /* { dg-do compile } */ > > please. (Or nothing, it is the default after all, but you may want to > have it explicit). Personally, I do like

Re: [PATCH 3/3] Add power11 tests

2024-07-18 Thread Segher Boessenkool
Hi! On Wed, Jul 10, 2024 at 01:39:05PM -0400, Michael Meissner wrote: > --- /dev/null > +++ b/gcc/testsuite/gcc.target/powerpc/power11-1.c > @@ -0,0 +1,12 @@ > +/* { dg-do compile { target powerpc*-*-* } } */ Everything in gcc.target/powerpc is only run for target powerpc*-*-* anyway, so make

[PATCH 3/3] Add power11 tests

2024-07-10 Thread Michael Meissner
This patch is a modification of the patch posted on June 4th. It only does a compile of the tests, and not an assemble as suggested by Kewen.Lin. I have removed the power11 target support option that was previously added. This patch adds some simple tests for -mcpu=power11 support. I have

Re: [PATCH 3/3] Add power11 tests

2024-06-12 Thread Kewen.Lin
Hi, on 2024/6/13 02:56, Michael Meissner wrote: > On Wed, Jun 12, 2024 at 02:23:18PM +0800, Kewen.Lin wrote: >> Hi Mike, >> >>> +# Return 1 if this is a PowerPC target supporting -mcpu=power11. >>> + >>> +proc check_effective_target_power11_ok { } { >>> +if { ([istarget powerpc*-*-*]) } { >>>

Re: [PATCH 3/3] Add power11 tests

2024-06-12 Thread Michael Meissner
On Wed, Jun 12, 2024 at 02:23:18PM +0800, Kewen.Lin wrote: > Hi Mike, > > > +# Return 1 if this is a PowerPC target supporting -mcpu=power11. > > + > > +proc check_effective_target_power11_ok { } { > > +if { ([istarget powerpc*-*-*]) } { > > + return [check_no_compiler_messages power11_ok

Re: [PATCH 3/3] Add power11 tests

2024-06-12 Thread Kewen.Lin
Hi Mike, on 2024/6/4 09:46, Michael Meissner wrote: > This patch adds some simple tests for -mcpu=power11 support. In order to run > these tests, you need an assembler that supports the appropriate option for > supporting the Power11 processor (-mpower11 under Linux or -mpwr11 under AIX). > > I

[PATCH 3/3] Add power11 tests

2024-06-03 Thread Michael Meissner
This patch adds some simple tests for -mcpu=power11 support. In order to run these tests, you need an assembler that supports the appropriate option for supporting the Power11 processor (-mpower11 under Linux or -mpwr11 under AIX). I have bootstrapped these patches on both little endian and big