From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17054 invoked by alias); 13 Jun 2010 10:07:14 -0000 Received: (qmail 17034 invoked by uid 22791); 13 Jun 2010 10:07:13 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 Jun 2010 10:07:09 +0000 Received: from basil.firstfloor.org (p5B3C97FE.dip0.t-ipconnect.de [91.60.151.254]) by one.firstfloor.org (Postfix) with ESMTP id 837431A980C3; Sun, 13 Jun 2010 12:07:03 +0200 (CEST) Received: by basil.firstfloor.org (Postfix, from userid 1000) id EFB9BB1A32; Sun, 13 Jun 2010 12:07:02 +0200 (CEST) Date: Sun, 13 Jun 2010 12:35:00 -0000 From: Andi Kleen To: Ian Lance Taylor Cc: Andi Kleen , Quentin Neill , Jeff Law , "H.J. Lu" , binutils@sourceware.org, gcc@gcc.gnu.org Subject: Re: Scheduling x86 dispatch windows Message-ID: <20100613100702.GA31464@basil.fritz.box> References: <723761.44710.qm@web33003.mail.mud.yahoo.com> <4C1144F7.1040708@redhat.com> <20100610223959.GA29759@caradoc.them.org> <20100611155802.GA19042@caradoc.them.org> <87y6ekofyw.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00484.txt.bz2 > It would help compilation time a little bit, but generating the > assembly code and running the entire assembler is a fairly small > percentage of the overall compilation time--e.g., 3%. It's worth > doing a fair amount of work to speed up compilation by 3%, but linking > the assembler into gcc would be an enormous amount of work. I would Curious -- why do you think it would be that much work? I admit I haven't looked into gas code, but naively it can't be all that difficult to e.g. run gas as a thread and pass the text input through some shared memory buffer? That would likely not speed up thinks too much, but it could be a starting for more short cuts. -Andi