aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/bigint.hpp
AgeCommit message (Collapse)Author
2022-12-06actually remove stage1Andrew Kelley
2021-09-01saturating arithmetic builtins: add, sub, mul, shl (#9619)travisstaloch
- 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
2021-07-26minimum/maximum builtinsRobin Voetter
2021-07-06Avoid some large copies for another second of time savedMartin Wickham
2021-07-05Better hashing, new asserts failingMartin Wickham
2021-04-23stage1: Allow wrapping negation on unsigned ints at comptimeLemonBoy
Closes #7951 Closes #8574
2020-09-21rename src-self-hosted/ to src/Andrew Kelley