public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug optimization/11680] member access of C++ class with all methods inline should be optimized better
Date: Sun, 27 Jul 2003 05:33:00 -0000	[thread overview]
Message-ID: <20030727053305.17095.qmail@sources.redhat.com> (raw)
In-Reply-To: <20030727051349.11680.dbaron@dbaron.org>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11680



------- Additional Comments From dberlin at gcc dot gnu dot org  2003-07-27 05:33 -------
Try the tree-ssa branch, which should and does help quite a lot for these types of problems

My numbers:

mainline: 
[dberlin@dberlin dberlin]$ time ./a.out  slow

real    0m3.777s
user    0m3.770s
sys     0m0.010s
[dberlin@dberlin dberlin]$ time ./a.out  fast

real    0m1.065s
user    0m1.070s
sys     0m0.000s

tree-ssa:
[dberlin@dberlin dberlin]$ time ./a.out  slow

real    0m1.356s
user    0m1.360s
sys     0m0.000s
[dberlin@dberlin dberlin]$ time ./a.out  fast

real    0m1.120s
user    0m1.110s
sys     0m0.010s


  parent reply	other threads:[~2003-07-27  5:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-27  5:13 [Bug c++/11680] New: " dbaron at dbaron dot org
2003-07-27  5:16 ` [Bug c++/11680] " dbaron at dbaron dot org
2003-07-27  5:31 ` [Bug optimization/11680] " pinskia at physics dot uc dot edu
2003-07-27  5:33 ` dberlin at gcc dot gnu dot org [this message]
2003-07-27  9:34 ` gdr at integrable-solutions dot net
2003-08-23  1:56 ` dhazeghi at yahoo dot com
2003-09-08 23:01 ` dbaron at dbaron dot org
2003-11-27  7:32 ` pinskia at gcc dot gnu dot org
2004-03-03  7:10 ` pinskia at gcc dot gnu dot org
2004-05-26 22:37 ` [Bug rtl-optimization/11680] " pinskia at gcc dot gnu dot org
2004-06-03  4:42 ` pinskia at gcc dot gnu dot org

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=20030727053305.17095.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).