Differential D19850 Diff 56012 lang/rust/files/patch-src_stdsimd_crates_std__detect_src_detect_os_aarch64.rs
Changeset View
Changeset View
Standalone View
Standalone View
lang/rust/files/patch-src_stdsimd_crates_std__detect_src_detect_os_aarch64.rs
- This file was moved from lang/rust/files/patch-src_stdsimd_stdsimd_arch_detect_os_aarch64.rs.
error: `[7:4]` cannot be resolved, ignoring it... | error: `[7:4]` cannot be resolved, ignoring it... | ||||
--> src/libstd/../stdsimd/stdsimd/arch/detect/os/aarch64.rs:9:27 | --> src/libstd/../stdsimd/stdsimd/arch/detect/os/aarch64.rs:9:27 | ||||
| | | | ||||
9 | //! when ID_AA64ISAR0_EL1[7:4] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | 9 | //! when ID_AA64ISAR0_EL1[7:4] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | ||||
| ^^^ cannot be resolved, ignoring | | ^^^ cannot be resolved, ignoring | ||||
| | | | ||||
note: lint level defined here | note: lint level defined here | ||||
--> src/libstd/lib.rs:215:9 | --> src/libstd/lib.rs:215:9 | ||||
| | | | ||||
21| #![deny(intra_doc_link_resolution_failure)] | 21| #![deny(intra_doc_link_resolution_failure)] | ||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` | = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` | ||||
--- src/stdsimd/stdsimd/arch/detect/os/aarch64.rs.orig 2019-02-25 09:19:48 UTC | --- src/stdsimd/crates/std_detect/src/detect/os/aarch64.rs.orig 2019-04-08 12:42:49 UTC | ||||
+++ src/stdsimd/stdsimd/arch/detect/os/aarch64.rs | +++ src/stdsimd/crates/std_detect/src/detect/os/aarch64.rs | ||||
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||||
//! AArch64 system registers ID_AA64ISAR0_EL1, ID_AA64PFR0_EL1, ID_AA64ISAR1_EL1 | //! AArch64 system registers ID_AA64ISAR0_EL1, ID_AA64PFR0_EL1, ID_AA64ISAR1_EL1 | ||||
//! have bits dedicated to features like AdvSIMD, CRC32, AES, atomics (LSE), etc. | //! have bits dedicated to features like AdvSIMD, CRC32, AES, atomics (LSE), etc. | ||||
//! Each part of the register indicates the level of support for a certain feature, e.g. | //! Each part of the register indicates the level of support for a certain feature, e.g. | ||||
-//! when ID_AA64ISAR0_EL1[7:4] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | -//! when ID_AA64ISAR0_EL1[7:4] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | ||||
+//! when ID_AA64ISAR0_EL1\[7:4\] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | +//! when ID_AA64ISAR0_EL1\[7:4\] is >= 1, AES is supported; when it's >= 2, PMULL is supported. | ||||
//! | //! | ||||
//! For proper support of [SoCs where different cores have different capabilities](https://medium.com/@jadr2ddude/a-big-little-problem-a-tale-of-big-little-gone-wrong-e7778ce744bb), | //! For proper support of [SoCs where different cores have different capabilities](https://medium.com/@jadr2ddude/a-big-little-problem-a-tale-of-big-little-gone-wrong-e7778ce744bb), | ||||
//! the OS has to always report only the features supported by all cores, like [FreeBSD does](https://reviews.freebsd.org/D17137#393947). | //! the OS has to always report only the features supported by all cores, like [FreeBSD does](https://reviews.freebsd.org/D17137#393947). |