[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-03-06 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

Will Schmidt  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Will Schmidt  ---
fixed and backported.   Closing now.

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-03-05 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #6 from Will Schmidt  ---
Author: willschm
Date: Mon Mar  5 17:11:16 2018
New Revision: 258257

URL: https://gcc.gnu.org/viewcvs?rev=258257=gcc=rev
Log:
2018-03-05  Will Schmidt  

Backport from trunk.

2018-02-16  Will Schmidt  

PR target/84371
* gcc.target/powerpc/builtins-3.c: Update dg-options and dg-skip-if
stanzas.
* gcc.target/powerpc/builtins-3.p8.c: Add dg-skip-if stanza.
* gcc.target/powerpc/builtins-3.p9.c: Add dg-skip-if stanza.

Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3-p8.c
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3-p9.c
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/builtins-3.c

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-02-20 Thread carll at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #5 from Carl Love  ---
Will, I am guessing the recent changes that I made to the vec_neg builtin might
be getting you.  The vec_neg was orignially using P7 expansion macros but it
used P8 rtl so when compiled with -mcpu=power7 the vec_neg builtin would give
an ICE.  The macro expansions for vec_neg, vec_float2, vec_signed2 and
vec_unsigned2 are all being changed from P7 expansion macros to P8 expansion
macros to fix GCC internal compiler errors when compiled with -mcpu=power7.

See  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84422 for the list of test
cases that fail with -mcpu=power7.

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-02-20 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #4 from Will Schmidt  ---
The scope of the problem here seems to have changed in the last week.  
Now seeing a number of 
 " error: builtin function '__builtin_altivec_neg_v2df' requires the
'-mpower8-vector' option "
will investigate, & probably run the builtin-3 tests through a blender to sort
this out..

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-02-19 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #3 from Will Schmidt  ---
(In reply to seurer from comment #1)
> In addition to trunk this also fails with gcc 7

Yup. 
There was/is an ice in one of the builtins-3.* tests that should be better now
, per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84422#c1

it is in my queue to re-check the results, and possibly loosen up the requires
or options on one of the tests.  I'll pursue a backport to gcc7 after I check
that over.

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-02-19 Thread cel at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #2 from Carl Love  ---
Will:

Here is the bug report I just got from Peter.  From our sametime
conversation sounds like you have addressed these in a recent update. 
Take a look, may be that Peter needs to update his tree

 Carl 

On Mon, 2018-02-19 at 16:22 +, bergner at gcc dot gnu.org wrote:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gcc.gnu.org_bugz
> illa_show-5Fbug.cgi-3Fid-3D84371=DwIFaQ=jf_iaSHvJObTbx-
> siA1ZOg=RFEmMkZAk--_wFGN5tkM_A=KakkHTM7gWnvABQzEIFU4wyGWq_1-
> lFbt1DyIEjX8s8=WSpl7W2dIBon1uGdUhwW9CIOG9X_PMNcNiV7aqRuPXs=
> 
> Peter Bergner  changed:
> 
>    What|Removed |Added
> ---
> -
> URL||https://urldefense.p
> roofpoint.com/v2/url?u=https-3A__gcc.gnu.org_ml_gcc-
> 2D=DwIFaQ=jf_iaSHvJObTbx-siA1ZOg=RFEmMkZAk
> --_wFGN5tkM_A=KakkHTM7gWnvABQzEIFU4wyGWq_1-
> lFbt1DyIEjX8s8=FDyAZOw6NwZxSBmmKn2eKIEv5rTNen7rU8toxwggWJs=
>    ||patches/2018-
> 02/msg00937.ht
>    ||ml
>  CC||bergner at gcc dot
> gnu.org
>

[Bug target/84371] test case gcc.target/powerpc/builtins-3.c fails on power9

2018-02-14 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84371

--- Comment #1 from seurer at gcc dot gnu.org ---
In addition to trunk this also fails with gcc 7