Re: [RS6000] Fix 65576 regression

2015-04-03 Thread David Edelsohn
On Fri, Apr 3, 2015 at 8:51 AM, Alan Modra wrote: > On Thu, Apr 02, 2015 at 08:02:57PM -0400, David Edelsohn wrote: >> If the final alternative cannot occur, it should be removed as well. >> Alan, would you please test that change also? > > Tested powerpc64-linux and powerpc-linux no regressions.

Re: [RS6000] Fix 65576 regression

2015-04-03 Thread Alan Modra
On Thu, Apr 02, 2015 at 08:02:57PM -0400, David Edelsohn wrote: > If the final alternative cannot occur, it should be removed as well. > Alan, would you please test that change also? Tested powerpc64-linux and powerpc-linux no regressions. * config/rs6000/rs6000.md (extenddftf2_internal):

Re: [RS6000] Fix 65576 regression

2015-04-02 Thread David Edelsohn
On Thu, Apr 2, 2015 at 7:41 PM, Michael Meissner wrote: > On Thu, Apr 02, 2015 at 03:52:35PM +1030, Alan Modra wrote: >> This cures an unrecognizable insn ICE by modifying a predicate of >> extenddftf2_internal (the only place this predicate is used) to ensure >> that rtl optimization passes do no

Re: [RS6000] Fix 65576 regression

2015-04-02 Thread Michael Meissner
On Thu, Apr 02, 2015 at 03:52:35PM +1030, Alan Modra wrote: > This cures an unrecognizable insn ICE by modifying a predicate of > extenddftf2_internal (the only place this predicate is used) to ensure > that rtl optimization passes do not substitute 0.0 for a register with > known 0.0 value, except

Re: [RS6000] Fix 65576 regression

2015-04-02 Thread Alan Modra
On Thu, Apr 02, 2015 at 01:03:19PM -0400, David Edelsohn wrote: > On Thu, Apr 2, 2015 at 1:22 AM, Alan Modra wrote: > > This cures an unrecognizable insn ICE by modifying a predicate of > > extenddftf2_internal (the only place this predicate is used) to ensure > > that rtl optimization passes do n

Re: [RS6000] Fix 65576 regression

2015-04-02 Thread David Edelsohn
On Thu, Apr 2, 2015 at 1:22 AM, Alan Modra wrote: > This cures an unrecognizable insn ICE by modifying a predicate of > extenddftf2_internal (the only place this predicate is used) to ensure > that rtl optimization passes do not substitute 0.0 for a register with > known 0.0 value, except when VSX

[RS6000] Fix 65576 regression

2015-04-01 Thread Alan Modra
This cures an unrecognizable insn ICE by modifying a predicate of extenddftf2_internal (the only place this predicate is used) to ensure that rtl optimization passes do not substitute 0.0 for a register with known 0.0 value, except when VSX is enabled. ie. Don't undo the necessary register move em