File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2817,13 +2817,13 @@ Query for this feature with ``__has_builtin(__builtin_readsteadycounter)``.
2817
2817
2818
2818
**Description **:
2819
2819
2820
- The ``__builtin_cpu_supports `` function detects at runtime if the target CPU
2821
- supports features specified in string argument. It returns a positive integer
2822
- if all features are supported and 0 otherwise. Names of features and format are
2823
- target specific. For example on AArch64 features are combined using ``+ `` like
2824
- this ``__builtin_cpu_supports("flagm+sha3+lse+rcpc2+fcma+memtag+bti+sme2") ``.
2825
- If a feature name is not supported or the format is wrong, the compiler will issue a
2826
- warning and replace builtin by the constant 0.
2820
+ The ``__builtin_cpu_supports `` function detects if the run-time CPU supports
2821
+ features specified in string argument. It returns a positive integer if all
2822
+ features are supported and 0 otherwise. Feature names are target specific. On
2823
+ AArch64 features are combined using ``+ `` like this
2824
+ ``__builtin_cpu_supports("flagm+sha3+lse+rcpc2+fcma+memtag+bti+sme2") ``.
2825
+ If a feature name is not supported, Clang will issue a warning and replace
2826
+ builtin by the constant 0.
2827
2827
2828
2828
Query for this feature with ``__has_builtin(__builtin_cpu_supports) ``.
2829
2829
You can’t perform that action at this time.
0 commit comments