Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For floating point operations, allow inputs to be arbitrary, including SNaNs. #883

Merged
merged 6 commits into from
Oct 25, 2019

Commits on Oct 17, 2019

  1. For floating point operations, allow inputs to be arbitrary, includin…

    …g SNaNs.
    
    Instead of ensuring outputs are arithmetic NaNs on every function, we tag them as pending such a check, so that a sequence of computation can have a single canonicalization step at the end.
    
    There's an extra wriggle for SIMD. The Wasm type system only indicates them as V128, so it's possible that we might do computations as F32x4Add, I8x16Add, F64x2Add in a row with no other computations in between. Thus, most SIMD functions apply pending canonicalizations to their inputs, even integer SIMD operations.
    nlewycky committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    2c5c1b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf16f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Configuration menu
    Copy the full SHA
    813f641 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d3aef6 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Configuration menu
    Copy the full SHA
    1a91f0e View commit details
    Browse the repository at this point in the history
  2. Add changelog entry.

    nlewycky committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    dae9949 View commit details
    Browse the repository at this point in the history