Skip to content

softfloat in the kernel #14

@krytarowski

Description

@krytarowski

I ported the berkeley-softfloat-3 library to run in the NetBSD kernel.

The only difference is that we need to include different headers than the userspace ones.

I intend to merge this into the NetBSD distribution, but would you accept the patch to make berkeley-softloat-3 buildable in such environment out of the box upstream?

Another approach would be to rely on GCC/Clang defines and redefine all the *int* types from the builtin types, such as __INT_FAST64_TYPE__. It would make berkeley-softfloat-3 fully standalone.

I prefer to avoid downstream patches if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions