This is an archive of the discontinued LLVM Phabricator instance.

[flang] Tuning up binary->decimal conversion
ClosedPublic

Authored by klausler on Jul 14 2020, 12:46 PM.

Details

Summary

Use short division of big-radix values by powers of two when
converting values with negative unbiased exponents rather than
multiplication by smaller powers of five; this reduces the overall
outer iteration count. This change is a win across the entire range
of inputs.

Diff Detail

Event Timeline

klausler created this revision.Jul 14 2020, 12:46 PM
Herald added a project: Restricted Project. · View Herald Transcript
tskeith accepted this revision.Jul 14 2020, 12:48 PM
This revision is now accepted and ready to land.Jul 14 2020, 12:48 PM
This revision was automatically updated to reflect the committed changes.