From: Alexis Ballier <aballier@gentoo.org>
To: Palmer Dabbelt <palmer@sifive.com>
Cc: mgorny@gentoo.org, gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Announcing RISC-V
Date: Thu, 30 May 2019 15:15:38 +0200 [thread overview]
Message-ID: <20190530151538.35300cd3@gentoo.org> (raw)
In-Reply-To: <mhng-882564f7-30ef-4bde-aef9-50880664d068@palmer-si-x1c4>
On Wed, 29 May 2019 10:27:34 -0700 (PDT)
Palmer Dabbelt <palmer@sifive.com> wrote:
> On Mon, 20 May 2019 02:44:18 PDT (-0700), aballier@gentoo.org wrote:
> > On Sat, 18 May 2019 20:47:28 +0200
> > Michał Górny <mgorny@gentoo.org> wrote:
> >
> >> On Fri, 2019-05-03 at 23:34 +0200, Andreas K. Huettel wrote:
> >> > * We will initially add two profiles to profile.desc:
> >> > default/linux/riscv/17.0/rv64gc/lp64d (non-multilib, 64bit
> >> > hardfloat) default/linux/riscv/17.0/rv64gc (multilib lp64d/lp64,
> >> > i.e. hard/softfloat)
> >>
> >> I still don't understand the purpose of this multilib. If you have
> >> a hardfloat CPU, why would you ever build some of the software
> >> softfloat?
> >
> > One reason I could imagine is that the hardfloat isn't IEEE 754
> > compliant. Searching through the RISC-V spec, it does not seem to be
> > the case here (ie: it is required to be compliant) so I'm also
> > wondering what is the point here.
>
> The RISC-V floating-point extensions are IEEE-754 compliant, but
> they're optional. We have chips without floating-point units, but
> right now all the Linux capable chips have FPUs. As far as I know
> there are no Linux binaries that anyone cares about that are compiled
> for systems without hardware floating-point units, but I may be wrong
> about that one.
It was my understanding that FPU is not optional for rv64gc, is that
correct ?
> The non-FPU systems are much more interesting in embedded land, where
> lots of users don't have FPUs. That's less relevant for Gentoo, but
> I do use crossdev embedded toolchains.
You'll probably not be using multilib here but rather a specific CHOST
and/or flags to enable softfloat everywhere.
[...]
Alexis.
prev parent reply other threads:[~2019-05-30 13:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 21:34 [gentoo-dev] Announcing RISC-V Andreas K. Huettel
2019-05-04 7:15 ` [gentoo-dev] " Sergei Trofimovich
2019-05-04 16:32 ` [gentoo-dev] " Tobias Klausmann
2019-05-04 16:46 ` Pengcheng Xu
2019-05-18 18:16 ` [gentoo-dev] " Andreas K. Huettel
2019-05-18 18:47 ` [gentoo-dev] " Michał Górny
2019-05-18 19:34 ` Andrew Savchenko
2019-05-18 19:45 ` Michał Górny
2019-05-19 14:42 ` William Hubbs
2019-05-20 9:44 ` Alexis Ballier
[not found] ` <mhng-882564f7-30ef-4bde-aef9-50880664d068@palmer-si-x1c4>
2019-05-30 13:15 ` Alexis Ballier [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=20190530151538.35300cd3@gentoo.org \
--to=aballier@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=mgorny@gentoo.org \
--cc=palmer@sifive.com \
/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