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.
Details
Details
- Reviewers
imp - Commits
- rGcc4f247fb946: sys: Add [u]divmoddi4 intrinsics on i386.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Assuming the code is right (and a quick look says it is) then the build integration looks good. It's always built, but only used if referenced... and we have a number of things like that. The extra build time is in the noise for any system that can build the kernel.