From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id E955E3857402 for ; Mon, 29 Aug 2022 14:31:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E955E3857402 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661783463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fJoRHZOQYKfDTvsmgD6DrmB/6VPGd23roq8/5irAF2Y=; b=b+jO/fa481MbWOUh5y3eAG3inw98SmqWcbCZ3ltRRxoXXsPKkdNXhp6uR2vBugPGFJNa35 axeqsSDAY+aRvus7u3vKAshh3nhnYF30+cnEe0eI5mqBgoqwPre2Sb0CDlS0CIdzp4ZOLE AedYJoC5WWyvmXeCuuUqjkICqeTGtS8= Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-623-8fTL1u_FPk-aA4rCdPIyjg-1; Mon, 29 Aug 2022 10:31:01 -0400 X-MC-Unique: 8fTL1u_FPk-aA4rCdPIyjg-1 Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-11f01b0a51aso438633fac.19 for ; Mon, 29 Aug 2022 07:31:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=fJoRHZOQYKfDTvsmgD6DrmB/6VPGd23roq8/5irAF2Y=; b=3i/rCR5kMOiidzGzj1lcJW8LDkvd0AhRvGgyzNXlhTmLF21ZPAqN6gMkvGmtmUOFAY 82LiJjth+hWHzcKVBliuba7AiJSzlstAEJAy82JFbZe7Tzhfh3dMirWq68uGt2Sgb/ZU iLyVvKa9T7cqRqdRWPtxd7VDmqURT49ZAB/j2tQgzfbw9bK2wO2HUUFUtlu+Pt9RSF84 6//yO4IIjru5917jQYTy/oKFqeFGeP0pmgc8e4RadcYy/kr3o2B3+IR1DcxQFiiOBiCI ID4Zy7ocVgB8exPOARn2QdtYqW2R78LTz24b9g0W+3zCQx4G5nSXNdKF13Qe+CHhzK8O HiKw== X-Gm-Message-State: ACgBeo06CV05y5GPDeWD+55r5spGs8UyS+8Pse7WVgsC4BRqXEA7oyfA guJZqLe1f2tenZwFyCMq6b4ZZfnpF0CXHJJoxx4Souhecvu5llzIaQQ6gplH/+uE+kXRbLusNcp Ahn6wVGdjQgO3MQVzkD/0AAc6dSSkEOFHOw== X-Received: by 2002:a05:6808:f0f:b0:343:2e0e:ac52 with SMTP id m15-20020a0568080f0f00b003432e0eac52mr7442423oiw.36.1661783461089; Mon, 29 Aug 2022 07:31:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/+czH2RPYNvTkMkkhbtztTGtV5kzJ5R41wjuWRD9kTjnre0rD1P9xuYvK2Z/o3aWOnU6Jbt8CB0d4MP46aB0= X-Received: by 2002:a05:6808:f0f:b0:343:2e0e:ac52 with SMTP id m15-20020a0568080f0f00b003432e0eac52mr7442413oiw.36.1661783460911; Mon, 29 Aug 2022 07:31:00 -0700 (PDT) MIME-Version: 1.0 References: <20220823114224.904934-1-aldyh@redhat.com> In-Reply-To: From: Aldy Hernandez Date: Mon, 29 Aug 2022 16:30:49 +0200 Message-ID: Subject: Re: [PATCH] Add support for floating point endpoints to frange. To: Jakub Jelinek Cc: GCC patches , Andrew MacLeod , Andrew Pinski X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, Aug 29, 2022 at 4:27 PM Jakub Jelinek wrote: > > On Mon, Aug 29, 2022 at 04:20:16PM +0200, Aldy Hernandez wrote: > > Sure, I can add the HONOR_NANS, but can we even "see" a NAN in the IL > > for -ffinite-math-only? > > Sure, you can, e.g. __builtin_nan{,s}{,f,l} etc. would do it. > It would be UB to use it at runtime in -ffinite-math-only code though. > Another question is, when making a range VARYING, do you set the NAN > property or not when !HONOR_NANS && MODE_HAS_NANS? A range of VARYING sets the NAN property to unknown (fp_prop::VARYING). If you prefer we can set the property to fp_prop::NO for !HONOR_NANS && MODE_HAS_NANS. ?? Aldy