"llvm": "vpkpx",
"ret": "s16",
"args": ["s32", "s32"]
+ },
+ {
+ "intrinsic": "unpackl{1.kind}{1.data_type_short}",
+ "width": [128],
+ "llvm": "vupkl{1.kind}{1.data_type_short}",
+ "ret": "s(16-32)",
+ "args": ["0N"]
+ },
+ {
+ "intrinsic": "unpackh{1.kind}{1.data_type_short}",
+ "width": [128],
+ "llvm": "vupkh{1.kind}{1.data_type_short}",
+ "ret": "s(16-32)",
+ "args": ["0N"]
}
]
}
output: &::I16x8,
definition: Named("llvm.ppc.altivec.vpkpx")
},
+ "_vec_unpacklsb" => Intrinsic {
+ inputs: { static INPUTS: [&'static Type; 1] = [&::I8x16]; &INPUTS },
+ output: &::I16x8,
+ definition: Named("llvm.ppc.altivec.vupklsb")
+ },
+ "_vec_unpacklsh" => Intrinsic {
+ inputs: { static INPUTS: [&'static Type; 1] = [&::I16x8]; &INPUTS },
+ output: &::I32x4,
+ definition: Named("llvm.ppc.altivec.vupklsh")
+ },
+ "_vec_unpackhsb" => Intrinsic {
+ inputs: { static INPUTS: [&'static Type; 1] = [&::I8x16]; &INPUTS },
+ output: &::I16x8,
+ definition: Named("llvm.ppc.altivec.vupkhsb")
+ },
+ "_vec_unpackhsh" => Intrinsic {
+ inputs: { static INPUTS: [&'static Type; 1] = [&::I16x8]; &INPUTS },
+ output: &::I32x4,
+ definition: Named("llvm.ppc.altivec.vupkhsh")
+ },
_ => return None,
})
}