mirror of
https://github.com/Noratrieb/intringen.git
synced 2026-01-16 06:35:03 +01:00
compare hard and soft
This commit is contained in:
parent
429d9b826c
commit
8f49c199cc
5 changed files with 231 additions and 28 deletions
|
|
@ -76,7 +76,7 @@ fn main() -> Result<()> {
|
|||
let list = list
|
||||
.into_iter()
|
||||
.filter(|intr| intr.cpuid.iter().any(|cpu| !cpu.value.contains("AVX512")))
|
||||
.filter(|intr| intr.name == "_mm_packus_epi16")
|
||||
.filter(|intr| INTRINSICS_GENERATE.contains(&intr.name.as_str()))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
eprintln!("filtered: {}", list.len());
|
||||
|
|
@ -85,3 +85,5 @@ fn main() -> Result<()> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
const INTRINSICS_GENERATE: &[&str] = &["_mm_packus_epi16", "_mm_setr_epi16"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue