aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authortravisstaloch <twostepted@gmail.com>2021-09-01 11:17:45 -0700
committerGitHub <noreply@github.com>2021-09-01 14:17:45 -0400
commit21a5769afefb47553391ae1ef801f64a58253c33 (patch)
tree8f6d1a219c881c1fc34f839421fc000c1fe8d527 /lib/std/debug.zig
parent4f0aa7d639e099b18df583cb984412037fbb1dbe (diff)
downloadzig-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 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions