Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Support running spec tests in wasmtime#992

Merged
abrown merged 7 commits into
bytecodealliance:masterfrom
abrown:spec-tests-in-wasmtime
Sep 19, 2019
Merged

Support running spec tests in wasmtime#992
abrown merged 7 commits into
bytecodealliance:masterfrom
abrown:spec-tests-in-wasmtime

Conversation

@abrown

@abrown abrown commented Sep 6, 2019

Copy link
Copy Markdown
Member

To support running spec tests in wasmtime, I had to modify cranelift with the following commits. This is a non-exhaustive list since some spec tests are currently failing and will likely require further changes.

Comment thread cranelift-wasm/src/translation_utils.rs Outdated
Comment thread cranelift-wasm/src/translation_utils.rs Outdated
Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs
@abrown abrown force-pushed the spec-tests-in-wasmtime branch 3 times, most recently from 53d3c70 to ee4f313 Compare September 11, 2019 17:59
@abrown abrown marked this pull request as ready for review September 11, 2019 18:45
@abrown

abrown commented Sep 11, 2019

Copy link
Copy Markdown
Member Author

With these changes and #993 to avoid a test failure in spec_testsuite/address.wast, I can now run the simd_const.wast test in bytecodealliance/wasmtime#330.

Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs
Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs Outdated
Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs Outdated
Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs Outdated
@abrown abrown force-pushed the spec-tests-in-wasmtime branch from decd685 to 4f3b209 Compare September 17, 2019 17:28
@bnjbvr bnjbvr self-requested a review September 19, 2019 12:51

@bnjbvr bnjbvr left a comment

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.

Looks good to me, thanks! Can you fold the last commit with the one that introduces encodings for SIMD iadd, before merging, please?

Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs Outdated
Comment thread cranelift-codegen/meta/src/isa/x86/encodings.rs Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants