Skip to content

Add missing symbols for llvm_round_* instructions#4662

Merged
kripken merged 2 commits intoemscripten-core:incomingfrom
badboy:add-missing-round
Oct 24, 2016
Merged

Add missing symbols for llvm_round_* instructions#4662
kripken merged 2 commits intoemscripten-core:incomingfrom
badboy:add-missing-round

Conversation

@badboy
Copy link
Copy Markdown
Contributor

@badboy badboy commented Oct 24, 2016

This was reported against Rust code here.
Tested the patch on both the provided example and through the added tests.

Copy link
Copy Markdown
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Looks great aside from that minor fix. Thanks!

Comment thread src/library.js Outdated
llvm_trunc_f64: 'Math_trunc',
llvm_floor_f32: 'Math_floor',
llvm_floor_f64: 'Math_floor',
llvm_round_f64: 'Math_round',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please change the order here, to put the f64 one first (to be consistent with the ones before)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@kripken kripken merged commit 13aa71b into emscripten-core:incoming Oct 24, 2016
@kripken
Copy link
Copy Markdown
Member

kripken commented Oct 24, 2016

Thanks again!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants