From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16727 invoked by alias); 3 Aug 2015 15:27:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 16716 invoked by uid 89); 3 Aug 2015 15:27:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f179.google.com Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 03 Aug 2015 15:27:34 +0000 Received: by wibxm9 with SMTP id xm9so126773489wib.0 for ; Mon, 03 Aug 2015 08:27:31 -0700 (PDT) X-Received: by 10.194.11.7 with SMTP id m7mr34833079wjb.56.1438615651679; Mon, 03 Aug 2015 08:27:31 -0700 (PDT) Received: from android-4c5a376a18c0e957.fritz.box (p4FE9C5DB.dip0.t-ipconnect.de. [79.233.197.219]) by smtp.gmail.com with ESMTPSA id uc3sm14140354wib.2.2015.08.03.08.27.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 08:27:30 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <09e1ad477fcb2e9f0878f1e7e27385603c77c827.1438613840.git.segher@kernel.crashing.org> References: <09e1ad477fcb2e9f0878f1e7e27385603c77c827.1438613840.git.segher@kernel.crashing.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH] Build *-match.o as early as possible From: Richard Biener Date: Mon, 03 Aug 2015 15:27:00 -0000 To: Segher Boessenkool ,gcc-patches@gcc.gnu.org Message-ID: <79836FE5-010B-4AD1-A887-00D9E0DFF637@gmail.com> X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00085.txt.bz2 On August 3, 2015 5:03:05 PM GMT+02:00, Segher Boessenkool 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 > > * 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 \