public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/61274] New: excessive code size with large-unit-insns
@ 2014-05-21 15:27 wbrana at gmail dot com
  2014-05-22  8:29 ` [Bug driver/61274] " rguenth at gcc dot gnu.org
  2014-08-12 18:14 ` wbrana at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: wbrana at gmail dot com @ 2014-05-21 15:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61274

            Bug ID: 61274
           Summary: excessive code size with large-unit-insns
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wbrana at gmail dot com

according to docs inline-unit-growth limit is effective only when unit size is
above large-unit-insns, which means if application consists of many small units
with many inlineable functions, application size can be excessive if
inline-unit-growth wasn't applied

there should be some limit also for small units below large-unit-insns 
or 
large-unit-insns should be set to lower value e.g. 1000 instead of 10,000
or
large-unit-insns should be removed, which means inline-unit-growth is always
applied


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug driver/61274] excessive code size with large-unit-insns
  2014-05-21 15:27 [Bug driver/61274] New: excessive code size with large-unit-insns wbrana at gmail dot com
@ 2014-05-22  8:29 ` rguenth at gcc dot gnu.org
  2014-08-12 18:14 ` wbrana at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-22  8:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61274

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
it's important for benchmarks (usually small) to get excessive inlining.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug driver/61274] excessive code size with large-unit-insns
  2014-05-21 15:27 [Bug driver/61274] New: excessive code size with large-unit-insns wbrana at gmail dot com
  2014-05-22  8:29 ` [Bug driver/61274] " rguenth at gcc dot gnu.org
@ 2014-08-12 18:14 ` wbrana at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: wbrana at gmail dot com @ 2014-08-12 18:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61274

--- Comment #2 from wbrana <wbrana at gmail dot com> ---
gcc should probably support new level -O4 which will optimize for benchmarks,
which will equal to current -O3
-O3 and bellow will optimize for applications with saner "--param" values


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-12 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-21 15:27 [Bug driver/61274] New: excessive code size with large-unit-insns wbrana at gmail dot com
2014-05-22  8:29 ` [Bug driver/61274] " rguenth at gcc dot gnu.org
2014-08-12 18:14 ` wbrana at gmail dot com

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).