This is an archive of the discontinued LLVM Phabricator instance.

[libc][math] Implement fast division / modulus for UInt / (uint32_t * 2^e).
ClosedPublic

Authored by lntue on May 12 2023, 12:56 PM.

Details

Summary

This is to improve a performance bottleneck of printf for long double.

Diff Detail

Event Timeline

lntue created this revision.May 12 2023, 12:56 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 12 2023, 12:56 PM
lntue requested review of this revision.May 12 2023, 12:56 PM
michaelrj accepted this revision.May 12 2023, 1:53 PM

LGTM, thank you for adding this!

This revision is now accepted and ready to land.May 12 2023, 1:53 PM