mirror of
https://github.com/Noratrieb/intringen.git
synced 2026-01-16 06:35:03 +01:00
more pack
This commit is contained in:
parent
2f60340a3b
commit
9e4ce7913a
4 changed files with 131 additions and 6 deletions
|
|
@ -198,6 +198,7 @@ impl VariableType {
|
|||
let (is_signed, elem_width) = match etype {
|
||||
"SI8" => (true, 8),
|
||||
"SI16" => (true, 16),
|
||||
"SI32" => (true, 32),
|
||||
"UI8" => (false, 8),
|
||||
"UI16" => (false, 16),
|
||||
_ => bail!("unknown element type: {etype}"),
|
||||
|
|
|
|||
|
|
@ -88,4 +88,10 @@ fn main() -> Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
const INTRINSICS_GENERATE: &[&str] = &["_mm_packus_epi16", "_mm_packs_epi16", "_mm_setr_epi16"];
|
||||
const INTRINSICS_GENERATE: &[&str] = &[
|
||||
"_mm_packus_epi16",
|
||||
"_mm_packs_epi16",
|
||||
"_mm_packus_epi32",
|
||||
"_mm_packs_epi32",
|
||||
"_mm_setr_epi16",
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue