From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78701 invoked by alias); 12 Jan 2017 02:35:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 77617 invoked by uid 89); 12 Jan 2017 02:35:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=frozen, 2,000, Hx-languages-length:1802, eager X-HELO: mail-pf0-f177.google.com Received: from mail-pf0-f177.google.com (HELO mail-pf0-f177.google.com) (209.85.192.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jan 2017 02:35:29 +0000 Received: by mail-pf0-f177.google.com with SMTP id 189so4181781pfu.3 for ; Wed, 11 Jan 2017 18:35:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:date:message-id; bh=KTe0SQ60CeRV1wSyevFY0ZBGxJszyC4sqXr1MkZ0FfE=; b=BDaz1mhqmNLnHWucytEpfZ4pEInDCh/Cy4mx0Ea567V6mIwEgd/jgn9chTIuhzC+oX Sku7Hi/M/TFvd0VpKgQSkUYNedqdqbd1TQ7n8oCv8ZhskIoohmA6SR3ebfHSJmeZcfjx YzNz3N1Yvqw1xNEIiplVW93kdMfyN/EN4r9eFjdLspmB7QHGIdLY7QYdD8qSYeEuRfoU OpT47UnvFW3zEqSkXx3u1cCF35U8AuHHLf6wByilYF++xRSCQdsT0qDPIXD4QPKnxdkJ S1euhR43YdYWyCUh+mAA6E+njgFWz539m9qga7y/sC5jl9gVW769al6iTL71aJorMHPH 6S8w== X-Gm-Message-State: AIkVDXLOZUoHPtuAhmn5n+7vOuObzSSaxCN0PN0F2k8Fn4gQzxeCJD1Ym2iKMQrKqJsVjA== X-Received: by 10.84.231.142 with SMTP id g14mr16944465plk.13.1484188528339; Wed, 11 Jan 2017 18:35:28 -0800 (PST) Received: from localhost (c-73-222-189-110.hsd1.ca.comcast.net. [73.222.189.110]) by smtp.gmail.com with ESMTPSA id z9sm16790560pge.44.2017.01.11.18.35.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 18:35:27 -0800 (PST) From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org Cc: Andrew Waterman Cc: kito.cheng@gmail.com Subject: New Port for RISC-V Date: Thu, 12 Jan 2017 02:35:00 -0000 Message-Id: <20170112023038.13449-1-palmer@dabbelt.com> X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00776.txt.bz2 We'd like to submit for inclusion in GCC a port for the RISC-V architecture. The port suffices to build a substantial body of software (including Linux and some 2,000 Fedora packages) and passes most of the gcc and g++ test suites; so, while it is doubtlessly not complete, we think it is far enough along to start the upstreaming process. It is our understanding that it is OK to submit this port during stage 3 because it does not touch any shared code. Our binutils port has already been accepted for the 2.28 release, and we plan on submitting glibc and Linux patch sets soon. This port targets Version 2.0 of the RV32I and RV64I base user ISAs, and the five standard extensions M, A, F, D, and C, all of which are frozen and will not change over time. The RISC-V community and the 50-some member companies of the RISC-V Foundation are quite eager to have a single, standard GCC port. We thank you in advance for your help in this process and for your feedback on the software contribution itself. These patches build on top of cac3398e5f378549d84bc2ebb6af97cfd0189b25, the latest commit in the GCC git mirror as of last night. Andrew and I will volunteer to maintain this port if it's OK with everyone. Our understanding is that the GCC steering committee decides this, and this is the correct place to contact them. We'd like to thank the various members of the RISC-V software community who have helped us with the port. Specifically we'd like to thank Kito Cheng for his work getting the GCC test suite running (and running correctly). Thanks! [PATCH 1/6] RISC-V Port: gcc/config/riscv/riscv.c [PATCH 2/6] RISC-V Port: gcc [PATCH 3/6] RISC-V Port: libgcc [PATCH 4/6] RISC-V Port: libsanitizer [PATCH 5/6] RISC-V Port: libatomic [PATCH 6/6] RISC-V Port: gcc/testsuite