You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/reference/feature-arm64.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,27 @@ ms.date: 05/24/2024
5
5
---
6
6
# `/feature` (ARM64)
7
7
8
-
Optionally specify one or more Arm A-Profile architecture features to enable for an ARM64 extension specified by **`/arch`** (ARM64). For more information on **`/arch`** (ARM64), see [`/arch` (ARM64)](arch-arm64.md).
8
+
Enable one or more Arm A-Profile architecture features for an ARM64 extension as specified by **`/arch`** (ARM64). For more information on **`/arch`** (ARM64), see [`/arch` (ARM64)](arch-arm64.md).
9
9
10
10
## Syntax
11
11
12
12
> **`/feature:<arg1>`**[**`+arg2`**]
13
13
14
14
## Arguments
15
-
Specify one or more of the following available features to enable if a targeted ARM64 extension supports it.
15
+
Specify one or more of the following ARM64 extension features to enable if the targeted ARM64 extension supports it.
16
16
17
17
| Feature argument | Feature identifier | Optional from | Enabled by default | Description |
18
18
|--|--|--|--|--|
19
-
|**`lse`**| FEAT_LSE | Armv8.0 | Armv8.1 | Large System Extensions. |
Example usage: to enable FEAT_LSE, use feature argument **`lse`** so that the option is**`/feature:lse`**.
24
+
Example usage: to enable `FEAT_LSE`, specify**`/feature:lse`**.
25
25
26
26
If there are conflicting feature arguments specified by **`/feature`**, the right-most feature is enabled. Enabling a feature that is not supported by a targeted architecture may cause unexpected behavior, especially if a CPU does not implement the feature.
27
27
28
-
You can use either **`/feature`** or only **`/arch`** (ARM64) to specify features. For example, if you want to enable FEAT_LSE when targeting Armv8.0-A, you can either use both **`/feature:lse`** and **`/arch:armv8.0`** or only use **`/arch:armv8.0+lse`**. **`/feature`** exists as another way to specify features without having to specify them in **`/arch`** (ARM64).
28
+
Use either **`/feature`** or only **`/arch`** (ARM64) to specify features. For example, to enable `FEAT_LSE` when targeting Armv8.0-A, use either both **`/feature:lse`** and **`/arch:armv8.0`**, or specify **`/arch:armv8.0+lse`**. **`/feature`** exists as another way to specify features without specifying them in **`/arch`** (ARM64).
29
29
30
30
### To set the `/feature` compiler option in Visual Studio
0 commit comments