Skip to content

Commit e8cfdb8

Browse files
author
Daniel Smith
committed
Allow AVX512f or KNC intrinsics to be gated by avx512f
1 parent a74886b commit e8cfdb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/stdarch-verify/tests/x86-intel.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ fn matches(rust: &Function, intel: &Intrinsic) -> Result<(), String> {
452452
// The XML file names IFMA as "avx512ifma52", while Rust calls
453453
// it "avx512ifma".
454454
"avx512ifma52" => String::from("avx512ifma"),
455+
// Some AVX512f intrinsics are also supported by Knight's Corner.
456+
// The XML lists them as avx512f/kncni, but we are solely gating
457+
// them behind avx512f since we don't have a KNC feature yet.
458+
"avx512f/kncni" => String::from("avx512f"),
455459
// See: https://github.com/rust-lang/stdarch/issues/738
456460
// The intrinsics guide calls `f16c` `fp16c` in disagreement with
457461
// Intel's architecture manuals.

0 commit comments

Comments
 (0)