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

Add temporary translation of Wasm's load_splat using Cranelift's load and splat instructions#1347

Merged
abrown merged 1 commit intobytecodealliance:masterfrom
abrown:add-load-splat
Jan 21, 2020
Merged

Add temporary translation of Wasm's load_splat using Cranelift's load and splat instructions#1347
abrown merged 1 commit intobytecodealliance:masterfrom
abrown:add-load-splat

Conversation

@abrown
Copy link
Member

@abrown abrown commented Jan 14, 2020

If/when Cranelift gains a load_splat instruction, the load + splat could be replaced with a single Cranelift load_splat. This change allows the simd_load_splat.wast spec test to pass.

  • This has been discussed in issue #...
  • A short description of what this does, why it is needed: see above.
  • This PR contains test cases, if meaningful: see SIMD spec tests run in wasmtime.
  • A reviewer from the core maintainer team has been assigned for this PR.

@abrown abrown requested a review from bnjbvr January 14, 2020 23:26
…oad` and `splat` instructions

If/when Cranelift gains a `load_splat` instruction, the `load + splat` could be replaced with a single Cranelift `load_splat`. This change allows the `simd_load_splat.wast` spec test to pass.
Copy link
Member

@bnjbvr bnjbvr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

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.

2 participants