From patchwork Thu Apr 19 18:03:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toon Moene X-Patchwork-Id: 901423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-476643-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=moene.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="U5hDiaSJ"; dkim-atps=neutral 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 40Rn1c1KhWz9s1v for ; Fri, 20 Apr 2018 04:04:19 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=lXwLibnYy76/NWEg q5xsSY7lIesjUzxosnqiKCUih0M5kiFLXUzN/A/2dSrya1ONAepir8lz/0w5FDvO RoJvRenblUTucs8eqk+CLEyxClJpwPDfOXGSZjteww7rLxeXo2oEkCAVtdmRkbiA fDA1w2Dy1WidKp2lg770rsdNVyE= 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:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=DLGtTnhd3YcbokM+MImSwW eVn4M=; b=U5hDiaSJWUI8iA4quiuMYp7inncjLZSVf5EIhAeBo/4ZuOCnF8Tns5 yEI1ulalteIt0JCB9LuaWzanr836UkEbgQgyT8zFNbybW96WVPfeKC7tB0AV2lJ6 6uUMN+zZYCYrv/zpfoxjz05IJljx/Gss3UPCuBpnW4as58RShPKxk= Received: (qmail 104117 invoked by alias); 19 Apr 2018 18:04:12 -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 103897 invoked by uid 89); 19 Apr 2018 18:03:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT autolearn=ham version=3.3.2 spammy=netherlands, Netherlands, Hx-languages-length:1307, locality X-HELO: moene.org Received: from moene.org (HELO moene.org) (80.101.130.238) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Apr 2018 18:03:50 +0000 Received: from [::1] (helo=moene.org) by moene.org with esmtp (Exim 4.90_1) (envelope-from ) id 1f9DuO-000CvN-35 for gcc-patches@gcc.gnu.org; Thu, 19 Apr 2018 20:03:48 +0200 To: "gcc-patches@gcc.gnu.org" From: Toon Moene Subject: New option -floop-unroll-and-jam. Message-ID: <9bef76fc-0890-91f6-8144-f611191a3526@moene.org> Date: Thu, 19 Apr 2018 20:03:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 X-IsSubscribed: yes According to the Changes page for GCC 8, -floop-unroll-and-jam is enabled by default for -O3 optimization: "Two new classical loop nest optimization passes have been added. -floop-unroll-and-jam performs outer loop unrolling and fusing of the inner loop copies. -floop-interchange exchanges loops in a loop nest to improve data locality. Both passes are enabled by default at -O3 and above." However, the documentation of optimization options does not reflect this. Is the following change to the documentation acceptable ? ChangeLog 2018-04-19 Toon Moene * doc/invoke.texi: Add -floop-unroll-and-jam to options enabled by -O3. Thanks, Index: invoke.texi =================================================================== --- invoke.texi (revision 259471) +++ invoke.texi (working copy) @@ -7652,6 +7652,7 @@ -ftree-loop-distribution @gol -ftree-loop-distribute-patterns @gol -floop-interchange @gol +-floop-unroll-and-jam @gol -fsplit-paths @gol -ftree-slp-vectorize @gol -fvect-cost-model @gol