From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100338 invoked by alias); 21 Jan 2020 06:47:03 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 100328 invoked by uid 89); 21 Jan 2020 06:47:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=packard, Packard, HContent-Transfer-Encoding:8bit X-HELO: elaine.keithp.com Received: from home.keithp.com (HELO elaine.keithp.com) (63.227.221.253) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Jan 2020 06:46:53 +0000 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 9F5073F2A6B2 for ; Mon, 20 Jan 2020 22:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1579589211; bh=xP15uNMvXPsoFikJmvL6w3NHcweqN3sf6Vrv0o6z70A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NmLMIMmTiLHaeK0YocVG0ILjmP3NCUGoBAQzU9Y4wsNAg44wUAZlBDnCU5rx/juD1 sj/Gf5vO5zWM4dondHSh8TvTmeBJIeS9kx4uKG1eUlji6RMW0vHA/FYnTzM/4pJVwa oYZI6sSoC+5CwJ0LFEZAGwI0SzmfvXlD2ka7TISW697HOSuqIE0DeNFnmlr/XYTCdK Nx7mqgql82Vp+u73WlraAkm2BhaLx9ubUG+O1tg7XdJbTYAGH44+FrBzSGx/pFRda9 ygMc4OGIOSme/pr6PuZ8UxfyOZJhsj6TfL7Q2ls9tYpflMOWKnaPkfvW+0T60M3q99 1L7Jtod7+yuSw== Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id i0KYjrgVK6RH; Mon, 20 Jan 2020 22:46:51 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 494013F2A6AC; Mon, 20 Jan 2020 22:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1579589211; bh=xP15uNMvXPsoFikJmvL6w3NHcweqN3sf6Vrv0o6z70A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NmLMIMmTiLHaeK0YocVG0ILjmP3NCUGoBAQzU9Y4wsNAg44wUAZlBDnCU5rx/juD1 sj/Gf5vO5zWM4dondHSh8TvTmeBJIeS9kx4uKG1eUlji6RMW0vHA/FYnTzM/4pJVwa oYZI6sSoC+5CwJ0LFEZAGwI0SzmfvXlD2ka7TISW697HOSuqIE0DeNFnmlr/XYTCdK Nx7mqgql82Vp+u73WlraAkm2BhaLx9ubUG+O1tg7XdJbTYAGH44+FrBzSGx/pFRda9 ygMc4OGIOSme/pr6PuZ8UxfyOZJhsj6TfL7Q2ls9tYpflMOWKnaPkfvW+0T60M3q99 1L7Jtod7+yuSw== Received: by keithp.com (Postfix, from userid 1000) id EC06F158225D; Mon, 20 Jan 2020 22:46:50 -0800 (PST) From: Keith Packard To: newlib@sourceware.org Cc: Keith Packard Subject: [PATCH 4/4] riscv: Addfpgetroundtoi and fpsetroundtoi stubs Date: Tue, 21 Jan 2020 06:47:00 -0000 Message-Id: <20200121064637.1355843-4-keithp@keithp.com> In-Reply-To: <20200121064637.1355843-1-keithp@keithp.com> References: <20200121064637.1355843-1-keithp@keithp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2020/txt/msg00001.txt I've found no description of what these functions are supposed to do, so I'm not even going to try and implement them. Signed-off-by: Keith Packard --- newlib/libc/machine/riscv/ieeefp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/newlib/libc/machine/riscv/ieeefp.c b/newlib/libc/machine/riscv/ieeefp.c index 60ecacfc2..46e4a4b15 100644 --- a/newlib/libc/machine/riscv/ieeefp.c +++ b/newlib/libc/machine/riscv/ieeefp.c @@ -142,3 +142,13 @@ fpsetsticky(fp_except sticky) return -1; #endif /* __riscv_flen */ } + +fp_rdi fpgetroundtoi (void) +{ + return 0; +} + +fp_rdi fpsetroundtoi (fp_rdi rdi) +{ + return -1; +} -- 2.25.0.rc1