Skip to content

Float instructions are a mix of X87 and SSE #359

@fanoI

Description

@fanoI

The majority of float operations are implemented using SSE but some are using the old X87 FP co-processor of ancient 486. While this guarantee and old retrocompatibility (all X86 has X87 instruction set implemented) forces Cosmos to that lowest common denominator.

This is the list of opcodes that are implemented using X87 instead of SSE:

  • Add
  • Add_Ovf
  • Add_Ovf_Un
  • Ceq
  • Cgt
  • Cgt_Un
  • Clt
  • Clt_Un
  • Conv_I8
  • Conv_R4
  • Conv_R8
  • Conv_R_Un
  • Conv_U8
  • Div.cs
  • Div_Un.cs
  • Mul
  • Neg
  • Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions