This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Canonicalize split for unordered vector compares
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Feb 2014 09:15:41 -0600
- Subject: Re: [PATCH, rs6000] Canonicalize split for unordered vector compares
- Authentication-results: sourceware.org; auth=none
- References: <1393294423 dot 20991 dot 88 dot camel at gnopaine> <CAGWvnym6otMgL4qAbfUCgwbdMJQOROgARiYVjUahi48NBxGeiQ at mail dot gmail dot com>
Hi David,
Thanks. I have this upstream for mainline now. This problem appears to
have been introduced in GCC 4.6. Is it ok to backport this fix to the
FSF 4.7 and 4.8 branches?
Thanks,
Bill
On Mon, 2014-02-24 at 23:29 -0500, David Edelsohn wrote:
> On Mon, Feb 24, 2014 at 9:13 PM, Bill Schmidt
> <wschmidt@linux.vnet.ibm.com> wrote:
> > Hi,
> >
> > The pattern *vector_unordered<mode> performs a split that's intended to
> > match the nor<mode>3 pattern. However, it doesn't use the proper
> > canonical form, so the resulting insn isn't recognized. This patch
> > changes the split to use the canonical form.
> >
> > Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no
> > regressions. Is this ok for trunk?
> >
> > Thanks,
> > Bill
> >
> >
> > 2014-02-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
> >
> > * config/rs6000/vector.md (*vector_unordered<mode>): Change split
> > to use canonical form for nor<mode>3.
>
> Okay.
>
> Thanks, David
>