From patchwork Fri Jan 26 05:44:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 25550 Received: (qmail 5719 invoked by alias); 26 Jan 2018 05:45:02 -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 5544 invoked by uid 89); 26 Jan 2018 05:45:01 -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=Hx-languages-length:3044 X-HELO: mail-pg0-f67.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=EUaznZ/jxKPJ0jXiLS7+uXTq5x222jskEifSuCx1Bnw=; b=WfUm0tPEBYMjt8jErikTji4n8sBwT9aqijAqmaUuUbj8NNJmxRdiM9wI87UaLKqnFe Ge4qJpTFFpWHvVBexhm2iTq5jZEOdPS8mMu07TC7WWws9j8m+sodSgVd9bR1GpuWDB0e +RMHrRWtWZMtFLgI7aQsqv+j29NK2PA7jMKv2G9ltNiw+RywooVk2juv8TUfcKbvwC1E 42ITAH3l6AJe6OPKm1qxXhVBjS6Qu/51goTz3KOqPvZU/wDqsEXvY6N3+5XwsLbiQODr ARku6K2ejEAe/SZAq8vd1SnPL4nABkmZxyMadwF/NJveBVmdtUw+zMOSdXrYgZm0Qla9 8Hdg== X-Gm-Message-State: AKwxytfgi1GrZFE8NVncAqntxwdg1PJtdaDagNbkSBMSjE2ZTdyix+XT X8PKdMlvIgQEnMDOGfiPyEYOkEzOZEs= X-Google-Smtp-Source: AH8x224zsr5cq0X3EVrp1rH1bKnJTPy3MRnXBYjGKjj8zyCXT52t/kUo+qF577BGifnFpGIxl4QNAQ== X-Received: by 10.98.14.203 with SMTP id 72mr17952277pfo.163.1516945496609; Thu, 25 Jan 2018 21:44:56 -0800 (PST) Subject: [PATCH v6 02/16] Skeleton documentation for the RISC-V port Date: Thu, 25 Jan 2018 21:44:29 -0800 Message-Id: <20180126054443.22702-3-palmer@dabbelt.com> In-Reply-To: <20180126054443.22702-1-palmer@dabbelt.com> References: <20180126054443.22702-1-palmer@dabbelt.com> Cc: patches@groups.riscv.org, Andrew Waterman , dj@redhat.com, Darius Rad , 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 | 16 ++++++++++++---- README | 1 + manual/math.texi | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index ecefc5236489..6f3b9b0c8bac 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,14 @@ 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: + + - rv64imac lp64 + - 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..81fe52f08dfa 100644 --- a/README +++ b/README @@ -39,6 +39,7 @@ 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 + 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