diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /vendor/packed_simd_2/perf-guide | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/packed_simd_2/perf-guide')
-rw-r--r-- | vendor/packed_simd_2/perf-guide/src/target-feature/rustflags.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/packed_simd_2/perf-guide/src/target-feature/rustflags.md b/vendor/packed_simd_2/perf-guide/src/target-feature/rustflags.md index e2e806e08..f4c1d1304 100644 --- a/vendor/packed_simd_2/perf-guide/src/target-feature/rustflags.md +++ b/vendor/packed_simd_2/perf-guide/src/target-feature/rustflags.md @@ -15,7 +15,7 @@ There are two flags which can be used to enable specific vector extensions: - Provides the compiler with a comma-separated set of instruction extensions to enable. - **Example**: Use `-C target-features=+sse3,+avx` to enable generating instructions + **Example**: Use `-C target-feature=+sse3,+avx` to enable generating instructions for [Streaming SIMD Extensions 3](https://en.wikipedia.org/wiki/SSE3) and [Advanced Vector Extensions](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions). @@ -33,9 +33,9 @@ There are two flags which can be used to enable specific vector extensions: - Note that all CPU features are independent, and will have to be enabled individually. - **Example**: Setting `-C target-features=+avx2` will _not_ enable `fma`, even though + **Example**: Setting `-C target-feature=+avx2` will _not_ enable `fma`, even though all CPUs which support AVX2 also support FMA. To enable both, one has to use - `-C target-features=+avx2,+fma` + `-C target-feature=+avx2,+fma` - Some features also depend on other features, which need to be enabled for the target instructions to be generated. |