From patchwork Fri Jul 18 15:39:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horst Schirmeier X-Patchwork-Id: 371633 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 00EED140088 for ; Sat, 19 Jul 2014 01:39:18 +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:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=YF5LXrOtCpIw9yVBiRlPk0N0i2OFaseyTpC9t45pJurmSIilnYU8N 6S+0neeQrL1bePv0Gaa5nCZ0i7QIE/8EKEgGZv4uKEYxqXsrgpPNV+awXEfGn+zp 3rOS5cvaawaU78zWIXDulROrc9M/4805TJHBI/f87USTJdDYR2am54= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=0L9s0W+vPHXm/z/9iD+mauT1TVY=; b=okhhdRXd1MCqkc4xIs+c rRpZ5sVPStxTNHu2aJlFK1N4O5bzBWbo/VxBsx0aZHDh0Dvb7Xw1lY8gD96XVFIl 4Yx1+8BKI2aaYGkFn4WhCODAPsksU2eLK0l6H0HQXOWTQ/ONog7Jn+WyN9ws/rjz LpnPrm1uzZSSZY59SIO3Vxc= Received: (qmail 2030 invoked by alias); 18 Jul 2014 15:39:10 -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 2010 invoked by uid 89); 18 Jul 2014 15:39:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: quickstop.soohrt.org Received: from quickstop.soohrt.org (HELO quickstop.soohrt.org) (85.131.246.152) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Jul 2014 15:39:07 +0000 Received: (qmail 9274 invoked by uid 1014); 18 Jul 2014 15:39:03 -0000 Date: Fri, 18 Jul 2014 17:39:03 +0200 From: Horst Schirmeier To: gcc-patches@gcc.gnu.org Subject: [PATCH, DOC] -O3 enables -ftree-loop-distribute-patterns Message-ID: <20140718153902.GH10719@quickstop.soohrt.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi, when reading the gcc/opts.c sources, I noticed that the docs don't mention -ftree-loop-distribute-patterns along the other switches enabled with -O3. This documentation was missing since this option's introduction in SVN r162822 and should be backported to the 4.6, 4.7, 4.8 and 4.9 branches (if still alive). 2014-07-18 Horst Schirmeier * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b5e8d98..b0a8eb8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7030,6 +7030,7 @@ Optimize yet more. @option{-O3} turns on all optimizations specified by @option{-O2} and also turns on the @option{-finline-functions}, @option{-funswitch-loops}, @option{-fpredictive-commoning}, @option{-fgcse-after-reload}, @option{-ftree-loop-vectorize}, +@option{-ftree-loop-distribute-patterns}, @option{-ftree-slp-vectorize}, @option{-fvect-cost-model}, @option{-ftree-partial-pre} and @option{-fipa-cp-clone} options.