This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] Fix 65576 regression
- From: Alan Modra <amodra at gmail dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Michael Meissner <mrmeissn at us dot ibm dot com>
- Date: Fri, 3 Apr 2015 09:49:32 +1030
- Subject: Re: [RS6000] Fix 65576 regression
- Authentication-results: sourceware.org; auth=none
- References: <20150402052235 dot GU26234 at bubble dot grove dot modra dot org> <CAGWvnymHfN8oTkSS0GA7YATtWHPkj_Thh+u-iisfaMcjaHw7dQ at mail dot gmail dot com>
On Thu, Apr 02, 2015 at 01:03:19PM -0400, David Edelsohn wrote:
> On Thu, Apr 2, 2015 at 1:22 AM, Alan Modra <amodra@gmail.com> 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 is enabled. ie. Don't undo the
> > necessary register move emitted by the extenddftf2_fprs expander.
> > Bootstrapped and regression tested powerpc64le-linux, powerpc64-linux
> > and powerpc-linux. OK to apply?
> >
> > PR target/65576
> > PR target/65240
> > * config/rs6000/predicates.md (zero_reg_mem_operand): Exclude
> > 0.0 constant unless TARGET_VSX.
>
> This change seems to disable the final alternative in the
> extenddftf2_internal pattern.
It looks to me like it was already disabled, by r96390.
--
Alan Modra
Australia Development Lab, IBM