From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 8259A395BC4B for ; Thu, 8 Dec 2022 20:07:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8259A395BC4B 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="88877965" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 08 Dec 2022 12:07:08 -0800 IronPort-SDR: r94uU6drouNbouBbs7ICVg46haRfidhyLzIkKpdYk5iGZFURxCrjie+B29Fi4E2PSj5ysyPO/8 n0/Tga03weeBjPuQZ+JCJlNvZDrgkfBgj8DfKx1Aqw+laJ4pSr9LkMIsAN3JHoaD+X+k/v29pj ibcM6BJ2WFq4shQskcEOSmWFZJ6nb9yaywCyhFqshZr9rfR0e25t3wdOqlP8u7t3vNUcDr6++j 6PX+/wNTd+fF8KykPf5/Sh0Fy7dY3vH3dsXt549CTs48SoZpE/bquFg2XjpSqNyxrreE52RMWT Ix8= Date: Thu, 8 Dec 2022 20:06:59 +0000 From: Joseph Myers To: Palmer Dabbelt CC: , Subject: Re: Behaviour differences on x86 and RISC-V on cos/sin functions In-Reply-To: Message-ID: <9add23f-a02c-f5a3-298e-d0b95d52c219@codesourcery.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) 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, Palmer Dabbelt wrote: > So it's OK to follow the RISC-V rules for library functions? We don't have Yes (only a few functions such as fabs and copysign need to do anything in particular regarding NaN payloads or signs). > In other words: it's safe to call this behavior not a bug? Correct. -- Joseph S. Myers joseph@codesourcery.com