[flang-commits] [PATCH] D83806: [flang] Tuning up binary->decimal conversion
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jul 14 12:46:43 PDT 2020
klausler created this revision.
klausler added reviewers: sscalpone, tskeith, PeteSteinfeld.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83806
Files:
flang/include/flang/Decimal/decimal.h
flang/lib/Decimal/big-radix-floating-point.h
flang/lib/Decimal/binary-to-decimal.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83806.277941.patch
Type: text/x-patch
Size: 4063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200714/634f6617/attachment-0001.bin>
More information about the flang-commits
mailing list