diff options
| author | matu3ba <matu3ba@users.noreply.github.com> | 2023-02-11 13:41:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-11 14:41:08 +0200 |
| commit | d976b4e4a56e4ac6b45a3d9ae9766e57bf04f82b (patch) | |
| tree | 1ddf6b56768e3817ecd40871a29b486fb32bcd50 /lib/build_runner.zig | |
| parent | ba680aa98737ae1f572de3bf0b7ef7a7da27ed31 (diff) | |
| download | zig-d976b4e4a56e4ac6b45a3d9ae9766e57bf04f82b.tar.gz zig-d976b4e4a56e4ac6b45a3d9ae9766e57bf04f82b.zip | |
compiler_rt: __divmodti4 for libgcc symbol compatibility
- Copy and adjust __divmodsi4 tests for __divmoddi4 and __divmodti4.
- Assuming d = a/b does not overflow (MIN/-1) or uses div by 0,
then tmp = (d * b) = (a/b * b) = a does not overflow.
=> Remove wraparound for remainder in applicable routines.
Diffstat (limited to 'lib/build_runner.zig')
0 files changed, 0 insertions, 0 deletions
