From patchwork Wed Apr 22 15:14:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erick Ochoa X-Patchwork-Id: 1275155 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=theobroma-systems.com Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 496kVW06r5z9sSq for ; Thu, 23 Apr 2020 01:14:08 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBFCC385BF81; Wed, 22 Apr 2020 15:14:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail.theobroma-systems.com (vegas.theobroma-systems.com [144.76.126.164]) by sourceware.org (Postfix) with ESMTPS id B94353858D34 for ; Wed, 22 Apr 2020 15:14:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B94353858D34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=theobroma-systems.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=erick.ochoa@theobroma-systems.com Received: from mail.linser.at ([80.109.168.170]:50320 helo=Martins-MacBook-Air.local) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1jRH4d-0006jc-1E; Wed, 22 Apr 2020 17:14:03 +0200 To: gcc-patches@gcc.gnu.org From: Erick Ochoa Subject: [PATCH] Update documentation on optimizations turned on by O3 Message-ID: <7da95007-3d07-40b7-567c-50f16912fec3@theobroma-systems.com> Date: Wed, 22 Apr 2020 17:14:02 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-18.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, KAM_NUMSUBJECT, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philipp Tomsich , =?utf-8?q?Chris?= =?utf-8?q?toph_M=C3=BCllner?= Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hello, I noted that the optimizations turned on by O3 was outdated in the documentation. Here is the discussion that brought it to my attention: https://gcc.gnu.org/pipermail/gcc/2020-April/232164.html @item -O0 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e2bc2559218..a28001a5adf 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9241,14 +9241,14 @@ by @option{-O2} and also turns on the following optimization flags: -floop-unroll-and-jam @gol -fpeel-loops @gol -fpredictive-commoning @gol +-fsplit-loops @gol -fsplit-paths @gol --ftree-loop-distribute-patterns @gol -ftree-loop-distribution @gol -ftree-loop-vectorize @gol -ftree-partial-pre @gol -ftree-slp-vectorize @gol -funswitch-loops @gol --fvect-cost-model @gol +-fvect-cost-model=dynamic @gol -fversion-loops-for-strides}