llvm-6502/lib
Justin Holewinski 707fd44038 PTX: Adjust rounding modes
* rounding modes for fp add, mul, sub now use .rn
* float -> int rounding correctly uses .rzi not .rni
* 32bit fdiv for sm13 uses div.rn (instead of div.approx)
* 32bit fdiv for sm10 now uses div (instead of div.approx)

Approx is not IEEE 754 compatible (and should be optionally set by a flag to the backend instead). The .rn rounding modifier is the PTX default anyway, but it's better to be explicit.

All these modifiers should be available by using __fmul_rz functions for example, but support will need to be added for this in the backend.

Patch by Dan Bailey

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133253 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-17 12:12:42 +00:00
..
Analysis Introduce MachineBranchProbabilityInfo class, which has similar API to 2011-06-16 20:22:37 +00:00
Archive
AsmParser make the asmparser reject function and type redefinitions. 'Merging' hasn't been 2011-06-17 07:06:44 +00:00
Bitcode Update BitcodeWriter to match recent Triple changes. rdar://9603399 2011-06-14 01:51:33 +00:00
CodeGen Add a hook for PBQP clients to run a custom pre-alloc pass to run prior to PBQP allocation. Patch by Arnaud Allard de Grandmaison. 2011-06-17 07:09:01 +00:00
CompilerDriver
ExecutionEngine
Linker
MC Diagnostic for undefined assembler local symbols. 2011-06-15 18:33:28 +00:00
Object Revert r132910 and r132909 on behalf of Michael. They didn't build with clang. 2011-06-13 12:56:51 +00:00
Support add option for literal formatting to APInt::toString() 2011-06-15 00:51:55 +00:00
Target PTX: Adjust rounding modes 2011-06-17 12:12:42 +00:00
Transforms When promoting an alloca to registers discard any lifetime intrinsics. 2011-06-17 10:09:00 +00:00
VMCore change Type.h to forward declare ArrayRef instead of #including it. 2011-06-16 21:37:15 +00:00
CMakeLists.txt
Makefile