diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-09-28 15:45:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-28 16:12:24 -0700 |
| commit | 79bc5891c1c4cde0592fe1b10b6c9a85914155cf (patch) | |
| tree | 92999a5e04df045c03d63e4d02e53ad796c70911 /src/zig_llvm.cpp | |
| parent | 1e805df81d51a338eefaff0535e5f1cca9e22028 (diff) | |
| download | zig-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/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
