diff options
| author | Jan Philipp Hafer <jan.hafer@rwth-aachen.de> | 2022-02-05 03:32:29 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-02-05 01:35:46 -0500 |
| commit | 01d48e55a5aa683828dcb88fee2d811c8262d3e9 (patch) | |
| tree | edfeb8830c844f328207ed9928fa4175158de9d8 /src/codegen | |
| parent | 04f379dd414184a42412f4497b0573d7612d6730 (diff) | |
| download | zig-01d48e55a5aa683828dcb88fee2d811c8262d3e9.tar.gz zig-01d48e55a5aa683828dcb88fee2d811c8262d3e9.zip | |
compiler_rt: optimize mulo
- use usize to decide if register size is big enough to store
multiplication result or if division is necessary
- multiplication routine with check of integer bounds
- wrapping multipliation and division routine from Hacker's Delight
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
