From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123884 invoked by alias); 30 Sep 2019 07:03:24 -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 123875 invoked by uid 89); 30 Sep 2019 07:03:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:nycvar., nan X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Sep 2019 07:03:23 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F09B810C0937; Mon, 30 Sep 2019 07:03:21 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-90.ams2.redhat.com [10.36.116.90]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 998ED60E1C; Mon, 30 Sep 2019 07:03:21 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id x8U73JxY030062; Mon, 30 Sep 2019 09:03:19 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id x8U73HLQ030061; Mon, 30 Sep 2019 09:03:17 +0200 Date: Mon, 30 Sep 2019 07:03:00 -0000 From: Jakub Jelinek To: "Joseph S. Myers" , Richard Biener Cc: gcc-patches@gcc.gnu.org Subject: Patch ping Message-ID: <20190930070317.GD15914@tucnak> Reply-To: Jakub Jelinek References: <20190914004014.GE25273@laptop.zalov.cz> <20190921061413.GC15914@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190921061413.GC15914@tucnak> User-Agent: Mutt/1.11.3 (2019-02-01) X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg01727.txt.bz2 Hi! On Sat, Sep 21, 2019 at 08:14:13AM +0200, Jakub Jelinek wrote: > 2019-09-21 Jakub Jelinek > > PR tree-optimization/91734 > * generic-match-head.c: Include fold-const-call.h. > * match.pd (sqrt(x) cmp c): Check the boundary value and > in case inexact computation of c*c affects comparison of the boundary, > turn LT_EXPR into LE_EXPR, GE_EXPR into GT_EXPR, LE_EXPR into LT_EXPR > or GT_EXPR into GE_EXPR. Punt for sqrt comparisons against NaN and > for -frounding-math. For c2, try the next smaller or larger floating > point constant depending on comparison code and if it has the same > sqrt as c2, use it instead of c2. > > * gcc.dg/pr91734.c: New test. I'd like to ping this patch ( https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01281.html ). Thanks. Jakub