public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM
@ 2014-04-02 22:40 bernd.edlinger at hotmail dot de
  2014-04-03  6:49 ` [Bug bootstrap/60743] " bernd.edlinger at hotmail dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-04-02 22:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60743
           Summary: build/genautomata uses 700 MB memory for ARM
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de

build/genautomata ../../gcc-4.9-trunk/gcc/config/arm/arm.md \
          insn-conditions.md > tmp-automata.c

=> uses way too much memory/takes too long to complete.

this was observed, when building a cross compiler for arm-linux-gnueabi
on a i686-pc-linux-gnu system.

This build-step used significantly less memory in the past.


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
@ 2014-04-03  6:49 ` bernd.edlinger at hotmail dot de
  2014-04-03  7:36 ` bernd.edlinger at hotmail dot de
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-04-03  6:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
current snapshot gcc-4.9-20140330, trunk revision 208948
uses 773 MB peak memory.

last week's snapshot gcc-4.9-20140323, trunk revision 208775
used only 417 MB peak memory, which did not cause problems.


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
  2014-04-03  6:49 ` [Bug bootstrap/60743] " bernd.edlinger at hotmail dot de
@ 2014-04-03  7:36 ` bernd.edlinger at hotmail dot de
  2014-04-03  7:59 ` bernd.edlinger at hotmail dot de
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-04-03  7:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
started with r208910 of gcc/config/arm/cortex-a53.md

as it looks like, this single check-in did almost double the memory usage!


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
  2014-04-03  6:49 ` [Bug bootstrap/60743] " bernd.edlinger at hotmail dot de
  2014-04-03  7:36 ` bernd.edlinger at hotmail dot de
@ 2014-04-03  7:59 ` bernd.edlinger at hotmail dot de
  2014-04-03  8:04 ` ktkachov at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bernd.edlinger at hotmail dot de @ 2014-04-03  7:59 UTC (permalink / raw)
  To: gcc-bugs

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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

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

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Kyrill,

sorry, to bother you with this,
but do you see any possibility to
return to the previous memory footprint?

Thanks
Bernd.


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
                   ` (2 preceding siblings ...)
  2014-04-03  7:59 ` bernd.edlinger at hotmail dot de
@ 2014-04-03  8:04 ` ktkachov at gcc dot gnu.org
  2014-04-03 17:10 ` ktkachov at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-04-03  8:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from ktkachov at gcc dot gnu.org ---
(In reply to Bernd Edlinger from comment #3)
> Kyrill,
> 
> sorry, to bother you with this,
> but do you see any possibility to
> return to the previous memory footprint?

I'll have a look.


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
                   ` (3 preceding siblings ...)
  2014-04-03  8:04 ` ktkachov at gcc dot gnu.org
@ 2014-04-03 17:10 ` ktkachov at gcc dot gnu.org
  2014-04-03 21:17 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-04-03 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-03
     Ever confirmed|0                           |1

--- Comment #5 from ktkachov at gcc dot gnu.org ---
The problem is exacerbated by my patch, but the root cause for the state-space
explosion seems to be the extremely large reservation duration for the floating
point div reservations.
I'll see if we can reduce them without any negative impact on codegen quality.


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
                   ` (4 preceding siblings ...)
  2014-04-03 17:10 ` ktkachov at gcc dot gnu.org
@ 2014-04-03 21:17 ` pinskia at gcc dot gnu.org
  2014-04-04 15:48 ` ktkachov at gcc dot gnu.org
  2014-04-04 15:49 ` ktkachov at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-04-03 21:17 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 60752 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
                   ` (5 preceding siblings ...)
  2014-04-03 21:17 ` pinskia at gcc dot gnu.org
@ 2014-04-04 15:48 ` ktkachov at gcc dot gnu.org
  2014-04-04 15:49 ` ktkachov at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-04-04 15:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Apr  4 15:47:45 2014
New Revision: 209119

URL: http://gcc.gnu.org/viewcvs?rev=209119&root=gcc&view=rev
Log:
[ARM/AArch64] Reduce divider reservation duration in Cortex-A53 pipeline
decription

    PR bootstrap/60743
    * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
    duration.
    (cortex_a53_fdivd): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/cortex-a53.md


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

* [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
  2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
                   ` (6 preceding siblings ...)
  2014-04-04 15:48 ` ktkachov at gcc dot gnu.org
@ 2014-04-04 15:49 ` ktkachov at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-04-04 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from ktkachov at gcc dot gnu.org ---
Should be fixed on trunk now.


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

end of thread, other threads:[~2014-04-04 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 22:40 [Bug bootstrap/60743] New: build/genautomata uses 700 MB memory for ARM bernd.edlinger at hotmail dot de
2014-04-03  6:49 ` [Bug bootstrap/60743] " bernd.edlinger at hotmail dot de
2014-04-03  7:36 ` bernd.edlinger at hotmail dot de
2014-04-03  7:59 ` bernd.edlinger at hotmail dot de
2014-04-03  8:04 ` ktkachov at gcc dot gnu.org
2014-04-03 17:10 ` ktkachov at gcc dot gnu.org
2014-04-03 21:17 ` pinskia at gcc dot gnu.org
2014-04-04 15:48 ` ktkachov at gcc dot gnu.org
2014-04-04 15:49 ` ktkachov 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).