There has been work done on supporting multithreading with pthreads in SE
mode and I believe it does work with RISC-V.  If not, you can try these
three patches: #16768
<https://gem5-review.googlesource.com/c/public/gem5/+/16768>, #16769
<https://gem5-review.googlesource.com/c/public/gem5/+/16769>, #16848
<https://gem5-review.googlesource.com/c/public/gem5/+/16848> (note that the
last one may have a merge conflict).

As for FS mode, there is currently work being done on it, but full support
is not yet available.  I believe it is possible to run bare-metal binaries,
but not boot Linux.

On Fri, Aug 16, 2019 at 10:35 AM Francisco Carlos <juninho.u...@hotmail.com>
wrote:

> Does Risc-V support multi-threaded applications in SE mode?
>
> I would like to run a multi-core processor using Risc-V. I intend to use
> pthread to parallelize my code but i don't know if it is supported in
> Risc-V ISA with SE mode.
>
> If not, is already possible to build a full system in RISC-V ISA?
>
> can anyone help me with these questions?
>
> Thanks in advance.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------
> Francisco Carlos Silva Junior
> PhD candidate
> Computer science Departament
> University of Brasilia
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to