From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id D01CB3857C5B for ; Mon, 6 Sep 2021 16:37:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D01CB3857C5B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: g19dDr2PGKYUtRrumj5Mbb6ptRz//tSmh27lwRZATzkbrmp0O3XOrx2r7MFcsQEJAHZ/c1xnUV Fl2JvPGOMjLK04yzNTwvmv0AZZYDPOHE/nBT81EsjnvLS2KH5vb/YsY6J747B67si9xm/RQlqJ K2lt6p0lfDL3KfK44NI3acjSdGv380fXjEeOwp4INDiNaQf10XOgiHRlObqr8qIyWYAcRjOM2P Tq0OqnhgtxOvDzeaKyCLkkuZFiw1VmgiopVlmpWIZPw09rQGPAqcsLhoOiQyTQzae0lV+1+sPc ltPzC6JYR/Psz3rx5eFMdC5C X-IronPort-AV: E=Sophos;i="5.85,272,1624348800"; d="scan'208";a="65550586" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 06 Sep 2021 08:37:15 -0800 IronPort-SDR: qRMj2QA0L7IJMOJvPU7+YV66HCdxXSUY/7RzlZXR0rE0Y8lW0mtcFT1AgrWWbOWbnz56aCgr9e jV9J4sVZzwwJvwY6yPuOU17BOhZRn4c1+IcMoqvQr7+YVGYeAkwrJM5q7ddi4lDfNf8sBhU+cp aWqn0BfpJUtwZOkDZBwb5R08cZiSUx54HfVGq6cdrccunI926lIT/rzGKvKL+eP6kbiQm7+ouj gIFdSba2YbY3FnieNYbq/IcjHEv/dNuy2gNS6E8GFKfUEIy1eArOSpqWvGYEipJ5HVV1NJHdYQ uQs= Date: Mon, 6 Sep 2021 16:37:10 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: liuhongt CC: , Subject: Re: [PATCH] Enable auto-vectorization at O2 with very-cheap cost model. In-Reply-To: <20210906084614.7974-1-hongtao.liu@intel.com> Message-ID: References: <20210906084614.7974-1-hongtao.liu@intel.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3118.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-List-Received-Date: Mon, 06 Sep 2021 16:37:18 -0000 On Mon, 6 Sep 2021, liuhongt via Gcc-patches wrote: > Hi: > As discussed in [1], most of (currently unopposed) targets want > auto-vectorization at O2, and IMHO now would be a good time to enable O2 > vectorization for GCC trunk, so it would leave enough time to expose > related issues and fix them. > > Bootstrapped and regtested on x86_64-linux-gnu{-m32,} > Ok for trunk? This needs updates to the documentation of -O2 and -ftree-vectorize in invoke.texi. -- Joseph S. Myers joseph@codesourcery.com