public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joern Rennecke <joern.rennecke@embecosm.com>
To: Andrew Hutchinson <andrewhutchinson@cox.net>
Cc: GCC Development <gcc@gcc.gnu.org>
Subject: Re: Cannot get Bit test RTL to cooperate with Combine.
Date: Tue, 22 Sep 2009 06:57:00 -0000	[thread overview]
Message-ID: <20090922025753.jny1956vscgck04c-nzlynne@webmail.spamcop.net> (raw)
In-Reply-To: <4AB82BBE.3030703@cox.net>

Quoting Andrew Hutchinson <andrewhutchinson@cox.net>:

> Why doesn't combine try matching "unsimplified" expressions when it fails?
>
> This would at least permit creating patterns based on explicit format
> of  input RTL without the added vagaries of simplification

Actually, that was my first attempt to approach the issue, but the
trouble with this is that it is ill-defined what the simplifications
are you want to loose versus what necessary canonicalisations are.

Ultimatively, the search space is infinite, and the patterns that combine
creates are shaped by the preconceptions of the programmers who hack it
on what patterns are good to match.  So it makes sense to try multiple
patterns for a single combination and test the cost, but we couldn't
afford an exhaustive search of all combinatorial possibilities.

      reply	other threads:[~2009-09-22  6:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 17:49 Andrew Hutchinson
2009-09-22  0:49 ` Joern Rennecke
2009-09-22  1:20   ` Andrew Hutchinson
2009-09-22  1:43   ` Andrew Hutchinson
2009-09-22  6:57     ` Joern Rennecke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090922025753.jny1956vscgck04c-nzlynne@webmail.spamcop.net \
    --to=joern.rennecke@embecosm.com \
    --cc=andrewhutchinson@cox.net \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).