[Bug bootstrap/70473] genautomata memory footprint for arm

2016-09-03 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70473

--- Comment #12 from Leonid Lisovskiy  ---
(In reply to ktkachov from comment #11)

r239772 seriously decreases genautomata memory consumption for ARM. As for
valgrind massif report, it requires 316MB now.
Thank you!

[Bug bootstrap/70473] genautomata memory footprint for arm

2016-09-06 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70473

--- Comment #14 from Leonid Lisovskiy  ---
(In reply to ktkachov from comment #13)
> Marking this as fixed then. Thanks for testing.

Could you repeat the same optimizations for MIPS (`xlp_cpu', `xlp_fpu')?
Should I create the separate PR for this task?

[Bug bootstrap/77510] New: genautomata memory footprint for MIPS

2016-09-07 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77510

Bug ID: 77510
   Summary: genautomata memory footprint for MIPS
   Product: gcc
   Version: 5.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: lly.dev at gmail dot com
  Target Milestone: ---

Created attachment 39578
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39578&action=edit
genautomata output MIPS32

Hello,

bootstrapping/crosscompiling gcc 5.4.0 for MIPS, genautomata uses a lot of
memory. This causes swapping/thrashing and extremely long build times on low
memory systems. According to valgrind massif report, it requires 527MB of heap
now.

genautomata output(-time -progress -stats) attached to PR. Probably we need to
try to decrease reservations for `xlp_cpu', `xlp_fpu' since simple
disable(comment out it in mips.md) of xlp support decreases heap usage down to
43MB.

Similar to bug 70473, which requests that a new bug is filed.
Thank you for your attention!

[Bug bootstrap/70473] genautomata memory footprint for arm

2016-09-08 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70473

--- Comment #16 from Leonid Lisovskiy  ---
(In reply to Andrew Pinski from comment #15)
> Yes create a separate bug report for that.

bug 77510 created, thank you for your attention!

P.S. Personally, I will be happy if automata will consume less than 256MB for
ARM & 128MB for MIPS.

[Bug bootstrap/70473] genautomata memory footprint for arm

2016-06-24 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70473

Leonid Lisovskiy  changed:

   What|Removed |Added

 CC||lly.dev at gmail dot com

--- Comment #5 from Leonid Lisovskiy  ---
Created attachment 38761
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38761&action=edit
genautomata output MIPS32

[Bug bootstrap/70473] genautomata memory footprint for arm

2016-06-24 Thread lly.dev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70473

--- Comment #6 from Leonid Lisovskiy  ---
Created attachment 38762
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38762&action=edit
genautomata output ARM

I have the same problem for both ARM(armv7-a) & MIPS platforms. By valgrind
report genautomata requires:

1) 527MB for MIPS32
2) 903MB for ARM

genautomata output(-time -progress -stats) attached to PR. Probably we need to
try to decrease reservations for `xlp_cpu', `xlp_fpu' for MIPS and
`cortex_a8_neon', `cortex_a15_neon', `cortex_a53' for ARM ??!
Is it possible?