diff options
author | Ziang Wan <ziangw2@illinois.edu> | 2019-06-25 23:57:14 +0000 |
---|---|---|
committer | Ziang Wan <ziangw2@illinois.edu> | 2019-06-25 23:57:14 +0000 |
commit | de94ac9357750fdba45e09eefa8f67a650ae6a64 (patch) | |
tree | 58a313455c5dd893978df1e117f973b57e2ced00 /clang/docs | |
parent | 17c18a9e8161f63beef42c7d99d63b1be6f7ed64 (diff) | |
download | bcm5719-llvm-de94ac9357750fdba45e09eefa8f67a650ae6a64.tar.gz bcm5719-llvm-de94ac9357750fdba45e09eefa8f67a650ae6a64.zip |
print-supported-cpus quality of life patch.
Claim all input files so that clang does not give a warning. Add two
short-cut aliases: -mcpu=? and -mtune=?.
llvm-svn: 364362
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ClangCommandLineReference.rst | 4 | ||||
-rw-r--r-- | clang/docs/CommandGuide/clang.rst | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index bad91ff830d..b7f94e98d49 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -2168,6 +2168,8 @@ Link stack frames through backchain on System Z .. option:: -mcpu=<arg>, -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60), -mv62 (equivalent to -mcpu=hexagonv62), -mv65 (equivalent to -mcpu=hexagonv65) +Use -mcpu=? to see a list of supported cpu models. + .. option:: -mcrc, -mno-crc Allow use of CRC instructions (ARM/Mips only) @@ -2302,6 +2304,8 @@ The thread model to use, e.g. posix, single (posix by default) .. option:: -mtune=<arg> +Use -mtune=? to see a list of supported cpu models. + .. option:: -mtvos-version-min=<arg>, -mappletvos-version-min=<arg> .. option:: -municode<arg> diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index f511022dd77..7b0873600fc 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -330,6 +330,10 @@ number of cross compilers, or may only support a native target. through --target=<architecture> or -arch <architecture>). If no target is specified, the system default target will be used. +.. option:: -mcpu=?, -mtune=? + + Aliases of --print-supported-cpus + .. option:: -march=<cpu> Specify that Clang should generate code for a specific processor family |