public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Stefan O'Rear" <sorear2@gmail.com>
To: libffi-discuss@sourceware.org
Subject: RISC-V port
Date: Thu, 08 Sep 2016 09:17:00 -0000	[thread overview]
Message-ID: <CADJ6UvP0ko4x0z4t9StQesVXBF20rbn=Wvs4kgJuc2nKzNBhYQ@mail.gmail.com> (raw)

I have a [libffi
patch](https://github.com/sorear/libffi-riscv/commit/e9639dc79.diff)
which adds support for the RISC-V architecture.

*I did not write* the code in this patch; it is a cleaned up and
rebased version of a [port](https://github.com/riscv/riscv-libffi) by
Michael Knyszek et al of UC Berkeley.

RISC-V is a free and open standard instruction set architecture
originally developed at UC Berkeley and now seeing significant
interest from independent hardware vendors, with interoperable
prototypes from several independent groups.  Alex Bradbury's [recent
RFC to the LLVM
community](http://lists.llvm.org/pipermail/llvm-dev/2016-August/103748.html)
has a much better explanation of what RISC-V is and why you should
care about it.

While the privileged architecture is still in some flux, the
architecture which is visible to user space and the C calling
convention have been unchanged in nearly two years and are now
considered frozen, so ports like this one are very likely to remain
valid.

I am interested in being the responsible party to get this code into a
mergable condition.  I am familiar with the RISC-V ISA and calling
convention and with libffi's broad principles of operation, but not
with the details of libffi internals.

How shall we proceed?

-s

             reply	other threads:[~2016-09-08  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08  9:17 Stefan O'Rear [this message]
     [not found] <1473363895.17727.ezmlm@sourceware.org>
2016-09-08 19:47 ` Tom Tromey
2016-09-09  3:15   ` Stefan O'Rear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADJ6UvP0ko4x0z4t9StQesVXBF20rbn=Wvs4kgJuc2nKzNBhYQ@mail.gmail.com' \
    --to=sorear2@gmail.com \
    --cc=libffi-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).