aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorJan Philipp Hafer <jan.hafer@rwth-aachen.de>2022-02-05 03:32:29 +0100
committerAndrew Kelley <andrew@ziglang.org>2022-02-05 01:35:46 -0500
commit01d48e55a5aa683828dcb88fee2d811c8262d3e9 (patch)
treeedfeb8830c844f328207ed9928fa4175158de9d8 /src/codegen/llvm.zig
parent04f379dd414184a42412f4497b0573d7612d6730 (diff)
downloadzig-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/llvm.zig')
0 files changed, 0 insertions, 0 deletions