From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104767 invoked by alias); 19 Aug 2015 13:06:40 -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 104750 invoked by uid 89); 19 Aug 2015 13:06:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Aug 2015 13:06:32 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-37-I_k1b0NjSGKn2_QF0cakPw-1; Wed, 19 Aug 2015 14:06:27 +0100 Received: from localhost ([10.1.2.79]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Aug 2015 14:06:26 +0100 From: Richard Sandiford To: Richard Biener Mail-Followup-To: Richard Biener ,David Sherwood , GCC Patches , richard.sandiford@arm.com Cc: David Sherwood , GCC Patches Subject: Re: [PING][Patch] Add support for IEEE-conformant versions of scalar fmin* and fmax* References: <000001d0d5b0$5da4dbb0$18ee9310$@arm.com> <000001d0d8cf$2fb42770$8f1c7650$@arm.com> <000001d0d9a6$1efdc350$5cf949f0$@arm.com> <87fv3gbs36.fsf@e105548-lin.cambridge.arm.com> <8737zfbo2j.fsf@e105548-lin.cambridge.arm.com> <87y4h7a35q.fsf@e105548-lin.cambridge.arm.com> Date: Wed, 19 Aug 2015 13:16:00 -0000 In-Reply-To: (Richard Biener's message of "Wed, 19 Aug 2015 13:35:02 +0100") Message-ID: <87twrva0ml.fsf@e105548-lin.cambridge.arm.com> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-MC-Unique: I_k1b0NjSGKn2_QF0cakPw-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-08/txt/msg01080.txt.bz2 Richard Biener writes: > As an additional point for many math functions we have to support errno > which means, like, BUILT_IN_SQRT can be rewritten to SQRT_EXPR > only if -fno-math-errno is in effect. But then code has to handle > both variants for things like constant folding and expression combining. > That's very unfortunate and something we want to avoid (one reason > the POW_EXPR thing didn't fly when I tried). STRICT_FMIN/MAX_EXPR > is an example where this doesn't apply, of course (but I detest the name, > just use FMIN/FMAX_EXPR?). Still you'd need to handle both, > FMIN_EXPR and BUILT_IN_FMIN, in code doing analysis/transform. Yeah, but match.pd makes that easy, right? ;-)