llvm-project/clang/docs
Kang Zhang e5ac385fb1 [PowerPC] Add the support for __builtin_setrnd() in clang
Summary:
PowerPC64/PowerPC64le supports the builtin function __builtin_setrnd to set the floating point rounding mode. This function will use the least significant two bits of integer argument to set the floating point rounding mode.
double __builtin_setrnd(int mode);
The effective values for mode are:
0 - round to nearest
1 - round to zero
2 - round to +infinity
3 - round to -infinity
Note that the mode argument will modulo 4, so if the int argument is greater than 3, it will only use the least significant two bits of the mode. Namely, builtin_setrnd(102)) is equal to builtin_setrnd(2).

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D59403

llvm-svn: 357242
2019-03-29 09:11:52 +00:00
..
CommandGuide Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
analyzer [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
tools Portable Python script across Python version 2018-12-19 13:46:13 +00:00
AddressSanitizer.rst [ASan] Minor documentation fix: clarify static linking limitation. 2018-12-11 16:47:12 +00:00
AttributeReference.rst
AutomaticReferenceCounting.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
Block-ABI-Apple.rst [CodeGen][ObjC] Make copying and disposing of a non-escaping block 2018-07-20 17:10:32 +00:00
Block-ABI-Apple.txt Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
BlockLanguageSpec.rst
CMakeLists.txt docs: Fix Sphinx detection with out-of-tree builds 2017-05-09 01:42:33 +00:00
ClangCheck.rst [clang docs] Minor fix in ClangCheck.rst 2016-11-14 17:31:24 +00:00
ClangCommandLineReference.rst Fix some typos in the clang doc. 2019-01-01 12:51:14 +00:00
ClangFormat.rst [clang-format] Add basic support for formatting C# files 2019-03-21 13:09:22 +00:00
ClangFormatStyleOptions.rst [clang-format] Add style option AllowShortLambdasOnASingleLine 2019-03-26 20:18:14 +00:00
ClangPlugins.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
ClangStaticAnalyzer.rst [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
ClangTools.rst Fix some sphinx doc errors. 2019-02-01 17:06:41 +00:00
ControlFlowIntegrity.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
ControlFlowIntegrityDesign.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
CrossCompilation.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DiagnosticsReference.rst fixup: sphinx warning 2019-01-10 19:26:35 +00:00
DriverArchitecture.png
DriverInternals.rst
ExternalClangExamples.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
FAQ.rst
HardwareAssistedAddressSanitizerDesign.rst [HWASAN] Updated HWASAN design document to better portray the chance of missing a bug. 2019-02-13 23:14:54 +00:00
HowToSetupToolingForLLVM.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
InternalsManual.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
IntroductionToTheClangAST.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
ItaniumMangleAbiTags.rst
JSONCompilationDatabase.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
LTOVisibility.rst Implement CFI for indirect calls via a member function pointer. 2018-06-26 02:15:47 +00:00
LanguageExtensions.rst [PowerPC] Add the support for __builtin_setrnd() in clang 2019-03-29 09:11:52 +00:00
LeakSanitizer.rst [docs] Update LeakSanitizer documentation to reflect OS X support 2017-09-13 19:40:10 +00:00
LibASTMatchers.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibASTMatchersReference.html [ASTMatcher] Add clang-query disclaimer to two more matchers that take enum 2019-03-21 15:33:43 +00:00
LibASTMatchersTutorial.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
LibFormat.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibTooling.rst [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
MSVCCompatibility.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
Makefile.sphinx
MemorySanitizer.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Modules.rst [Modules] Add platform and environment features to requires clause 2018-09-18 17:11:13 +00:00
ObjectiveCLiterals.rst
OpenMPSupport.rst [DOCS]Support for emission of the debug info for the Cuda devices, NFC. 2019-02-05 20:38:36 +00:00
PCHInternals.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
PCHLayout.graffle
PCHLayout.png
RAVFrontendAction.rst Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
README.txt
RefactoringEngine.rst Fix small nits in clang-refactor doc. 2017-10-10 09:00:56 +00:00
ReleaseNotes.rst update the release notes after the change of 'clang -dumpversion' 2019-03-26 09:48:23 +00:00
SafeStack.rst [Documentation] Fix problem in docs/SafeStack.rst introduced in r351976. 2019-01-23 20:51:06 +00:00
SanitizerCoverage.rst Update SanitizerCoverage doc regarding the issue with pc-table and gc-sections. 2019-02-01 17:12:35 +00:00
SanitizerSpecialCaseList.rst Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
SanitizerStats.rst [docs] -fsanitize=cfi only allowed with -fvisibility= 2018-06-15 23:11:18 +00:00
ShadowCallStack.rst Delete x86_64 ShadowCallStack support 2019-03-07 18:56:36 +00:00
SourceBasedCodeCoverage.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThinLTO.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThreadSafetyAnalysis.rst Correct the attribute spelling for guarded_var and pt_guarded_var. 2017-05-08 12:39:17 +00:00
ThreadSanitizer.rst [docs] Add some architectures into the list of supported ThreadSanitizer platforms 2019-03-05 21:10:42 +00:00
Toolchain.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
Tooling.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
UndefinedBehaviorSanitizer.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
UsersManual.rst [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
conf.py [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
doxygen-mainpage.dox
doxygen.cfg.in Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
index.rst [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
make.bat

README.txt

See llvm/docs/README.txt