Stream: git-wasmtime

Topic: wasmtime / PR #4788 AArch64: Migrate calls and returns to...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 00:10):

cfallin requested akirilov-arm for a review on PR #4788.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 00:10):

cfallin requested elliottt for a review on PR #4788.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 00:10):

cfallin opened PR #4788 from aarch64-isle-call-ret to main:

This borrows some machinery from x64 and makes it common. The order of setup for on-stack args is reversed now, but that seems OK if it means we can share more code!

<!--

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 (Aug 26 2022 at 23:20):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:20):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:20):

elliottt created PR review comment:

Not at all blocking, but I wonder what a better name for this would be now that it's shared between multiple backends.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:20):

elliottt created PR review comment:

What caused this change?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:25):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:25):

cfallin created PR review comment:

The returns are going through a different path now, so the immediate handling is a little different; but this is still correct I think (movn x0, #0 generates all-ones, which for an i32 func is the same as u32::MAX in the return register).

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:26):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:26):

cfallin created PR review comment:

We can definitely think more about this -- it also felt a little strange to put it in prelude.isle to be honest; it seems more like we need a library of "common lowering helpers" that is separate from the language and ISLE-binding prelude proper. But, we can refine more in subsequent PRs!

view this post on Zulip Wasmtime GitHub notifications bot (Aug 26 2022 at 23:26):

cfallin merged PR #4788.


Last updated: Oct 23 2024 at 20:03 UTC