On Sat, 18 May 2019 20:47:28 +0200 Michał Górny <mgo...@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. Note that hard vs soft float will be the least of our concerns here: Based on wikipedia, I count 4 base ISA (2 stable, 2 dev) and 13 optional extensions (6 stable, 7 dev) so we potentially have an exponential number of ABIs here...