Stream: git-wasmtime

Topic: wasmtime / issue #15198 Cranelift: interpreter: incorrect...


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

ryancbuckley opened issue #15198:

Minor/pedantic bug. The float-to-int128 conversions in the interpreter misbehave when passed very large (or very negative) values:

I noticed this issue because runtests/i128-conversion.clif matches the implementation, so it has three incorrect expectations:

The root cause is that the interpreter's fcvt_to_uint and fcvt_to_sint cast the input with as i128 before the bounds check (step.rs#L1072).

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

ryancbuckley added the bug label to Issue #15198.

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

ryancbuckley added the cranelift label to Issue #15198.

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

ryancbuckley edited issue #15198:

Minor/pedantic bug. The float-to-int128 conversions in the interpreter misbehave when passed very large (or very negative) values:

I noticed this issue because runtests/i128-conversion.clif matches the implementation, so it has three incorrect expectations:

The root cause is that the interpreter's fcvt_to_uint and fcvt_to_sint cast the input with as i128 before the bounds check.

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

cfallin closed issue #15198:

Minor/pedantic bug. The float-to-int128 conversions in the interpreter misbehave when passed very large (or very negative) values:

I noticed this issue because runtests/i128-conversion.clif matches the implementation, so it has three incorrect expectations:

The root cause is that the interpreter's fcvt_to_uint and fcvt_to_sint cast the input with as i128 before the bounds check.


Last updated: Nov 19 2026 at 20:05 UTC