From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cc-smtpout1.netcologne.de (cc-smtpout1.netcologne.de [89.1.8.211]) by sourceware.org (Postfix) with ESMTPS id 9DB2A3856608; Thu, 8 Jun 2023 11:24:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9DB2A3856608 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=netcologne.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=netcologne.de Received: from cc-smtpin2.netcologne.de (cc-smtpin2.netcologne.de [89.1.8.202]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id EFA5312345; Thu, 8 Jun 2023 13:24:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=netcologne.de; s=nc1116a; t=1686223458; bh=HFg7lwkICWTK5felnVwcoXppQ6cMaGfwkYzWIbYbEcs=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To:From; b=PcHHpW6/nTrdLeq+Gf2fk/QBFQ9Z4Dzm7AFo66jFV7YwPoTN0qkv7vt4LhjxHpow0 lve1EB2eGQxKu5UoI8QDpnwSgRFhXe/eHDh6qpdBDMD54sKkAAWS4MeR6kI9iaKusY SofZ5V0HZ43gdhTTyqwGkCFiQp0CiB98KrM5R1LT5xHya1V765fhqssMzHEaSoDelX U/K407G1/d5MjLnrgVUm3Wv3xqhHVPKw+aSwHSsjZK5worSt2Tu74sjStj2Q1tpf63 FDuVX1oO3rFjrTzOEGAAoZaF/kJl8LFI7Q8Y7kKsDiTnLUtzYEG03K8IvY/VtbzVui XlGXDP7aCxigA== Received: from [IPV6:2001:4dd7:2d6e:0:7285:c2ff:fe6c:992d] (2001-4dd7-2d6e-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de [IPv6:2001:4dd7:2d6e:0:7285:c2ff:fe6c:992d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by cc-smtpin2.netcologne.de (Postfix) with ESMTPSA id 094BD11DBA; Thu, 8 Jun 2023 13:24:13 +0200 (CEST) Message-ID: <55d63e6d-1586-a00e-2712-effbbba6c039@netcologne.de> Date: Thu, 8 Jun 2023 13:24:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] Fortran: add Fortran 2018 IEEE_{MIN,MAX} functions Content-Language: en-US To: FX Coudert Cc: sgk@troutmask.apl.washington.edu, Harald Anlauf via Fortran , gcc-patches@gcc.gnu.org, Michael Meissner References: <34D02A51-4240-4816-B874-54D7CFFE9FC6@gmail.com> <2d99383a-b114-db00-8083-33894492252f@gmx.de> <59D8CD1C-8A4D-4C6A-982C-755F23378B34@gmail.com> From: Thomas Koenig In-Reply-To: <59D8CD1C-8A4D-4C6A-982C-755F23378B34@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-NetCologne-Spam: L X-Rspamd-Action: no action X-Rspamd-Queue-Id: 094BD11DBA X-Spamd-Bar: - X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 FX, >> Having a POWER system isn't enough, it also needs the IBM "advance >> toolchain", and (at least with current distros, which default to >> ibm long double), you need to dance counterclockwise three >> times... I mean you need to invoke configure with some special magic > > Thanks for the frank description, Thomas. To be honest, it reinforces > my feeling from when this was originally proposed and added: why> are we doing so much extra work for a feature that is used by> such a tiny fraction of our user base. Well, I can tell you why I helped in this: I like non-standard architectures, I like 128-bit floats, and I like fast execution speed of programs. And if POWER having this goes any way towards pushing Intel, AMD, or ARM towards having 128-bit floating point... well, I would like that a lot. And the need for all this magic will go away once distributions switch to IEEE QP float as default. By the way, if anybody wants to play with it, there should be no problem in getting an account on the the OSL (virtual) machine I ran this on. As for the speed difference: A simple matrix multiplication has around 50 MFlops on my home box and around 250 MFlops on the POWER9 box I am testing this on. POWER10 should double that. Best regards Thomas