diff options
| author | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-07-31 07:39:10 +0000 |
|---|---|---|
| committer | Tsukasa OI <floss_rust@irq.a4lg.com> | 2025-07-31 07:39:10 +0000 |
| commit | c51e5ce452c96886bab78a8e736c750dd9e79fbd (patch) | |
| tree | 85b9f5b537ca9cee5750ba47a0b37a7dfc639a06 /library/std_detect/src/detect/arch | |
| parent | 32e7a4b92b109c24e9822c862a7c74436b50e564 (diff) | |
| download | rust-c51e5ce452c96886bab78a8e736c750dd9e79fbd.tar.gz rust-c51e5ce452c96886bab78a8e736c750dd9e79fbd.zip | |
std_detect: Linux 6.16 support for RISC-V
It adds feature detection of 1 extension (new in std_detect). New RISC-V Extension: 1. "Zabha"
Diffstat (limited to 'library/std_detect/src/detect/arch')
| -rw-r--r-- | library/std_detect/src/detect/arch/riscv.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std_detect/src/detect/arch/riscv.rs b/library/std_detect/src/detect/arch/riscv.rs index b86190d7bbf..1d21b1d4855 100644 --- a/library/std_detect/src/detect/arch/riscv.rs +++ b/library/std_detect/src/detect/arch/riscv.rs @@ -73,6 +73,7 @@ features! { /// * Zihintpause: `"zihintpause"` /// * Zihpm: `"zihpm"` /// * Zimop: `"zimop"` + /// * Zabha: `"zabha"` /// * Zacas: `"zacas"` /// * Zawrs: `"zawrs"` /// * Zfa: `"zfa"` @@ -195,6 +196,8 @@ features! { /// "Zaamo" Extension for Atomic Memory Operations @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zawrs: "zawrs"; /// "Zawrs" Extension for Wait-on-Reservation-Set Instructions + @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zabha: "zabha"; + /// "Zabha" Extension for Byte and Halfword Atomic Memory Operations @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zacas: "zacas"; /// "Zacas" Extension for Atomic Compare-and-Swap (CAS) Instructions @FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zam: "zam"; |
