qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Alistair Francis" <alistair23@gmail.com>,
	"Jean-Christophe Énée" <jean-christophe@blues-softwares.net>
Cc: qemu-devel@nongnu.org
Subject: Re: support on risc-v 128bits
Date: Mon, 26 Feb 2024 08:16:13 +0100	[thread overview]
Message-ID: <3dd4aab1-4a12-44dd-a925-b5578b387492@linaro.org> (raw)
In-Reply-To: <CAKmqyKN3zWD7Pb5_u8MiJreRZnZ8J-e1E9m-L6vuZvhq_W9u3w@mail.gmail.com>

On 26/2/24 00:57, Alistair Francis wrote:
> On Mon, Feb 26, 2024 at 9:30 AM Jean-Christophe Énée
> <jean-christophe@blues-softwares.net> wrote:
>>
>> hi,
>> i would like developpe my OS on risc-v 128 bits.
>> after search the support isn´t fully operational
> 
> We have some basic 128-bit support, but it isn't complete. The RISC-V
> spec states:
> 
> ```
> The design of the RV128I base ISA is not yet complete, and while much
> of the remainder of this specification is expected to apply to RV128,
> this version of the document focuses only on RV32 and RV64
> ```
> 
> so the spec isn't finished either. AFAIK there is also no guest
> software we can use for testing.
> 
>>
>> how can i help, and in the same learn risc-v 128 bits
> 
> At this point there isn't really too much to do. There is some basic
> support, so maybe you could try and port your OS to that? I'm not sure
> how you would compile it for 128-bit support though, as I don't think
> any compilers support 128-bits.

You can also have a look at TinyEMU from Fabrice Bellard:

https://bellard.org/tinyemu/readme.txt

- RISC-V system emulator supporting the RV128IMAFDQC base ISA (user
   level ISA version 2.2, priviledged architecture version 1.10)
   including:

   - 32/64/128 bit integer registers
   - 32/64/128 bit floating point instructions
   - Compressed instructions
   - dynamic XLEN change

...

4) Technical notes
------------------

4.1) 128 bit support

The RISC-V specification does not define all the instruction encodings
for the 128 bit integer and floating point operations. The missing
ones were interpolated from the 32 and 64 ones.

Unfortunately there is no RISC-V 128 bit toolchain nor OS now
(volunteers for the Linux port ?), so rv128test.bin may be the first
128 bit code for RISC-V !



      reply	other threads:[~2024-02-26  7:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-25 23:28 support on risc-v 128bits Jean-Christophe Énée
2024-02-25 23:57 ` Alistair Francis
2024-02-26  7:16   ` Philippe Mathieu-Daudé [this message]

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=3dd4aab1-4a12-44dd-a925-b5578b387492@linaro.org \
    --to=philmd@linaro.org \
    --cc=alistair23@gmail.com \
    --cc=jean-christophe@blues-softwares.net \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).