Skip to content

x87 instructions do not produce indefinite result on invalid operand #5899

Description

@simon902

On an operand that is in an unsupported format (Pseudo-NaN, Pseudo-Infinity, Unnormal), FEX's F80Fallback layer either fails to detect the invalid condition or never returns indefinite value (QNaN or packed-BCD).

Affects (at least):

  • F2XM1, FYL2X, FYL2XP1, FPATAN , FPTAN, FSIN, FCOS, FSINCOS, FBSTP.

FADD/FSUB/FMUL and so on seem to be unaffected as they use Berkeley SoftFloat primitives.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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