public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/20211] autoincrement generation is poor
Date: Thu, 17 Mar 2005 16:38:00 -0000	[thread overview]
Message-ID: <20050317163741.23891.qmail@sourceware.org> (raw)
In-Reply-To: <20050225161912.20211.amylaar@gcc.gnu.org>


------- Additional Comments From amylaar at gcc dot gnu dot org  2005-03-17 16:37 -------
(In reply to comment #4)
> There are both primary and secondary platforms among the AUTO_INC_DEC targets. 
> So it is probably good to gain some wider test coverage about the compile-
> time/run-time impact of this. E.g. testing CSIBE on ARM, or SPEC on RS6000.

I currently don't have an ARM or RS6000 platform to run benchmarks on.
We are looking into setting up a powermac for this task, though.
AFAICS RS6000 provides register+offset addressing for all modes except the
altivec vector modes, so to see any significant benefit from
optimize_related_values, the benchmark should have multiple altivec memory
accesses from the same structure / array in a single basic block.

> One of the common complaints of RTL code is that monolithic files containing 
> multiple optimization passes (with interwinded functions) and with undocumented 
> public interface is a maintenance mess. Compare that with tree-ssa where each 
> pass lives in its own small[1] file and just exposes the pass description 
> structure.
> 
> I believe it would be great if the new pass could be live in its own file. The 
> utility functions currently in regmove could be extracted in regmovelib or 
> whatever name fits best.

I am willing to make that change, but would first like to hear from a global
or middle-end maintainer that they agree that this is a move in the right direction.
Also, there are some details that should be agreed on first.
I.e.:
Should tehre remain a toplevel regmove function that calls 
mark_flags_life_zones first, and then the sub-passes, or should
each sub-pass call mark_flags_life_zones?
If there is such a toplevel functiojn, would it live in the regmove*
files, or would that be rest_of_handle_regmove in passes.c ?
Where does the combine_stack_adjustments pass belong?  Should it
be in flow.c, or in it's own file (combine_stack_adj.c ?)

-- 


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


  parent reply	other threads:[~2005-03-17 16:38 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-25 22:08 [Bug rtl-optimization/20211] New: " amylaar at gcc dot gnu dot org
2005-02-26  1:13 ` [Bug rtl-optimization/20211] " pinskia at gcc dot gnu dot org
2005-02-26  1:24 ` giovannibajo at libero dot it
2005-02-27  4:49 ` hp at gcc dot gnu dot org
2005-02-28 20:49 ` joern dot rennecke at st dot com
2005-03-15  2:12 ` giovannibajo at libero dot it
2005-03-15 18:08 ` amylaar at gcc dot gnu dot org
2005-03-17 16:38 ` amylaar at gcc dot gnu dot org [this message]
2005-04-12 18:06 ` amylaar at gcc dot gnu dot org
2005-04-27 13:38 ` amylaar at gcc dot gnu dot org
2005-04-27 13:42 ` pinskia at gcc dot gnu dot org
2005-04-28 13:37 ` amylaar at gcc dot gnu dot org
2005-04-28 13:43 ` pinskia at gcc dot gnu dot org
2005-04-28 19:21 ` amylaar at gcc dot gnu dot org
2005-05-12 19:00 ` pinskia at gcc dot gnu dot org
2005-05-12 19:31 ` joern dot rennecke at st dot com
2005-05-17 19:20 ` amylaar at gcc dot gnu dot org
2005-09-19 16:52 ` cvs-commit at gcc dot gnu dot org
2005-09-19 16:54 ` cvs-commit at gcc dot gnu dot org
2005-09-19 17:30 ` amylaar at gcc dot gnu dot org
     [not found] <bug-20211-5394@http.gcc.gnu.org/bugzilla/>
2005-11-02 21:50 ` amylaar at gcc dot gnu dot org
2006-11-15 20:11 ` amylaar at gcc dot gnu dot org
2006-11-30 20:05 ` amylaar at gcc dot gnu dot org
2006-12-17 14:47 ` steven at gcc dot gnu dot org
2007-06-18  2:03 ` pinskia at gcc dot gnu dot org
2007-09-17 20:06 ` rguenth at gcc dot gnu dot org
2008-05-23 23:14 ` hp at gcc dot gnu dot org
2010-02-22  6:05 ` amylaar at gcc dot gnu dot org
     [not found] <bug-20211-4@http.gcc.gnu.org/bugzilla/>
2013-12-24 22:55 ` steven at gcc dot gnu.org
2015-09-21  8:15 ` olegendo at gcc dot gnu.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=20050317163741.23891.qmail@sourceware.org \
    --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).