From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.devel Subject: Re: riscv files for lightening Date: Sat, 30 Jan 2021 07:14:19 -0800 Message-ID: <0f055bec-72da-1df1-4a69-f13488920ea8@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7547"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jan 30 16:14:39 2021 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5rxN-0001qt-98 for guile-devel@m.gmane-mx.org; Sat, 30 Jan 2021 16:14:37 +0100 Original-Received: from localhost ([::1]:45464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5rxM-0002F9-7k for guile-devel@m.gmane-mx.org; Sat, 30 Jan 2021 10:14:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5rxB-0002Eq-Tm for guile-devel@gnu.org; Sat, 30 Jan 2021 10:14:25 -0500 Original-Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:37464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5rxA-0006ME-GX for guile-devel@gnu.org; Sat, 30 Jan 2021 10:14:25 -0500 Original-Received: by mail-pj1-x1034.google.com with SMTP id g15so7922169pjd.2 for ; Sat, 30 Jan 2021 07:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jBOlETFkcKGu3jtLtUpb3rTd0k9hJkJizRHCy31BtYo=; b=CGlG1je69XtU+Jd9z/gHBl+XNLlEnPKjRlb4m8XRPclxXmwU505cYw0jKnBBBM0N2R eM4CLIaJdzI2Hb2Vkui/R7fotEacs4HI4SKwiNyjlFQ1JyQUpCqJSnzvGnU2Wae+TtlW U9vco2MsxYIMq18aJkJuUPyxz6my6zveg8VD/ZQEbG6EOyS1bEyr8s4paoTtjBcaE2Ku H8xLD4yQOOfK2J1Y48vR0VHBJjP3fg3ntU67mxWRGGLtioVVy/CGuT+YdeW9Ef6nHtiK E3ZvybT+724Vb08HrxlwMh+gqTwyfayFnl5rVwyl8c8UzKWADgQu/PYz0ii1YL8CPaJw qpxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jBOlETFkcKGu3jtLtUpb3rTd0k9hJkJizRHCy31BtYo=; b=j1Cf+F7lL7DdmWIDkwenLhtx8EziArTFGtiWS+zs3Aw2nnpLnA1bLjdRzGjRjkbf+F zdlY+P5dpQBfYvvgB0l6VSCvTg6/hDU0NM44X8SbsbVFJEv1lT5GLE0mwAtbYFb7i7nO fs5Yf1GaAZ3qsyy9ROOsB7BmGhbbWoDdQch3cw8iEUYauaXMm/z1soTYb9zv6719XXX/ PFvPIgkUqgGT/u6jhGHsHiI+QkE9k/uNvQp3vUZ2do5Vj0OgjRzggHP/thMy29AAGLbH SfJFj6rpQHO0oNu71FD60dcjncM0nyqs7nMN4nQ9NSWQ8snbZVhgPZnHwfJyFyVHIGE7 QlUw== X-Gm-Message-State: AOAM532Xyopel4Dbgk/u+9Q8Un7HO/xZHHN5O1fzRsGETC79CHOMP1PM zI/KTGuwMkQOK/VsCJ1YAM5qLCiLG3A= X-Google-Smtp-Source: ABdhPJwjI1oHek6kuwJHQIPCnX+KoH7Vpp8CQhv23Y5EvA4XJsHw2Z8kq4/DypICo0yPjuAIgX5riA== X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr9292071pjs.78.1612019662519; Sat, 30 Jan 2021 07:14:22 -0800 (PST) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id b27sm12577960pgb.82.2021.01.30.07.14.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jan 2021 07:14:21 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20659 Archived-At: On 1/29/21 11:13 AM, Matt Wette wrote: > Andy, > > I took a stab at porting RISC-V from lightning to lightening. > I have no riscv toolset or computer yet so these are untested. > > I copied files from sv/lightning for riscv to wingo/lightening. Patch > attached. > The changes are: > 1) copy lightning/jit_riscv{.c,-cpu.c-fpu.c,-sz.c,.h} to lightening > 2) s/include "jit_riscv/include "riscv/ > 3) s/git_int/int/ and s/git_uint/uint/ > 4) copied the JIT_RA0, etc defines from jit_private.h to riscv.c > 5) updated lightening.am > 6) updated lightening.h > > Matt > I did find github.com/riscv/riscv/riscv-gnu-toolchain. I'm going to see where that goes wrt testing. Matt