public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Richard Guenther" <richard.guenther@gmail.com>
To: "Robert Kennedy" <jimbob@google.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fold more aggressively for trip counts
Date: Thu, 04 Jan 2007 19:54:00 -0000	[thread overview]
Message-ID: <84fc9c000701041153h64404483l207bc4d7333101f2@mail.gmail.com> (raw)
In-Reply-To: <17821.23092.925585.601518@whippen.corp.google.com>

On 1/4/07, Robert Kennedy <jimbob@google.com> wrote:
> > Well, a testcase looks like
> >
> > int foo(int a)
> > {
> >   return a * 1000 > 0;
> > }
> >
> > and then check the gimple tree dump.
>
> I tried that. Somehow (I'm not sure how) it gets folded anyway without
> my change. Whatever is doing it in that context does not apply during
> the loop optimizations.

I see the condition survive until asm even with -O2 on i686.

Richard.

  reply	other threads:[~2007-01-04 19:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03  2:40 Robert Kennedy
2007-01-03  2:50 ` Andrew Pinski
2007-01-03  8:49   ` Paolo Bonzini
2007-01-03 13:57 ` Richard Guenther
2007-01-03 15:14   ` Daniel Berlin
2007-01-04 19:35   ` Robert Kennedy
2007-01-04 19:46     ` Richard Guenther
2007-01-04 19:49       ` Robert Kennedy
2007-01-04 19:54         ` Richard Guenther [this message]
2007-01-04 19:58           ` Robert Kennedy
2007-01-04 22:59     ` Zdenek Dvorak
2007-01-05  1:18       ` Robert Kennedy
2007-01-05  7:46         ` Zdenek Dvorak
2007-01-05 19:08           ` Robert Kennedy
2007-01-10  0:05       ` Robert Kennedy

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=84fc9c000701041153h64404483l207bc4d7333101f2@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jimbob@google.com \
    /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).