Stream: git-wasmtime

Topic: wasmtime / PR #6534 riscv64: Implement `{u,s}widen_{low,h...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2023 at 12:16):

afonso360 opened PR #6534 from afonso360:riscv-simd-ext to bytecodealliance:main:

:wave: Hey,

This PR implements implements the SIMD extend instructions. For the low variations we can use the regular extend instructions in a way that they only read part of the source vector. For the high variations we must first bring the upper lanes to the bottom and use the regular extend instructions.

Additionally this PR also implements the load+extend instructions, we don't do anything special for these, just a I64X1 SIMD load, and then the regular extend instructions.

I added the gen_slidedown_half helper as a separate rule mostly because I've started using it a lot when implementing the widening arithmetic instructions (future PR), and figured it might be better to introduce it here.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2023 at 12:16):

afonso360 requested wasmtime-compiler-reviewers for a review on PR #6534.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2023 at 12:16):

afonso360 requested jameysharp for a review on PR #6534.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 07 2023 at 12:16):

afonso360 requested wasmtime-default-reviewers for a review on PR #6534.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2023 at 03:54):

elliottt submitted PR review:

This looks good to me!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2023 at 10:20):

afonso360 merged PR #6534.


Last updated: Nov 22 2024 at 16:03 UTC