public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* RISC-V port
@ 2016-09-08  9:17 Stefan O'Rear
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan O'Rear @ 2016-09-08  9:17 UTC (permalink / raw)
  To: libffi-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RISC-V port
  2016-09-08 19:47 ` Tom Tromey
@ 2016-09-09  3:15   ` Stefan O'Rear
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan O'Rear @ 2016-09-09  3:15 UTC (permalink / raw)
  To: libffi-discuss

On Thu, Sep 8, 2016 at 12:47 PM, Tom Tromey <tom@tromey.com> wrote:
> Stefan> I am interested in being the responsible party to get this code into a
> Stefan> mergable condition.  I am familiar with the RISC-V ISA and calling
> Stefan> convention and with libffi's broad principles of operation, but not
> Stefan> with the details of libffi internals.
>
> Stefan> How shall we proceed?
>
> I think the best thing to do is, first, make sure the port passes the
> test suite; and, second, submit a PR on github.  Any necessary review
> can be done there.

Done.

-s

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RISC-V port
       [not found] <1473363895.17727.ezmlm@sourceware.org>
@ 2016-09-08 19:47 ` Tom Tromey
  2016-09-09  3:15   ` Stefan O'Rear
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2016-09-08 19:47 UTC (permalink / raw)
  To: libffi-discuss; +Cc: tom

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

Stefan> How shall we proceed?

I think the best thing to do is, first, make sure the port passes the
test suite; and, second, submit a PR on github.  Any necessary review
can be done there.

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-09  3:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08  9:17 RISC-V port Stefan O'Rear
     [not found] <1473363895.17727.ezmlm@sourceware.org>
2016-09-08 19:47 ` Tom Tromey
2016-09-09  3:15   ` Stefan O'Rear

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).