zig/lib/std/special/compiler_rt
2019-12-09 00:05:21 -05:00
..
arm remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
addXf3.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
addXf3_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
ashlti3.zig
ashlti3_test.zig
ashrti3.zig
ashrti3_test.zig
aulldiv.zig
aullrem.zig
comparedf2.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
comparedf2_test.zig
comparesf2.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
comparesf2_test.zig
comparetf2.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
divdf3.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
divdf3_test.zig
divsf3.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
divsf3_test.zig
divti3.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
divti3_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
extendXfYf2.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
extendXfYf2_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixdfdi.zig
fixdfdi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixdfsi.zig
fixdfsi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixdfti.zig
fixdfti_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixint.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixint_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixsfdi.zig
fixsfdi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixsfsi.zig
fixsfsi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixsfti.zig
fixsfti_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixtfdi.zig
fixtfdi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixtfsi.zig
fixtfsi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixtfti.zig
fixtfti_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixuint.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixunsdfdi.zig
fixunsdfdi_test.zig
fixunsdfsi.zig
fixunsdfsi_test.zig
fixunsdfti.zig
fixunsdfti_test.zig
fixunssfdi.zig
fixunssfdi_test.zig
fixunssfsi.zig
fixunssfsi_test.zig
fixunssfti.zig
fixunssfti_test.zig
fixunstfdi.zig
fixunstfdi_test.zig
fixunstfsi.zig
fixunstfsi_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
fixunstfti.zig
fixunstfti_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floatdidf.zig
floatdidf_test.zig
floatsiXf.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
floattidf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floattidf_test.zig
floattisf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floattisf_test.zig
floattitf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floattitf_test.zig
floatundidf.zig
floatundidf_test.zig
floatunditf.zig
floatunditf_test.zig
floatunsidf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floatunsitf.zig
floatunsitf_test.zig
floatuntidf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floatuntidf_test.zig
floatuntisf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floatuntisf_test.zig
floatuntitf.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
floatuntitf_test.zig
lshrti3.zig
lshrti3_test.zig
modti3.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
modti3_test.zig
muldi3.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
muldi3_test.zig
mulodi4.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
mulodi4_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
muloti4.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
muloti4_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
multi3.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
multi3_test.zig
mulXf3.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
mulXf3_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
negXf2.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
popcountdi2.zig
popcountdi2_test.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
README.md
stack_probe.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00
truncXfYf2.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
truncXfYf2_test.zig update tests to new format API 2019-12-09 00:05:21 -05:00
udivmod.zig update the codebase to use @as 2019-11-08 15:57:24 -05:00
udivmoddi4.zig
udivmoddi4_test.zig
udivmodti4.zig
udivmodti4_test.zig
udivti3.zig
umodti3.zig remove @inlineCall from zig 2019-12-06 14:12:01 -05:00

This compiler-rt library is ported from LLVM.

It's needed because LLVM emits library calls to compiler-rt when hardware lacks functionality, for example, 64-bit integer multiplication on 32-bit x86.

This library is automatically built as-needed for the compilation target and then statically linked and therefore is a transparent dependency for the programmer.

Any bugs should be solved by trying to duplicate the bug upstream.

  • If the bug exists upstream, get it fixed with the LLVM team and then port the fix downstream to Zig.
  • If the bug only exists in Zig, something went wrong porting the code, and you can run the C code and Zig code side by side in a debugger to figure out what's happening differently.