From patchwork Tue Mar 8 13:39:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrill Tkachov X-Patchwork-Id: 594207 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 C9274140BAC for ; Wed, 9 Mar 2016 00:39:38 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=VIUCRLsa; dkim-atps=neutral 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=rj6GN5H2Yaqk4dff1GJa0RAODDXEP1+xUrmrBTYOoZBKe5 k98jEUrV4WbgE2xeLm5HNXjo4X1i5VQj+9f07lf0Fjf1NpAoFh6ePojIrrEs/k57 UR25XI72Ux/C39IalVvwqrv148HjSGP3ld2qa2erhiffkgbHEguzon0kF+WhQ= 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=/oJtm26i/X4Op66fKOuK7nHAlWs=; b=VIUCRLsa2pr2zy3NbM8H tlBsF/yE+lHN5g84E48AvgEBkGBL3n3AexGu20xMU7JzCtyTxZicvNbpXJSvgxXF tFKqwzcFzgwBIahl/zh/0z/CmGu6AS/35uHaQk7vSCKfEnB6TDuLjGI45vOJLcK3 qx3ReoI96ip7PdTtmvWcxso= Received: (qmail 76746 invoked by alias); 8 Mar 2016 13:39:28 -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 76731 invoked by uid 89); 8 Mar 2016 13:39:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*u:31.2.0, H*UA:31.2.0, divisions X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 08 Mar 2016 13:39:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7CFA49 for ; Tue, 8 Mar 2016 05:38:17 -0800 (PST) Received: from [10.2.206.200] (e100706-lin.cambridge.arm.com [10.2.206.200]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 941963F21A for ; Tue, 8 Mar 2016 05:39:15 -0800 (PST) Message-ID: <56DED601.5000100@foss.arm.com> Date: Tue, 08 Mar 2016 13:39:13 +0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH][obvious] Fix typo in tree-ssa-math-opts.c Committed as obvious. Thanks, Kyrill 2016-03-08 Kyrylo Tkachov * tree-ssa-math-opts.c: Fix typo in comment. diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 2215b4dc709213730a92b533f8774464a36efaf4..4626022b8b81c74e72d808d63d4c4ed4e7ea963a 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -42,7 +42,7 @@ along with GCC; see the file COPYING3. If not see First of all, with some experiments it was found out that the transformation is not always useful if there are only two divisions - hy the same divisor. This is probably because modern processors + by the same divisor. This is probably because modern processors can pipeline the divisions; on older, in-order processors it should still be effective to optimize two divisions by the same number. We make this a param, and it shall be called N in the remainder of