diff options
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 |