[Bug target/78658] powerpc64le: ICE with -mcpu=power9 -Og

2016-12-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78658

Michael Meissner  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Michael Meissner  ---
Fixed in subversion id 243320.

[Bug target/78658] powerpc64le: ICE with -mcpu=power9 -Og

2016-12-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78658

--- Comment #2 from Michael Meissner  ---
Author: meissner
Date: Tue Dec  6 22:15:31 2016
New Revision: 243320

URL: https://gcc.gnu.org/viewcvs?rev=243320=gcc=rev
Log:
[gcc]
2016-12-06  Michael Meissner  

PR target/78658
* config/rs6000/rs6000.md (zero_extendqi2): Use ^ instead of
?* constraints for the ISA 3.0 patterns, so the register allocator
is more likely to allocate QImode/HImode to vector registers for
conversion to floating point unless a reload is needed.
(zero_extendhi2): Likewise.
(float2_internal): Properly deal with the
first alternative which is converting QImode/HImode to floating
point and the QImode/HImode value is in a vector register, and
does not allocate the second pseudo register.  Remove zero
extending into traditional floating point registers, since the
instruction used only works on traditional altivec registers.
(floatuns2_internal): Likewise.

[gcc/testsuite]
2016-12-06  Michael Meissner  

PR target/78658
* gcc.target/powerpc/pr78658.c: New test.


Added:
trunk/gcc/testsuite/gcc.target/powerpc/pr78658.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.md
trunk/gcc/testsuite/ChangeLog

[Bug target/78658] powerpc64le: ICE with -mcpu=power9 -Og

2016-12-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78658

--- Comment #1 from Michael Meissner  ---
Created attachment 40268
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40268=edit
Proposed patch

[Bug target/78658] powerpc64le: ICE with -mcpu=power9 -Og

2016-12-06 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78658

Michael Meissner  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2016-12-06
   Host||powerpc64le-linux
 Ever confirmed|0   |1
  Build||powerpc64le-linux