Stream: git-wasmtime

Topic: wasmtime / PR #15199 Fix edge cases in interpreter's floa...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 03:15):

ryancbuckley edited PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 04:24):

ryancbuckley edited PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 04:24):

ryancbuckley edited PR #15199:

This PR:

  1. Fixes float-to-int128 conversion in the interpreter, so that values not representable in i128 are handled correctly.
  2. Makes some pedantic tweaks to the documentation on fcvt_to_sint and fcvt_to_uint to better reflect the behavior after the fix.
  3. Adds lots of tests for edge cases in float-to-int conversions that previously did not have coverage. These are only tangentially related to the above, so I'd be happy to move them to a separate PR if you'd prefer this PR be more focused.

Fixes #15198.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 04:26):

ryancbuckley edited PR #15199:

This PR:

  1. Fixes float-to-int128 conversion in the interpreter, so that values not representable in i128 are handled correctly.
  2. Makes some pedantic tweaks to the documentation on fcvt_to_sint and fcvt_to_uint to better reflect the behavior after the fix. (Notably, before this change, the comment on fcvt_to_sint refers to the "unsigned integral value," which I think is a mistake).
  3. Adds lots of tests for edge cases in float-to-int conversions that previously did not have coverage. These are only tangentially related to the above, so I'd be happy to move them to a separate PR if you'd prefer this PR be more focused.

Fixes #15198.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 06:44):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2026 at 06:44):

github-actions[bot] added the label cranelift:meta on PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 13:46):

alexcrichton removed the review request for alexcrichton from PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 13:46):

alexcrichton requested cfallin for a review on PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 18:00):

:thumbs_up: cfallin submitted PR review:

LGTM -- thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 18:00):

cfallin added PR #15199 Fix edge cases in interpreter's float-to-int128 conversion to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 19:13):

:check: cfallin merged PR #15199.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 19:13):

cfallin removed PR #15199 Fix edge cases in interpreter's float-to-int128 conversion from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC