summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/fp-contract.c
Commit message (Collapse)AuthorAgeFilesLines
* Add FP_CONTRACT support for clang.Lang Hames2012-10-021-9/+0
| | | | | | | | Clang will now honor the FP_CONTRACT pragma and emit LLVM fmuladd intrinsics for expressions of the form A * B + C (when they occur in a single statement). llvm-svn: 164989
* clang/test/CodeGen/fp-contract.c: It requires ppc32!NAKAMURA Takumi2012-07-061-0/+1
| | | | llvm-svn: 159816
* Add -ffp-contract = { fast | on | off } command line option support.Lang Hames2012-07-061-0/+8
This flag sets the 'fp-contract' mode, which controls the formation of fused floating point operations. Available modes are: - Fast: Form fused operations anywhere. - On: Form fused operations where allowed by FP_CONTRACT. This is the default mode. - Off: Don't form fused operations (in future this may be relaxed to forming fused operations where it can be proved that the result won't be affected). Currently clang doesn't support the FP_CONTRACT pragma, so the 'On' and 'Off' modes are equivalent. llvm-svn: 159794
OpenPOWER on IntegriCloud