From patchwork Sat Jan 13 10:38:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 860310 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89172-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="tbembbHG"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zJbh410xXz9s83 for ; Sat, 13 Jan 2018 21:38:59 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:date:message-id:in-reply-to:references :cc:from:to; q=dns; s=default; b=I9NMmr+XZ/rldMk2jslX/em8vO9Z/ba d9XiB7r5lonbJ5Jxfpa7sKs17GgzSU6XsqpQ5iK8HcpAgO40pVMYc3GUwCAZTg7d 9QTJkEmy3uatbuaPpykiVJXaD3VyIcwNK9RkeCw35SB61HeicbYDzAByVN/GbqSO S/VMNojvZ4A4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:date:message-id:in-reply-to:references :cc:from:to; s=default; bh=sibkIZz+Dm6uv4vZSCyOOKW5Apo=; b=tbemb bHGKPAdsEmfJUaz6dkCCBLqPFlvJlNso59kUiJVEaOg48/nwcTXfP/p5T95jNbVB EiHfLcKadCJGvp7Tv9QNLak/2P7RpiQysD1OQB8b/Y8S6LxW1kazn8VCpEBHRBqv iRggTsIMzdFnbS4NOfTddiXosG1z0lAB3evV3k= Received: (qmail 97309 invoked by alias); 13 Jan 2018 10:38:47 -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 97070 invoked by uid 89); 13 Jan 2018 10:38:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 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=Skeleton X-HELO: mail-pg0-f66.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=SkGQZgyWyLQUpCQn9p6rlurY1xlUxd40rdZ4MhgR020=; b=rreiK0cKABx/8aOBNgYm340/1ID4ND5yO4OmHOp+3Qlv1Qc4wSG1lXD5YiIWdK8EL4 lzR0JbDwMr8TFyKH+jZJJJJyuBCavmErHA2mdK2O0jLldwLSrup4dxPqWeVM8hhJYXrV DQmnpe2pkXWRgcDccuJrdcqvnL9Bl1QRDs9cYmW8lSyO+gpKQhN1sR67iUFlYvns6BCQ wRaHbRGQEhnipP0BI6J68PTXJfcJiU6po634Ja8FCwYS5I+SvuEB+xDKxoVcf79IqbPj x7qSlDdbmBsuZTx88v68IBZekUJ63LWbLzbz9Y5EaY58A9xf/eA/pQk8kwqjW97NquIF WfwQ== X-Gm-Message-State: AKGB3mJ2Z0MsrfX9KSFxL/PzlISb7cWEGuWIefcHXk03Av9ES+4+AHgN vhLMrTEm3+mX7oslUfks7G6RUw== X-Google-Smtp-Source: ACJfBosZZAPHr2emJIAAjpJ/E6RIe2FC7pewWUTAM9zKXRBCnCWQjaYeqxpJ3lblFYD8Q/7Gr3Is9A== X-Received: by 10.98.159.25 with SMTP id g25mr25662458pfe.39.1515839922706; Sat, 13 Jan 2018 02:38:42 -0800 (PST) Subject: [PATCH v4 01/17] Skeleton documentation for the RISC-V port Date: Sat, 13 Jan 2018 02:38:00 -0800 Message-Id: <20180113103816.4861-2-palmer@dabbelt.com> In-Reply-To: <20180113103816.4861-1-palmer@dabbelt.com> References: <20180113103816.4861-1-palmer@dabbelt.com> Cc: patches@groups.riscv.org, Palmer Dabbelt From: Palmer Dabbelt To: libc-alpha@sourceware.org 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 | 19 +++++++++++++++---- README | 2 ++ manual/math.texi | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 79736dbee8c1..36123b596bab 100644 --- a/NEWS +++ b/NEWS @@ -40,13 +40,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. @@ -69,6 +69,17 @@ Major new features: collation ordering. Previous glibc versions used locale-specific ordering, the change might break systems that relied on that. +* 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: + + - rv32imac ilp32 + - rv32imafdc ilp32 + - rv32imafdc ilp32d + - rv64imac lp64 + - rv64imafdc lp64 + - rv64imafdc lp64d + Deprecated and removed features, and other changes affecting compatibility: * Support for statically linked applications which call dlopen is deprecated 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