Wasm Wide Arithmetic
- Category
- WebAssembly
- Type
- Chromium catches up
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
Adds support for WebAssembly instructions for wide 128-bit integer arithmetic (i64.add128, i64.sub128, and widening multiplications i64.mul_wide_s/u) using pairs of 64-bit integer operands and results. This allows compilers to lower 128-bit math, big-number arithmetic, and cryptography algorithms directly to efficient native CPU instructions without requiring slow emulation loops or multi3 runtime library calls.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://issues.chromium.org/issues/491766259
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=wasm-wide-arithmetic
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Wasm%20Wide%20Arithmetic
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Wasm%20Wide%20Arithmetic
- Baseline status: https://webstatus.dev/?q=Wasm%20Wide%20Arithmetic