From patchwork Mon Apr 7 13:19:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrylo Tkachov X-Patchwork-Id: 337465 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 77F3A1400BE for ; Mon, 7 Apr 2014 23:19:44 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=sWiJKhPHwNa6+B4ag6/1NhQxGVn4A3guPsa8U4YJerEJyD 2xMz0YVD4nm+bqVN5BdEdwc2OYeZ32RZ+/W/P2qTn8grGZzNiMfKYyu0HIs0SMsm TD86Kb704bxhSRXvW88+uoQU9mTNxLKu/MBvARhseleqR84w/jWGuWWUQB7zI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=cwL6hlL7UwbOGREdEqjQQReIvxA=; b=cxoF7UN8nhNbtR3IgapP y9aL3GvDX+HqN/hkp4YeS+mI9TvpgxsvcdxfjZQjljb3FMFMGk0BmFMsV/701mQj RvW27etN/hjbRa9cqmYS+xbLrEMHNiI1nZE5KbMpYunL8COXDKAk47p5LQHMm9q1 mj4DPCdDPrmOrWx8Dt9c6Gg= Received: (qmail 5016 invoked by alias); 7 Apr 2014 13:19:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5004 invoked by uid 89); 7 Apr 2014 13:19:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Apr 2014 13:19:35 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 07 Apr 2014 14:19:32 +0100 Received: from [10.1.208.24] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 7 Apr 2014 14:19:46 +0100 Message-ID: <5342A5E2.9020502@arm.com> Date: Mon, 07 Apr 2014 14:19:30 +0100 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH][committed] Fix couple of typos and outdated function reference in comment X-MC-Unique: 114040714193202401 X-IsSubscribed: yes Hi all, I've committed the attached patch to the introductory comment in haifa-sched.c as obvious with r209184. The function compute_block_backward_dependences was renamed to compute_block_dependences in 2007but the comment was not updated. Kyrill 2014-04-07 Kyrylo Tkachov * haifa-sched.c: Fix outdated function reference and minor grammar errors in introductory comment. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index e0d4674..2d66e5c 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see . */ /* Instruction scheduling pass. This file, along with sched-deps.c, - contains the generic parts. The actual entry point is found for + contains the generic parts. The actual entry point for the normal instruction scheduling pass is found in sched-rgn.c. We compute insn priorities based on data dependencies. Flow @@ -77,12 +77,12 @@ along with GCC; see the file COPYING3. If not see Before reload, an extended analysis of interblock data dependences is required for interblock scheduling. This is performed in - compute_block_backward_dependences (). + compute_block_dependences (). Dependencies set up by memory references are treated in exactly the same way as other dependencies, by using insn backward dependences INSN_BACK_DEPS. INSN_BACK_DEPS are translated into forward dependences - INSN_FORW_DEPS the purpose of forward list scheduling. + INSN_FORW_DEPS for the purpose of forward list scheduling. Having optimized the critical path, we may have also unduly extended the lifetimes of some registers. If an operation requires