diff options
| author | travisstaloch <twostepted@gmail.com> | 2021-09-01 11:17:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 14:17:45 -0400 |
| commit | 21a5769afefb47553391ae1ef801f64a58253c33 (patch) | |
| tree | 8f6d1a219c881c1fc34f839421fc000c1fe8d527 /src/Module.zig | |
| parent | 4f0aa7d639e099b18df583cb984412037fbb1dbe (diff) | |
| download | zig-21a5769afefb47553391ae1ef801f64a58253c33.tar.gz zig-21a5769afefb47553391ae1ef801f64a58253c33.zip | |
saturating arithmetic builtins: add, sub, mul, shl (#9619)
- adds 1 simple behavior tests for each
which does integer and vector ops at
runtime and comptime
- adds bigint_*_sat() methods for each
- use CreateIntrinsic() which accepts a
variable number of arguments to pass
the scale parameter
* update langref
- added case to test/compile_errors.zig given floats
- explain upstream bug in llvm.smul.fix.sat and link to #9643 in langref and commented out test cases
* sat-arithmetic: skip mul tests if arch == .wasm32 because ci is erroring with 'LLVM ERROR: Unable to expand fixed point multiplication' when compiling for wasm32
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
