HomeFreeBSD

sys: Add [u]divmoddi4 intrinsics on i386.

Description

sys: Add [u]divmoddi4 intrinsics on i386.

GCC 12 uses these in several places when building the i386 kernel.
They are very similar to [u]divdiv3 except that they return both
the quotient and the remainder.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D40817

Details

Provenance
jhbAuthored on Jul 1 2023, 7:22 PM
Reviewer
imp
Differential Revision
D40817: sys: Add [u]divmoddi4 intrinsics on i386.
Parents
rGec41a96daaa6: sys: Switch the kernel's C standard from C99 to GNU99.
Branches
Unknown
Tags
Unknown