Stream: git-wasmtime

Topic: wasmtime / PR #2414 arm64: Refactor Inst::Extend handling


view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2020 at 16:20):

jgouly opened PR #2414 from extend-refactor to main:

This refactors the handling of Inst::Extend and simplifies the lowering
of Bextend and Bmask, which allows the use of SBFX instructions for
extensions from 1-bit booleans. Other extensions use aliases of BFM,
and the code was changed to reflect that, rather than hard coding bit
patterns. Also ImmLogic is now implemented, so another hard coded
instruction can be removed.

As part of looking at boolean handling, normalize_boolean_result was
changed to materialize_boolean_result, such that it can use either
CSET or CSETM. Using CSETM saves an instruction (previously CSET + SUB)
for booleans bigger than 1-bit.

Copyright (c) 2020, Arm Limited.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2020 at 00:54):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2020 at 01:21):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2020 at 01:22):

cfallin merged PR #2414.


Last updated: Nov 22 2024 at 17:03 UTC