Stream: git-wasmtime

Topic: wasmtime / PR #4427 s390x: Implement full SIMD support


view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2022 at 17:42):

uweigand opened PR #4427 from s390x-simd to main:

This adds full support for all Cranelift SIMD instructions
to the s390x target. Everything is matched fully via ISLE.

In addition to adding support for many new instructions,
and the lower.isle code to match all SIMD IR patterns,
this patch also adds ABI support for vector types.
In particular, we now need to handle the fact that
vector registers 8 .. 15 are partially callee-saved,
i.e. the high parts of those registers (which correspond
to the old floating-poing registers) are callee-saved,
but the low parts are not. This is the exact same situation
that we already have on AArch64, and so this patch uses the
same solution (the is_included_in_clobbers callback).

The bulk of the changes are platform-specific, but there are
a few exceptions:

There are three minor issues, called out via FIXMEs below,
which should be addressed in the future, but should not be
blockers to getting this patch merged. I've opened the
following issues to track them:

All tests, including all newly enabled SIMD tests, pass
on both z14 and z15 architectures.

FYI @cfallin

<!--

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 (Jul 09 2022 at 18:16):

uweigand updated PR #4427 from s390x-simd to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 09 2022 at 18:51):

uweigand updated PR #4427 from s390x-simd to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 12 2022 at 15:22):

uweigand updated PR #4427 from s390x-simd to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 18 2022 at 19:54):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 18 2022 at 21:00):

cfallin merged PR #4427.


Last updated: Nov 22 2024 at 17:03 UTC