Stream: git-wasmtime

Topic: wasmtime / PR #5196 [RFC] Support big- and little-endian ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2022 at 12:03):

uweigand opened PR #5196 from bitcast-lanes to main:

Add a MemFlags operand to the bitcast instruction, where only the big and little flags are accepted. These define the lane order to be used when casting between types of different lane counts.

Update all users to pass an appropriate MemFlags argument.

Implement lane swaps where necessary in the s390x back-end.

This is the final part necessary to fix
https://github.com/bytecodealliance/wasmtime/issues/4566.

CC @cfallin

This is still a RFC because of the following questions:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2022 at 12:20):

uweigand updated PR #5196 from bitcast-lanes to main.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2022 at 20:43):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2022 at 20:43):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2022 at 20:43):

cfallin created PR review comment:

s/using/both using/, just for clarity (other possibilities here include storing with one MemFlags and loading with another, which isn't what we're emulating but someone might imagine this instead)

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2022 at 11:44):

uweigand updated PR #5196 from bitcast-lanes to main.


Last updated: Nov 22 2024 at 17:03 UTC