Skip to content

Commit 507193a

Browse files
committed
std_detect: Enable cfg check for RISC-V vector-related target features
1 parent 1ece49d commit 507193a

File tree

1 file changed

+0
-24
lines changed
  • crates/std_detect/src/detect/arch

1 file changed

+0
-24
lines changed

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

-24
Original file line numberDiff line numberDiff line change
@@ -199,83 +199,59 @@ features! {
199199
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] v: "v";
200200
/// "V" Extension for Vector Operations
201201
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvfh: "zvfh";
202-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
203202
/// Vector Extension for Half-Precision Floating-Point
204203
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvfhmin: "zvfhmin";
205-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
206204
/// Vector Extension for Minimal Half-Precision Floating-Point
207205
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zve32x: "zve32x";
208-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
209206
/// Vector Extensions for Embedded Processors
210207
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zve32f: "zve32f";
211-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
212208
/// Vector Extensions for Embedded Processors
213209
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zve64x: "zve64x";
214-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
215210
/// Vector Extensions for Embedded Processors
216211
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zve64f: "zve64f";
217-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
218212
/// Vector Extensions for Embedded Processors
219213
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zve64d: "zve64d";
220-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
221214
/// Vector Extensions for Embedded Processors
222215
223216
// FIXME: we can implement this by getting the current vlen
224217
// zvl*b: Minimum Vector Length Standard Extensions
225218

226219
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkb: "zvkb";
227-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
228220
/// Vector Bit-manipulation used in Cryptography
229221
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvbb: "zvbb";
230-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
231222
/// Vector basic bit-manipulation instructions
232223
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvbc: "zvbc";
233-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
234224
/// Vector Carryless Multiplication
235225
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkg: "zvkg";
236-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
237226
/// Vector GCM instructions for Cryptography
238227
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkned: "zvkned";
239-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
240228
/// Vector AES Encryption & Decryption (Single Round)
241229
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvknha: "zvknha";
242-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
243230
/// Vector SHA-2 (SHA-256 only))
244231
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvknhb: "zvknhb";
245-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
246232
/// Vector SHA-2 (SHA-256 and SHA-512)
247233
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvksed: "zvksed";
248-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
249234
/// SM4 Block Cipher Instructions
250235
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvksh: "zvksh";
251-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
252236
/// SM3 Hash Function Instructions
253237
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkn: "zvkn";
254-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
255238
/// Shorthand for 'Zvkned', 'Zvknhb', 'Zvkb', and 'Zvkt'
256239
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvknc: "zvknc";
257-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
258240
/// Shorthand for 'Zvkn' and 'Zvbc'
259241
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkng: "zvkng";
260-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
261242
/// Shorthand for 'Zvkn' and 'Zvkg'
262243
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvks: "zvks";
263-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
264244
/// Shorthand for 'Zvksed', 'Zvksh', 'Zvkb', and 'Zvkt'
265245
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvksc: "zvksc";
266-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
267246
/// Shorthand for 'Zvks' and 'Zvbc'
268247
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvksg: "zvksg";
269-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
270248
/// Shorthand for 'Zvks' and 'Zvkg'
271249
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zvkt: "zvkt";
272-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
273250
/// Vector Data-Independent Execution Latency
274251
275252
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] unaligned_scalar_mem: "unaligned-scalar-mem";
276253
/// Has reasonably performant unaligned scalar
277254
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] unaligned_vector_mem: "unaligned-vector-mem";
278-
without cfg check: true; // FIXME: added in https://github.com/rust-lang/rust/pull/138742
279255
/// Has reasonably performant unaligned vector
280256
281257
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] svnapot: "svnapot";

0 commit comments

Comments
 (0)