diff options
Diffstat (limited to 'library/stdarch/crates/std_detect/src')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs | 6 | ||||
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/arch/x86.rs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs b/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs index 81979ba9672..2f90555428c 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs +++ b/library/stdarch/crates/std_detect/src/detect/arch/aarch64.rs @@ -8,7 +8,7 @@ features! { /// Currently most features are only supported on linux-based platforms. /// /// This macro takes one argument which is a string literal of the feature being tested for. - /// The feature names are mostly taken from their FEAT_* definitiions in the [ARM Architecture + /// The feature names are mostly taken from their FEAT_* definitions in the [ARM Architecture /// Reference Manual][docs]. /// /// ## Supported arguments @@ -104,9 +104,9 @@ features! { @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] pauth: "pauth"; /// FEAT_PAuth (pointer authentication) @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] dpb: "dpb"; - /// FEAT_DPB (aka dcpop - data cache clean to point of persistance) + /// FEAT_DPB (aka dcpop - data cache clean to point of persistence) @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] dpb2: "dpb2"; - /// FEAT_DPB2 (aka dcpodp - data cache clean to point of deep persistance) + /// FEAT_DPB2 (aka dcpodp - data cache clean to point of deep persistence) @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] sve2: "sve2"; /// FEAT_SVE2 (Scalable Vector Extension 2) @FEATURE: #[unstable(feature = "stdsimd", issue = "27731")] sve2_aes: "sve2-aes"; diff --git a/library/stdarch/crates/std_detect/src/detect/arch/x86.rs b/library/stdarch/crates/std_detect/src/detect/arch/x86.rs index f2df1fbcdf3..22dbb98412f 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/x86.rs +++ b/library/stdarch/crates/std_detect/src/detect/arch/x86.rs @@ -3,7 +3,7 @@ //! The features are detected using the `detect_features` function below. //! This function uses the CPUID instruction to read the feature flags from the //! CPU and encodes them in a `usize` where each bit position represents -//! whether a feature is available (bit is set) or unavaiable (bit is cleared). +//! whether a feature is available (bit is set) or unavailable (bit is cleared). //! //! The enum `Feature` is used to map bit positions to feature names, and the //! the `__crate::detect::check_for!` macro is used to map string literals (e.g., @@ -178,7 +178,7 @@ features! { @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] popcnt: "popcnt"; /// POPCNT (Population Count) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] fxsr: "fxsr"; - /// FXSR (Floating-point context fast save and restor) + /// FXSR (Floating-point context fast save and restore) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] xsave: "xsave"; /// XSAVE (Save Processor Extended States) @FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] xsaveopt: "xsaveopt"; |
