llvm-6502/lib
Hal Finkel 4a1535c038 Make the PPC fast-math sqrt expansion safe at 0
In fast-math mode sqrt(x) is calculated using the fast expansion of the
reciprocal of the reciprocal sqrt expansion. The reciprocal and reciprocal
sqrt expansions use the associated estimate instructions along with some Newton
iterations. Unfortunately, as a result, sqrt(0) was being calculated as NaN,
which is not correct. Now we explicitly return a result of zero if the input is
zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190624 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-12 19:04:12 +00:00
..
Analysis Move variable under condition where it is used 2013-09-12 01:07:58 +00:00
AsmParser Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
Bitcode Revert "Give internal classes hidden visibility." 2013-09-11 18:05:11 +00:00
CodeGen Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
DebugInfo
ExecutionEngine LLVM Interpreter: implementation of "insertvalue" and "extractvalue"; 2013-09-12 10:48:23 +00:00
IR Debug Info: move class definition of DIRef. 2013-09-11 18:55:55 +00:00
IRReader
Linker
MC Remove unused functions. 2013-09-10 22:42:31 +00:00
Object
Option Fix another mistake in r190442. 2013-09-10 23:22:56 +00:00
Support This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and 2013-09-12 17:46:57 +00:00
TableGen
Target Make the PPC fast-math sqrt expansion safe at 0 2013-09-12 19:04:12 +00:00
Transforms Add getUnrollingPreferences to TTI 2013-09-11 19:25:43 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile