Stream: git-wasmtime

Topic: wasmtime / PR #3602 aarch64: Migrate some bit-ops to ISLE


view this post on Zulip Wasmtime GitHub notifications bot (Dec 14 2021 at 21:54):

alexcrichton opened PR #3602 from isle-6-bitops to main:

This commit migrates these instructions to ISLE:

The translations were relatively straightforward but the interesting
part here was trying to reduce the duplication between all these
instructions. I opted for a route that's similar to what the lowering
does today, having a decl which takes the ALUOp and then performs
further pattern matching internally. This enabled each instruction's
lowering to be pretty simple while we still get to handle all the fancy
cases of shifts, constants, etc, for each instruction.

<!--

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 (Dec 14 2021 at 21:54):

alexcrichton requested fitzgen for a review on PR #3602.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 14 2021 at 21:56):

alexcrichton updated PR #3602 from isle-6-bitops to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 14 2021 at 22:16):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 14 2021 at 22:43):

alexcrichton updated PR #3602 from isle-6-bitops to main.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 15 2021 at 16:41):

alexcrichton merged PR #3602.


Last updated: Oct 23 2024 at 20:03 UTC