Stream: git-wasmtime

Topic: wasmtime / PR #13346 riscv64: Move conditional traps out-...


view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 03:53):

alexcrichton opened PR #13346 from alexcrichton:riscv64-out-of-line-traps to bytecodealliance:main:

This commit leverages the MachBuffer::defer_trap function to optimize the codegen of TrapIf and defer the trapping instruction to the end of a function to keep the jump-around outside of the main body. This is similar to what other backends do, for example.

<!--
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 (May 13 2026 at 03:53):

alexcrichton requested cfallin for a review on PR #13346.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 03:53):

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

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 03:53):

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

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 08:39):

github-actions[bot] added the label cranelift on PR #13346.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 14:41):

:cross_mark: alexcrichton closed without merge PR #13346.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 14:41):

alexcrichton commented on PR #13346:

Looks like this isn't possible due to https://github.com/bytecodealliance/wasmtime/issues/12968

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 15:22):

cfallin commented on PR #13346:

Ah, that's too bad -- I hope to address that issue when I get time and then I guess we should revisit this...

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2026 at 16:29):

alexcrichton commented on PR #13346:

No rush or urgency of course, this was just something I noticed when poking around https://github.com/bytecodealliance/wasmtime/pull/13347


Last updated: Jun 01 2026 at 09:49 UTC