diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-04-11 01:01:30 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2025-04-12 07:51:56 +0000 |
| commit | 0b0c0e47f82935225a26f705a9fed74bdb0a01db (patch) | |
| tree | 73d1b7c70a141cce977c5ae46f021875c81688ee /library/stdarch/crates/std_detect | |
| parent | 217fdb9d89762656d4271f3e9393c3c1e84dcc9d (diff) | |
| download | rust-0b0c0e47f82935225a26f705a9fed74bdb0a01db.tar.gz rust-0b0c0e47f82935225a26f705a9fed74bdb0a01db.zip | |
RISC-V: tidying: Fix separation of I-related extensions
The author intended to split: 1. Former "I" extensions 2. Other "I"-related extensions but incorrectly separated between "Zihpm" (a supplement of "Zicntr" which is a former "I" extension) and "Zifencei" (a former "I" extension) while the author intended making a separation between "Zifencei" and "Zihintpause" (not a part of "I"). This commit fixes the separation.
Diffstat (limited to 'library/stdarch/crates/std_detect')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/arch/riscv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/arch/riscv.rs b/library/stdarch/crates/std_detect/src/detect/arch/riscv.rs index ec4a26b5f48..29d8da8e122 100644 --- a/library/stdarch/crates/std_detect/src/detect/arch/riscv.rs +++ b/library/stdarch/crates/std_detect/src/detect/arch/riscv.rs @@ -109,10 +109,10 @@ features! { @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihpm: "zihpm"; without cfg check: true; /// "Zihpm" Extension for Hardware Performance Counters - @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zifencei: "zifencei"; without cfg check: true; /// "Zifencei" Extension for Instruction-Fetch Fence + @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihintpause: "zihintpause"; without cfg check: true; /// "Zihintpause" Extension for Pause Hint |
