Skip to content

Future direction of SoftFloat and its development model #5

@stsquad

Description

@stsquad

The QEMU project makes extensive use of SoftFloat to model floating point instructions. The source in QEMU's tree is based on SoftFloat2a due to later incompatibilities in the licensing. It has also seen a number of additions over time including specialisation for the various architectures we emulate. Perhaps the biggest one being augmenting the API to pass *float_status to the various operations. This needed to be done as the CPUs we emulate often have different FPU contexts so the floating point flags shouldn't interfere with each other.

As time has moved on and more recent processor revisions require additional features from later revisions of IEE754 we are faced with a dilemma of how to move forward. We can either keep adding features to our copy of 2a or instead port our code to use 3c and it track its future development. However given our extensive changes this doesn't make sense if our internal copy is going to have to be significantly modified and diverge again from the upstream. So this leads to a couple of questions:

  • What are the development goals of SoftFloat?
    • why was it originally written and who are its target users?
  • Is SoftFloat in active development?
    • under history it is mentioned UC Berkley funded v3. Is this an ongoing commitment or was there a goal in mind?
    • is the project interested in taking patches from the wider community?
  • What is SoftFloat's development model?
    • The homepage just suggests mailing John directly but there is this repository. Is future development now here or is this just a fork for the Berkley team?

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