From patchwork Thu Jan 25 04:36:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 25510 Received: (qmail 18338 invoked by alias); 25 Jan 2018 04:36:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 18321 invoked by uid 89); 25 Jan 2018 04:36:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.0 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.2 spammy= X-HELO: mail-pf0-f196.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=W1c7XMk9ah1sZH53B2ed2zKVVYHoyoCgnAtxbvK7rtM=; b=VXcOwZhXNLOhg8KE39n5W8hWnoH1TDsXsODhfwStx8NwGYUlgYniABP3iIT5U2vzX+ Jv8bg+9++ROjdeDbQ9LScV8U5O2u0Giqu7brUgGQtIIj9V6bIbwmjVBRRx0uQBBdT+7U XVkMezGktM1o2B05y3oQtL3dcaPAUmiZ9prH1yoWCgcSgWV8F+N+f3i4LqN7PXNk4J0X SCsT2qQiSLOZ6uTaA+qSKNYCXiFbpqtdh1H2DvggW5Giv7DYVpAkmHbb313boos/X1xU MOKhSPhcgBblBot2NjFw6exM2R7d8RCvttSuR7yET8yBtw0a1jDkYtg6c5T8VJLPHe19 ouzQ== X-Gm-Message-State: AKwxyteTB2LCOKtPIEpG0p5KRE7xlNZ2w5GW1A/Bdlm3hb94tD3o7/DG pL6EGF08VDmeW8f2VwIWKGe2JQ== X-Google-Smtp-Source: AH8x227zm6fcKcXbzs00ufEgbvYvjyhfVNot0dCGGVJ3SDkNltt5G3uk7ujH5G8g1Z9/NRR+NTQOdg== X-Received: by 10.98.87.2 with SMTP id l2mr14655024pfb.46.1516854993461; Wed, 24 Jan 2018 20:36:33 -0800 (PST) Subject: [PATCH 01/17] Skeleton documentation for the RISC-V port Date: Wed, 24 Jan 2018 20:36:05 -0800 Message-Id: <20180125043621.19972-2-palmer@dabbelt.com> In-Reply-To: <20180125043621.19972-1-palmer@dabbelt.com> References: <20180125043621.19972-1-palmer@dabbelt.com> Cc: Andrew Waterman , Darius Rad , dj@redhat.com, patches@groups.riscv.org, Palmer Dabbelt From: Palmer Dabbelt To: libc-alpha@sourceware.org, joseph@codesourcery.com During the upstreaming process it was suggested that I add a handful of small documentation entries about the RISC-V port, which I've collected here. 2018-01-13 Palmer Dabbelt * manual/math.texi: RISC-V supports _Float128 and _Float64x --- NEWS | 15 +++++++++++---- README | 2 ++ manual/math.texi | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index ecefc5236489..4cd77c1e2f98 100644 --- a/NEWS +++ b/NEWS @@ -41,13 +41,13 @@ Major new features: process aborts as the result of assertion failures. * On platforms where long double has the IEEE binary128 format (aarch64, - alpha, mips64, s390 and sparc), the math library now implements _Float128 - interfaces for that type, as defined by ISO/IEC TS 18661-3:2015. These - are the same interfaces added in version 2.26 for some platforms where + alpha, mips64, riscv, s390 and sparc), the math library now implements + _Float128 interfaces for that type, as defined by ISO/IEC TS 18661-3:2015. + These are the same interfaces added in version 2.26 for some platforms where this format is supported but is not the format of long double. * On platforms with support for _Float64x (aarch64, alpha, i386, ia64, - mips64, powerpc64le, s390, sparc and x86_64), the math library now + mips64, powerpc64le, riscv, s390, sparc and x86_64), the math library now implements interfaces for that type, as defined by ISO/IEC TS 18661-3:2015. These are corresponding interfaces to those supported for _Float128. @@ -98,6 +98,13 @@ Major new features: to fail to load locales and fall back to the builtin C/POSIX locales. See notes below for other changes affecting compatibility. +* Support for the RISC-V ISA running on Linux has been added. This port + requires at least binutils-2.30, gcc-7.3.0, and linux-4.15; and is supported + for the following ISA and ABI pairs: + + - rv64imafdc lp64 + - rv64imafdc lp64d + Deprecated and removed features, and other changes affecting compatibility: * Statically compiled applications attempting to load locales compiled for the diff --git a/README b/README index d0e99ea7d5a0..425a82956fc8 100644 --- a/README +++ b/README @@ -39,6 +39,8 @@ The GNU C Library supports these configurations for using Linux kernels: powerpc64*-*-linux-gnu Big-endian and little-endian. s390-*-linux-gnu s390x-*-linux-gnu + riscv32-*-linux-gnu + riscv64-*-linux-gnu sh[34]-*-linux-gnu sparc*-*-linux-gnu sparc64*-*-linux-gnu diff --git a/manual/math.texi b/manual/math.texi index a9f2a9813832..d19a14b47dc3 100644 --- a/manual/math.texi +++ b/manual/math.texi @@ -70,7 +70,7 @@ provided for @code{_Float32}, @code{_Float64} and @code{_Float32x} on all platforms. It is also provided for @code{_Float128} and @code{_Float64x} on powerpc64le (PowerPC 64-bits little-endian), x86_64, x86, ia64, -aarch64, alpha, mips64, s390 and sparc. +aarch64, alpha, mips64, riscv, s390 and sparc. @menu * Mathematical Constants:: Precise numeric values for often-used