From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id E868639318BA for ; Thu, 8 Dec 2022 19:59:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E868639318BA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,227,1665475200"; d="scan'208";a="92175717" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 08 Dec 2022 11:59:50 -0800 IronPort-SDR: GN8usUZ/HBvu9gE657Viz+GBRWw4877i20hsWDIu4TjuR/ZZD8TYbk4CkgbhJbrjjQONuAOuAx vSmV6lEwH1R/IlgReYukUxKozp0YIbKcgBHFuxTht8PK2gFXWEgBtAvSAOQP6fSh58fqWrjyy7 Y1cq2DB/zfPQshNDeOPFLm6Ab/s/KsXt/GvSpf/s4r+bbdv23vr/7SPsPOVUYn5yM6jZoHctCA wtWiCbWGH7FCV1LaYc3r1z5TsV0x1/I5VXSDb0loo/Y3JYlN4IPk1qlccZhqcf/HedUVn3v/Et jH8= Date: Thu, 8 Dec 2022 19:59:39 +0000 From: Joseph Myers To: Ludovic Henry CC: Subject: Re: Behaviour differences on x86 and RISC-V on cos/sin functions In-Reply-To: Message-ID: <829bcea-cc3a-407c-26d5-1dac4d8e089@codesourcery.com> References: <2490b7b1-9b97-83-451-6b0bb9483c7@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3109.6 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no 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 Thu, 8 Dec 2022, Ludovic Henry wrote: > So IIUC, RISC-V behavior is expected and it should be up to the user of > libm/libc to handle the platform differences, correct? Yes, if the user cares about the payload of NaN results, it's up to the user to handle architectures that don't propagate NaN payloads in arithmetic instructions. -- Joseph S. Myers joseph@codesourcery.com