Skip to content

Commit eab39c6

Browse files
committed
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.
1 parent d621c9d commit eab39c6

File tree

1 file changed

+1
-1
lines changed
  • crates/std_detect/src/detect/arch

1 file changed

+1
-1
lines changed

crates/std_detect/src/detect/arch/riscv.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ features! {
109109
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihpm: "zihpm";
110110
without cfg check: true;
111111
/// "Zihpm" Extension for Hardware Performance Counters
112-
113112
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zifencei: "zifencei";
114113
without cfg check: true;
115114
/// "Zifencei" Extension for Instruction-Fetch Fence
115+
116116
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihintpause: "zihintpause";
117117
without cfg check: true;
118118
/// "Zihintpause" Extension for Pause Hint

0 commit comments

Comments
 (0)