File tree 1 file changed +3
-3
lines changed
perf-guide/src/target-feature
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ There are two flags which can be used to enable specific vector extensions:
15
15
- Provides the compiler with a comma-separated set of instruction extensions
16
16
to enable.
17
17
18
- ** Example** : Use ` -C target-features =+sse3,+avx ` to enable generating instructions
18
+ ** Example** : Use ` -C target-feature =+sse3,+avx ` to enable generating instructions
19
19
for [ Streaming SIMD Extensions 3] ( https://en.wikipedia.org/wiki/SSE3 ) and
20
20
[ Advanced Vector Extensions] ( https://en.wikipedia.org/wiki/Advanced_Vector_Extensions ) .
21
21
@@ -33,9 +33,9 @@ There are two flags which can be used to enable specific vector extensions:
33
33
34
34
- Note that all CPU features are independent, and will have to be enabled individually.
35
35
36
- ** Example** : Setting ` -C target-features =+avx2 ` will _ not_ enable ` fma ` , even though
36
+ ** Example** : Setting ` -C target-feature =+avx2 ` will _ not_ enable ` fma ` , even though
37
37
all CPUs which support AVX2 also support FMA. To enable both, one has to use
38
- ` -C target-features =+avx2,+fma `
38
+ ` -C target-feature =+avx2,+fma `
39
39
40
40
- Some features also depend on other features, which need to be enabled for the
41
41
target instructions to be generated.
You can’t perform that action at this time.
0 commit comments