* [PATCH] Build *-match.o as early as possible
@ 2015-08-03 15:03 Segher Boessenkool
2015-08-03 15:27 ` Richard Biener
0 siblings, 1 reply; 2+ messages in thread
From: Segher Boessenkool @ 2015-08-03 15:03 UTC (permalink / raw)
To: gcc-patches; +Cc: Segher Boessenkool
The two files *-match.o files always finish building last, so if we
start building them as soon as possible (instead of pretty late) the
total build time will be less on a parallel build.
Bootstrapped and tested on powerpc64-linux. Is this okay for trunk?
Segher
2014-080-3 Segher Boessenkool <segher@kernel.crashing.org>
* Makefile.in (OBJS): Put gimple-match.o and generic-match.o first.
---
gcc/Makefile.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index be259e8..683c42a 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1162,10 +1162,12 @@ C_COMMON_OBJS = c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o \
c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o
# Language-independent object files.
-# We put the insn-*.o files first so that a parallel make will build
-# them sooner, because they are large and otherwise tend to be the
-# last objects to finish building.
+# We put the *-match.o and insn-*.o files first so that a parallel make
+# will build them sooner, because they are large and otherwise tend to be
+# the last objects to finish building.
OBJS = \
+ gimple-match.o \
+ generic-match.o \
insn-attrtab.o \
insn-automata.o \
insn-dfatab.o \
@@ -1260,8 +1262,6 @@ OBJS = \
gimple-fold.o \
gimple-laddress.o \
gimple-low.o \
- gimple-match.o \
- generic-match.o \
gimple-pretty-print.o \
gimple-ssa-isolate-paths.o \
gimple-ssa-strength-reduction.o \
--
1.8.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Build *-match.o as early as possible
2015-08-03 15:03 [PATCH] Build *-match.o as early as possible Segher Boessenkool
@ 2015-08-03 15:27 ` Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2015-08-03 15:27 UTC (permalink / raw)
To: Segher Boessenkool, gcc-patches
On August 3, 2015 5:03:05 PM GMT+02:00, Segher Boessenkool <segher@kernel.crashing.org> wrote:
>The two files *-match.o files always finish building last, so if we
>start building them as soon as possible (instead of pretty late) the
>total build time will be less on a parallel build.
>
>Bootstrapped and tested on powerpc64-linux. Is this okay for trunk?
OK.
Richard.
>
>Segher
>
>
>2014-080-3 Segher Boessenkool <segher@kernel.crashing.org>
>
> * Makefile.in (OBJS): Put gimple-match.o and generic-match.o first.
>
>---
> gcc/Makefile.in | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
>diff --git a/gcc/Makefile.in b/gcc/Makefile.in
>index be259e8..683c42a 100644
>--- a/gcc/Makefile.in
>+++ b/gcc/Makefile.in
>@@ -1162,10 +1162,12 @@ C_COMMON_OBJS = c-family/c-common.o
>c-family/c-cppbuiltin.o c-family/c-dump.o \
> c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o
>
> # Language-independent object files.
>-# We put the insn-*.o files first so that a parallel make will build
>-# them sooner, because they are large and otherwise tend to be the
>-# last objects to finish building.
>+# We put the *-match.o and insn-*.o files first so that a parallel
>make
>+# will build them sooner, because they are large and otherwise tend to
>be
>+# the last objects to finish building.
> OBJS = \
>+ gimple-match.o \
>+ generic-match.o \
> insn-attrtab.o \
> insn-automata.o \
> insn-dfatab.o \
>@@ -1260,8 +1262,6 @@ OBJS = \
> gimple-fold.o \
> gimple-laddress.o \
> gimple-low.o \
>- gimple-match.o \
>- generic-match.o \
> gimple-pretty-print.o \
> gimple-ssa-isolate-paths.o \
> gimple-ssa-strength-reduction.o \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 15:03 [PATCH] Build *-match.o as early as possible Segher Boessenkool
2015-08-03 15:27 ` Richard Biener
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).