Stream: git-wasmtime

Topic: wasmtime / PR #9176 Add ISLE rules to generate 128-bit co...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 14:34):

alexcrichton opened PR #9176 from alexcrichton:opt-i128-cmp to bytecodealliance:main:

This commits adds pattern-matches to detect 128-bit comparisons encoded in 64-bit comparisons and promote them to 128-bit to enable backends to apply architecture-specific optimizations to these operations.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 14:34):

alexcrichton requested abrown for a review on PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 14:34):

alexcrichton requested fitzgen for a review on PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 14:34):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 14:34):

alexcrichton requested wasmtime-core-reviewers for a review on PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 17:21):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 17:21):

fitzgen created PR review comment:

Can we do the same with an sextend?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:00):

alexcrichton updated PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:01):

alexcrichton commented on PR #9176:

I've enabled sextend lifting as well now. I additionally limited this optimization to only happening for i64-to-i128-compares. While it should work for other widths current backends don't implement iconcat for two 32-bit halves to a 64-bit integer, so I was getting codegen errors on a module.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:01):

alexcrichton has enabled auto merge for PR #9176.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:27):

alexcrichton merged PR #9176.


Last updated: Dec 23 2024 at 12:05 UTC