From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by sourceware.org (Postfix) with ESMTPS id B19CF385841B; Sat, 10 Jun 2023 15:24:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B19CF385841B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-777a9ca9112so24516339f.1; Sat, 10 Jun 2023 08:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686410689; x=1689002689; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7IrHIwRNJISNIG5uaACgxrSmIS+eLvpnRJkLCucQGsI=; b=ZdOMca2zRN3cIAdmlZ9RxJra9hJyqx7bm6MeqNajSER4YC3fOrkwWOzyipL4akFn6Y 4KDQOhbqMO8vA/8UogAm0PhHJ2Un1lCSJvRiLN6ygAXUp11LtFAA0NTEck9zqyc52lxZ StpwxBUNfSoX9HfnlmQ4/FhAYNFTrYU1YPXJU1rkwnQ3uDLFJ6Tl0PRPIodJvR/VzfSL g1We/R44gLOcKYhhCmb+XhZ0xB8+El+KKi7MiljO8MfL50ZRSfJvn2hB+uJ1SY41lBla 2HdH/acAC8ZVOGqiP6id5lg+QiGRRDG2Pcii4L6+oipuLZdHQHE8DHcDSKQFP5tSEQWh YD0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686410689; x=1689002689; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7IrHIwRNJISNIG5uaACgxrSmIS+eLvpnRJkLCucQGsI=; b=hUjiRYrrLidojYWFVV3Dyk8CouekPQsFRj6Nh/6n82yg8NrzifDqkVEQIDsST0D7nL AxwDv8TMVnpmfvV0ysuQ/56Wx3XzgNOaIt+kQTLpw8VAoyVzjpM/IptSZ+HFM+HqnBuB uctz1HGvMVRGOe+It2TVszHfyvOkdpbLS3SADVF9Zftz+thsG/OGT2yFEwWVNwQVXNXo ypzvFM6fQ1WU26EUlBxspT8xKgOPsQSHV8l5/H0sqk5TRdGz/slRuPE9BJLLMxCfDSxO NJyD4P3Ze6/emQZl8rBCiZV1qdQAgPW919av1Pd/BwsSoOGHsfyM5oL98BkwRCsxj7GF d1pg== X-Gm-Message-State: AC+VfDwViczrHZKu8shP0rBNw6vuF+sKQhXKgRDl9re8bV3JzRHPCf2V QikxkTZS9mGhl5Mfucft5YJ9b0fPePEA9A== X-Google-Smtp-Source: ACHHUZ6P8sdE5ibntY1QGG+eltmYSuBICMwSR/je5QOTy1grz4rKFGrnKGePT061ezzq/7Sl7sPYiA== X-Received: by 2002:a05:6e02:1b0c:b0:33b:6751:fc71 with SMTP id i12-20020a056e021b0c00b0033b6751fc71mr3166087ilv.2.1686410688903; Sat, 10 Jun 2023 08:24:48 -0700 (PDT) Received: from smtpclient.apple ([208.103.177.80]) by smtp.gmail.com with ESMTPSA id m1-20020a02c881000000b0041f5e495cfcsm1604018jao.88.2023.06.10.08.24.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jun 2023 08:24:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: [PATCH] Fortran: add Fortran 2018 IEEE_{MIN,MAX} functions From: FX Coudert In-Reply-To: Date: Sat, 10 Jun 2023 17:24:37 +0200 Cc: sgk@troutmask.apl.washington.edu, Harald Anlauf via Fortran , gcc-patches@gcc.gnu.org, Michael Meissner Content-Transfer-Encoding: quoted-printable Message-Id: <38FC9C0B-84A0-43F9-A2B9-4F404A14E083@gmail.com> References: <34D02A51-4240-4816-B874-54D7CFFE9FC6@gmail.com> <2d99383a-b114-db00-8083-33894492252f@gmx.de> To: Thomas Koenig X-Mailer: Apple Mail (2.3731.600.7) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: Hi Thomas, > The KIND=3D17 is a bit of a kludge. It is not visible for > user programs, they use KIND=3D16, but this is then translated > to library calls as if it was KIND=3D17 if the IEEE 128-bit floats > are selected Can you check what the IEEE test results are when -mabi=3Dieeelongdouble = is enabled? It=E2=80=99s not even clear to me what the IEEE kinds selected should = be, in this case, depending on -mabi=3Dieeelongdouble > Regarding FX's patch: I am not quite sure that I am > actually testing the right thing if running the testsuite > there, so POWER should not hold up this patch. If it turns > out that POWER needs additonal work on IEEE, we can always > add that later. Actually, it sounds like the situation is: the same target can have two = ABIs based on a compile-time flag. That sounds like a job for multilib, = i.e., we should compile libgfortran twice, one for each ABI. I am sure = this was considered and rejected, do you remember what was the = rationale? Thanks, FX=