public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48789] missed ARM optimization: use LDMIA
Date: Wed, 27 Jul 2011 16:40:00 -0000	[thread overview]
Message-ID: <bug-48789-4-Sl5ioXgVC8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48789-4@http.gcc.gnu.org/bugzilla/>

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ramana at gcc dot gnu.org

--- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-07-27 16:40:09 UTC ---
There are a number of problems and not all of them are related to the backend. 


- ldm / stm aren't really first class citizens as far as GCC is concerned .
There is no way today of getting the register allocator to forcefully use
increasing addresses as a metric of choosing where to do what. 

- I suspect the performance issues you are seeing are with the number of spills
and fills that are being generated in this case. If you tried -fsched-pressure
life becomes much better and in fact the amount of stack space used is 0 . I
haven't run any benchmarks to see if in this particular case you get better
performance .


      parent reply	other threads:[~2011-07-27 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 11:24 [Bug target/48789] New: " edwintorok at gmail dot com
2011-04-27 11:15 ` [Bug target/48789] " edwintorok at gmail dot com
2011-04-27 11:20 ` edwintorok at gmail dot com
2011-04-27 11:20 ` edwintorok at gmail dot com
2011-07-27 16:40 ` ramana at gcc dot gnu.org [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=bug-48789-4-Sl5ioXgVC8@http.gcc.gnu.org/bugzilla/ \
    --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).