[LLVMdev] Optimize away sqrt in simple cases?
Renato Golin
renato.golin at linaro.org
Wed Apr 24 03:09:27 PDT 2013
On 24 April 2013 09:00, Reed Kotler <rkotler at mips.com> wrote:
> When you are debugging a calculator that's what you want.
>
I thought that most calculators used fixed-point or arbitrary precision
math...
Scientists using the math library want the math to be as close to real math
> as possible.
>
Scientists that don't understand FP well write bad scientific code.
Computers can't do math, sorry.
Relying on a supposedly identical sequence of FP operations to generate the
same output is one thing, relying on computers doing abstract math is a bit
of a jump...
I know of a few examples where well written crude models easily outperform
(in speed and quality) in-depth badly written models.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130424/a8412572/attachment.html>
More information about the llvm-dev
mailing list