Skip to content

Update binaryen again#1481

Merged
dcodeIO merged 6 commits into
AssemblyScript:masterfrom
MaxGraey:update-binaryen1
Oct 6, 2020
Merged

Update binaryen again#1481
dcodeIO merged 6 commits into
AssemblyScript:masterfrom
MaxGraey:update-binaryen1

Conversation

@MaxGraey
Copy link
Copy Markdown
Member

@MaxGraey MaxGraey commented Oct 1, 2020

  • I've read the contributing guidelines

@MaxGraey MaxGraey marked this pull request as ready for review October 2, 2020 01:04
@MaxGraey MaxGraey added dependencies Pull requests that update a dependency file enhancement performance labels Oct 2, 2020
@MaxGraey MaxGraey requested a review from dcodeIO October 2, 2020 07:58
Comment thread src/module.ts
this.setOptimizeLevel(optimizeLevel);
this.setShrinkLevel(shrinkLevel);
this.setDebugInfo(debugInfo);
this.setFastMath(true);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compare with clang's ffast-math It's much safer and just don't care about NaN bits consistency for non-canonical NaNs and accept only safe optimizations like x * 1.0 -> x, x / 1.0 -> x, x * -1.0 -> -x, x - 0.0 -> x, and still doesn't allow unsafe ones like x + 0.0 -> x, x - x -> 0 and etc.

So always turn it on by default.

@dcodeIO dcodeIO merged commit de022c9 into AssemblyScript:master Oct 6, 2020
@dcodeIO
Copy link
Copy Markdown
Member

dcodeIO commented Oct 6, 2020

Thanks! :)

@MaxGraey MaxGraey deleted the update-binaryen1 branch October 6, 2020 05:37
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 7, 2020

🎉 This PR is included in version 0.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

dependencies Pull requests that update a dependency file enhancement performance released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants