llvm/lib
John McCall 003a09c68d Substantially optimize APFloat::toString() by doing a single large divide to
cut the significand down to the desired precision *before* entering the
core divmod loop.  Makes the overall algorithm logarithmic in the exponent.

There's still a lot of room for improvement here, but this gets the
performance back down to acceptable-for-diagnostics levels, even for
long doubles.
negligible, even on long doubles.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92130 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-24 12:16:56 +00:00
..
Analysis Change dbgs() back to errs() as Chris requested. 2009-12-23 23:29:28 +00:00
Archive
AsmParser Change errs() to dbgs(). 2009-12-23 23:38:28 +00:00
Bitcode Change errs() to dbgs(). 2009-12-24 00:06:26 +00:00
CodeGen handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a 2009-12-24 01:07:17 +00:00
CompilerDriver
ExecutionEngine
Linker
MC
Support Substantially optimize APFloat::toString() by doing a single large divide to 2009-12-24 12:16:56 +00:00
System
Target
Transforms move an optimization for memcmp out of simplifylibcalls and into 2009-12-24 00:37:38 +00:00
VMCore
Makefile