[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Missing feature in 5.3: LUA_FLOAT_NONE for crippled C libraries
- From: Marc Balmer <marc@...>
- Date: Sat, 17 Oct 2015 15:47:45 +0200
that's true, but not because the compiler is crippled, rather because there is no floating point math available in the kernel in general.
> Am 17.10.2015 um 15:44 schrieb Andrew Cagney <andrew.cagney@gmail.com>:
>
> To support your argument, NetBSD seems to have hacked their version
> (used #ifdef _KERNEL) so that float isn't required.
>
>> On 15 October 2015 at 13:23, Real Time <realtimelogic@gmail.com> wrote:
>> In addition to issues with exotic compilers/libraries, some Real Time
>> Operating Systems do not save the floating point registers on context
>> switches, which makes it impossible to use floating point with CPU's that
>> include hardware floating point operations. In others, one must specifically
>> enable it. For example, in VxWorks, floating point registers are not saved
>> unless a specific option is set when the thread is created.
>