Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 20:36:32 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        Juli Mallett <juli@clockworksquid.com>
Cc:        "freebsd-mips@FreeBSD.org" <freebsd-mips@freebsd.org>
Subject:   Re: Enforcing soft-float.
Message-ID:  <CA%2B7sy7DVk6_gwMGBQYsaQ=oyxJbnjN7nP8u-Hwb5TTP8VZqKGQ@mail.gmail.com>
In-Reply-To: <CACVs6=-WCeOB5q-pLzXgfjT5802KvnD%2B8Xy6h2b7sy9inWF27Q@mail.gmail.com>
References:  <CACVs6=9oPR0O0M9VorxY6L7xgRn3JBQqwrJ4M4_j9ZELER7Pmg@mail.gmail.com> <CA%2B7sy7DOOiSBUAT_zQRFfDmgGWwNMT80fciohr=S2mM6fEMDKg@mail.gmail.com> <CACVs6=-WCeOB5q-pLzXgfjT5802KvnD%2B8Xy6h2b7sy9inWF27Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, Mar 13, 2012 at 8:20 PM, Juli Mallett <juli@clockworksquid.com> wrote:
> On Tue, Mar 13, 2012 at 07:41, Jayachandran C. <c.jayachandran@gmail.com> wrote:
>> On Tue, Mar 13, 2012 at 12:12 PM, Juli Mallett <juli@clockworksquid.com> wrote:
>>> Greetings, people of mips@,
>>>
>>> I think that at least with 64-bit kernels, MipsFPTrap should kill the
>>> running program.  Does anyone object to this?  The FP code is not even
>>> remotely 64-bit safe.  I don't care/dare to correct it.  Does anyone?
>>
>> Looks like we share this code with NetBSD. I have not looked in
>> detail, but the NetBSD code seems to have the ifdefs for n64. Any idea
>> if we can just import it?
>
> We could, and we could update MipsFPTrap and friends from NetBSD (or
> even do it by hand), but that's not something I want to do since I
> don't need to run binaries compiled to use hardware floating point.

I think we will need to support building hard-float and soft-float
user-space.  I was looking at this for XLP before I got pulled into
other things.

FP emulation can be useful in that environment.  But now, you could
just take out the whole thing.

JC.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7sy7DVk6_gwMGBQYsaQ=oyxJbnjN7nP8u-Hwb5TTP8VZqKGQ>