aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-05-13 19:51:14 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-05-16 13:55:26 -0700
commit0a2d3d41556a3bbe836dafa5321439fa6da9b464 (patch)
treea9b8ee5dfd6bd4d9d32c5b8a8ec36c0c0a4d6f03 /src/codegen
parentb94d165b69f2743d779a04b1719382207e341596 (diff)
downloadzig-0a2d3d41556a3bbe836dafa5321439fa6da9b464.tar.gz
zig-0a2d3d41556a3bbe836dafa5321439fa6da9b464.zip
wasm: Improve overflow add/sub for ints <= 64bits
The implementation for add_with_overflow and sub_with_overflow is now a lot more robust and takes account for signed integers and arbitrary integer bitsizes. The final output is equal to that of the LLVM backend.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions