From patchwork Wed Sep 1 14:43:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Bolton X-Patchwork-Id: 63381 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]) by ozlabs.org (Postfix) with SMTP id B6A41B7220 for ; Thu, 2 Sep 2010 00:43:17 +1000 (EST) Received: (qmail 22832 invoked by alias); 1 Sep 2010 14:43:14 -0000 Received: (qmail 22823 invoked by uid 22791); 1 Sep 2010 14:43:13 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL, BAYES_05, MSGID_MULTIPLE_AT, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cam-admin0.cambridge.arm.com (HELO cam-admin0.cambridge.arm.com) (217.140.96.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 14:43:07 +0000 Received: from cam-owa1.Emea.Arm.com (cam-owa1.emea.arm.com [10.1.255.62]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id o81EfMF9000471 for ; Wed, 1 Sep 2010 15:41:22 +0100 (BST) Received: from E102352 ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 1 Sep 2010 15:43:04 +0100 From: "Ian Bolton" To: Subject: [PATCH] Typo in comment in tree-ssa-loop-prefetch Date: Wed, 1 Sep 2010 15:43:01 +0100 Message-ID: <000801cb49e3$fa74e600$ef5eb200$@bolton@arm.com> MIME-Version: 1.0 X-IsSubscribed: yes 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 Hi there, I believe the attached patch (also pasted below for ease of review) achieves the intended meaning of the comment at the top of tree-ssa-loop-prefetch.c. OK to commit? Cheers, Ian Index: gcc/tree-ssa-loop-prefetch.c =================================================================== --- gcc/tree-ssa-loop-prefetch.c (revision 163732) +++ gcc/tree-ssa-loop-prefetch.c (working copy) @@ -80,7 +80,7 @@ along with GCC; see the file COPYING3. (2) has PREFETCH_MOD 64 (3) has PREFETCH_MOD 4 (4) has PREFETCH_MOD 1. We do not set PREFETCH_BEFORE here, since - the cache line accessed by (4) is the same with probability only + the cache line accessed by (5) is the same with probability only 7/32. (5) has PREFETCH_MOD 1 as well.