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

fix: Update binaryen's constants #1552

Merged
merged 6 commits into from
Nov 23, 2020
Merged

fix: Update binaryen's constants #1552

merged 6 commits into from
Nov 23, 2020

Conversation

MaxGraey
Copy link
Member

Fix #1551

@MaxGraey MaxGraey changed the title Update constants fix: Update binaryen's constants Nov 20, 2020
src/module.ts Show resolved Hide resolved
SqrtF32x4 = 87 /* _BinaryenSqrtVecF32x4 */,
CeilF32x4 = 88 /* _BinaryenCeilVecF32x4 */,
FloorF32x4 = 89 /* _BinaryenFloorVecF32x4 */,
NegI16x8 = 74 /* _BinaryenNegVecI16x8 */,
Copy link
Member

Choose a reason for hiding this comment

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

Another one missing here

Copy link
Member

Choose a reason for hiding this comment

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

This one is strange. Order should be: https://github.com/WebAssembly/binaryen/blob/68294338a1cc7337e808671e75933b1134d18a90/src/wasm.h#L163-L166

BitmaskVecI8x16
PopcntVecI8x16 // new
AbsVecI16x8
NegVecI16x8

meaning something is off here since the missing one is before AbsVecI16x8, not between AbsVecI16x8 and NegVecI16x8 hmm.

WidenHighI16x8ToI32x4 = 112 /* _BinaryenWidenHighSVecI16x8ToVecI32x4 */,
WidenLowU16x8ToU32x4 = 113 /* _BinaryenWidenLowUVecI16x8ToVecI32x4 */,
WidenHighU16x8ToU32x4 = 114 /* _BinaryenWidenHighUVecI16x8ToVecI32x4 */
TruncSatF32x4ToI32x4 = 100 /* _BinaryenTruncSatSVecF32x4ToVecI32x4 */,
Copy link
Member

Choose a reason for hiding this comment

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

And here

Copy link
Member

Choose a reason for hiding this comment

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

src/module.ts Show resolved Hide resolved
src/module.ts Show resolved Hide resolved
Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

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

Thanks, looking good to me with the comments! :)

@dcodeIO dcodeIO merged commit 00bc624 into AssemblyScript:master Nov 23, 2020
@MaxGraey MaxGraey deleted the update-renumbering branch November 23, 2020 17:36
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.

Potentially wrong SIMD opcode generation in 0.17.2
2 participants