From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67682 invoked by alias); 14 Sep 2015 20:21:43 -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 67672 invoked by uid 89); 14 Sep 2015 20:21:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Sep 2015 20:21:42 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZbaFu-0002VE-J6 from joseph_myers@mentor.com ; Mon, 14 Sep 2015 13:21:38 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Mon, 14 Sep 2015 21:21:37 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1ZbaFr-0006dZ-Ut; Mon, 14 Sep 2015 20:21:36 +0000 Date: Mon, 14 Sep 2015 20:38:00 -0000 From: Joseph Myers To: Richard Biener CC: David Sherwood , GCC Patches , Richard Sandiford Subject: Re: [PING][Patch] Add support for IEEE-conformant versions of scalar fmin* and fmax* In-Reply-To: Message-ID: 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> <87twrva0ml.fsf@e105548-lin.cambridge.arm.com> <000001d0eed9$48ed0070$dac70150$@arm.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2015-09/txt/msg00982.txt.bz2 On Mon, 14 Sep 2015, Richard Biener wrote: > To make progess here I think adding new optabs is fine. So can you > split out that part and implement builtin expanders > for fmin/max instead? > > Btw, FMIN/MAX_EXPR are not commutative AFAIK because of behavior for > fmax (-NaN, NaN) > vs. fmax (NaN, -NaN)? For those cases, it's unspecified which NaN is returned, so they can be considered commutative (and likewise for the case when the arguments are 0 and -0). -- Joseph S. Myers joseph@codesourcery.com