Enforcing soft-float.

Jayachandran C. c.jayachandran at gmail.com
Tue Mar 13 15:06:34 UTC 2012


On Tue, Mar 13, 2012 at 8:20 PM, Juli Mallett <juli at clockworksquid.com> wrote:
> On Tue, Mar 13, 2012 at 07:41, Jayachandran C. <c.jayachandran at gmail.com> wrote:
>> On Tue, Mar 13, 2012 at 12:12 PM, Juli Mallett <juli at 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.


More information about the freebsd-mips mailing list