From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42918 invoked by alias); 3 Mar 2015 19:08:35 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 42909 invoked by uid 89); 3 Mar 2015 19:08:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Mar 2015 19:08:33 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by service87.mimecast.com; Tue, 03 Mar 2015 19:08:30 +0000 Received: from e103246vm ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 3 Mar 2015 19:08:29 +0000 From: "Wilco Dijkstra" To: "'Andrew Pinski'" Cc: "GCC Patches" References: <000a01d055dc$bc2bd660$34838320$@com> In-Reply-To: Subject: RE: [PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable Date: Tue, 03 Mar 2015 19:08:00 -0000 Message-ID: <000001d055e5$6c3e7a50$44bb6ef0$@com> MIME-Version: 1.0 X-MC-Unique: 115030319083003001 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-03/txt/msg00164.txt.bz2 > Andrew Pinski wrote: > On Tue, Mar 3, 2015 at 10:06 AM, Wilco Dijkstra wrote: > > This patch makes aarch64_min_divisions_for_recip_mul configurable for f= loat and double. This > allows > > CPUs with really fast or multiple dividers to return 3 (or even 4) if t= hat happens to be > faster > > overall. No code generation change - bootstrap & regression OK. >=20 > Are you planing on doing the optimization where you turn the divide > into recip est followed by a few steps? > Because if so then this should be changed to be handle that case too. No I don't think that will be faster. Wilco=20