public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/53911] New: [SH] Improve displacement addressing @ 2012-07-10 7:38 olegendo at gcc dot gnu.org 2012-07-10 22:02 ` [Bug target/53911] " olegendo at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2012-07-10 7:38 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53911 Bug #: 53911 Summary: [SH] Improve displacement addressing Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: olegendo@gcc.gnu.org Target: sh*-*-* The address re-basing for displacement addresses could be improved by looking at all the required displacements in a function. The current approach re-bases an address on certain alignments and just hopes that the new base address will be useful and that CSE will eliminate redundant address re-base calculations. Probably a target specific RTL pass is required to accomplish this. Since address re-base calculations require additional registers it has an impact on register allocation. Thus the pass should be ran sometime after combine and before reload. On the other hand, reload itself might generate displacement addresses to access pseudos on the stack, which also produces displacement addressings. Probably it would be useful to run the pass again after reload, too. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/53911] [SH] Improve displacement addressing 2012-07-10 7:38 [Bug target/53911] New: [SH] Improve displacement addressing olegendo at gcc dot gnu.org @ 2012-07-10 22:02 ` olegendo at gcc dot gnu.org 2012-08-23 23:11 ` olegendo at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2012-07-10 22:02 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53911 --- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-10 22:01:53 UTC --- Author: olegendo Date: Tue Jul 10 22:01:44 2012 New Revision: 189416 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189416 Log: PR target/53911 * config/sh/sh.md: Remove displacement addresssing related splits. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.md ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/53911] [SH] Improve displacement addressing 2012-07-10 7:38 [Bug target/53911] New: [SH] Improve displacement addressing olegendo at gcc dot gnu.org 2012-07-10 22:02 ` [Bug target/53911] " olegendo at gcc dot gnu.org @ 2012-08-23 23:11 ` olegendo at gcc dot gnu.org 2014-07-31 16:10 ` olegendo at gcc dot gnu.org 2015-05-22 13:58 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2012-08-23 23:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53911 --- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-08-23 23:11:21 UTC --- A related paper from 2004: http://www.netgull.com/gcc/summit/2004/Addressing%20Mode%20Selection.pdf ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/53911] [SH] Improve displacement addressing 2012-07-10 7:38 [Bug target/53911] New: [SH] Improve displacement addressing olegendo at gcc dot gnu.org 2012-07-10 22:02 ` [Bug target/53911] " olegendo at gcc dot gnu.org 2012-08-23 23:11 ` olegendo at gcc dot gnu.org @ 2014-07-31 16:10 ` olegendo at gcc dot gnu.org 2015-05-22 13:58 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2014-07-31 16:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53911 --- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> --- Another offset assignment related paper: ftp://gcc.gnu.org/pub/gcc/summit/2003/Optimal%20Stack%20Slot%20Assignment.pdf ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/53911] [SH] Improve displacement addressing 2012-07-10 7:38 [Bug target/53911] New: [SH] Improve displacement addressing olegendo at gcc dot gnu.org ` (2 preceding siblings ...) 2014-07-31 16:10 ` olegendo at gcc dot gnu.org @ 2015-05-22 13:58 ` olegendo at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: olegendo at gcc dot gnu.org @ 2015-05-22 13:58 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53911 --- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> --- There is a GSoC 2015 project which will try to address the AMS problem. https://www.google-melange.com/gsoc/project/details/google/gsoc2015/erikvarga/5693417237512192 It will be initially for SH. If it works out, it can be generalized so that other targets can benefit from it, too. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-22 13:58 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-07-10 7:38 [Bug target/53911] New: [SH] Improve displacement addressing olegendo at gcc dot gnu.org 2012-07-10 22:02 ` [Bug target/53911] " olegendo at gcc dot gnu.org 2012-08-23 23:11 ` olegendo at gcc dot gnu.org 2014-07-31 16:10 ` olegendo at gcc dot gnu.org 2015-05-22 13:58 ` olegendo at gcc dot gnu.org
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).