You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support i64.add/sub128 instructions from Wide Arithmetic proposal (#8638)
Part of #8544
i64 to i32 lowering isn't implemented yet because supporting multi-value
i64 returns requires more work here. Will add this in a separate change.
Spec tests are adapted from the upstream proposal repo, with only tests
related to i64.add128 and i64.sub128 included.
Drive-by changes:
* Remove unneeded template params in wasm-validator.cpp
* Unconditionally assign to the result in ckd_add / ckd_sub polyfills to
match the behavior of the [std
implementations](https://en.cppreference.com/cpp/numeric/ckd_add). All
of the existing callers don't observe the result when overflow occurred,
but for our case we need the value regardless.
0 commit comments