aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/wasm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-09-28 15:45:58 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-28 16:12:24 -0700
commit79bc5891c1c4cde0592fe1b10b6c9a85914155cf (patch)
tree92999a5e04df045c03d63e4d02e53ad796c70911 /src/codegen/wasm.zig
parent1e805df81d51a338eefaff0535e5f1cca9e22028 (diff)
downloadzig-79bc5891c1c4cde0592fe1b10b6c9a85914155cf.tar.gz
zig-79bc5891c1c4cde0592fe1b10b6c9a85914155cf.zip
stage2: more arithmetic support
* AIR: add `mod` instruction for modulus division - Implement for LLVM backend * Sema: implement `@mod`, `@rem`, and `%`. * Sema: fix comptime switch evaluation * Sema: implement comptime shift left * Sema: fix the logic inside analyzeArithmetic to handle all the nuances between the different mathematical operations. - Implement comptime wrapping operations
Diffstat (limited to 'src/codegen/wasm.zig')
0 files changed, 0 insertions, 0 deletions