[all-commits] [llvm/llvm-project] ce6f03: [flang] Tuning up binary->decimal conversion
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Jul 14 13:23:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ce6f0303df51667f42a2a63eb292ab7c0c125eea
https://github.com/llvm/llvm-project/commit/ce6f0303df51667f42a2a63eb292ab7c0c125eea
Author: peter klausler <pklausler at nvidia.com>
Date: 2020-07-14 (Tue, 14 Jul 2020)
Changed paths:
M flang/include/flang/Decimal/decimal.h
M flang/lib/Decimal/big-radix-floating-point.h
M flang/lib/Decimal/binary-to-decimal.cpp
Log Message:
-----------
[flang] Tuning up binary->decimal conversion
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.
Reviewed By: tskeith
Differential Revision: https://reviews.llvm.org/D83806
More information about the All-commits
mailing list