@@ -282,6 +282,61 @@ pub fn find(name: &str) -> Option<Intrinsic> {
282
282
output : & :: U32x4 ,
283
283
definition : Named ( "llvm.ppc.altivec.vavguw" )
284
284
} ,
285
+ "_vec_packssh" => Intrinsic {
286
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I16x8 , & :: I16x8 ] ; & INPUTS } ,
287
+ output : & :: I8x16 ,
288
+ definition : Named ( "llvm.ppc.altivec.vpkshss" )
289
+ } ,
290
+ "_vec_packsuh" => Intrinsic {
291
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U16x8 , & :: U16x8 ] ; & INPUTS } ,
292
+ output : & :: U8x16 ,
293
+ definition : Named ( "llvm.ppc.altivec.vpkuhus" )
294
+ } ,
295
+ "_vec_packssw" => Intrinsic {
296
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I32x4 , & :: I32x4 ] ; & INPUTS } ,
297
+ output : & :: I16x8 ,
298
+ definition : Named ( "llvm.ppc.altivec.vpkswss" )
299
+ } ,
300
+ "_vec_packsuw" => Intrinsic {
301
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U32x4 , & :: U32x4 ] ; & INPUTS } ,
302
+ output : & :: U16x8 ,
303
+ definition : Named ( "llvm.ppc.altivec.vpkuwus" )
304
+ } ,
305
+ "_vec_packsush" => Intrinsic {
306
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I16x8 , & :: I16x8 ] ; & INPUTS } ,
307
+ output : & :: U8x16 ,
308
+ definition : Named ( "llvm.ppc.altivec.vpkshus" )
309
+ } ,
310
+ "_vec_packsusw" => Intrinsic {
311
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I32x4 , & :: I32x4 ] ; & INPUTS } ,
312
+ output : & :: U16x8 ,
313
+ definition : Named ( "llvm.ppc.altivec.vpkswus" )
314
+ } ,
315
+ "_vec_packpx" => Intrinsic {
316
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I32x4 , & :: I32x4 ] ; & INPUTS } ,
317
+ output : & :: I16x8 ,
318
+ definition : Named ( "llvm.ppc.altivec.vpkpx" )
319
+ } ,
320
+ "_vec_unpacklsb" => Intrinsic {
321
+ inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: I8x16 ] ; & INPUTS } ,
322
+ output : & :: I16x8 ,
323
+ definition : Named ( "llvm.ppc.altivec.vupklsb" )
324
+ } ,
325
+ "_vec_unpacklsh" => Intrinsic {
326
+ inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: I16x8 ] ; & INPUTS } ,
327
+ output : & :: I32x4 ,
328
+ definition : Named ( "llvm.ppc.altivec.vupklsh" )
329
+ } ,
330
+ "_vec_unpackhsb" => Intrinsic {
331
+ inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: I8x16 ] ; & INPUTS } ,
332
+ output : & :: I16x8 ,
333
+ definition : Named ( "llvm.ppc.altivec.vupkhsb" )
334
+ } ,
335
+ "_vec_unpackhsh" => Intrinsic {
336
+ inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: I16x8 ] ; & INPUTS } ,
337
+ output : & :: I32x4 ,
338
+ definition : Named ( "llvm.ppc.altivec.vupkhsh" )
339
+ } ,
285
340
_ => return None ,
286
341
} )
287
342
}
0 commit comments