@@ -82,6 +82,36 @@ pub fn find(name: &str) -> Option<Intrinsic> {
82
82
output : & :: I32x4 ,
83
83
definition : Named ( "llvm.ppc.altivec.vcmpgtsw" )
84
84
} ,
85
+ "_vec_maxsb" => Intrinsic {
86
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I8x16 , & :: I8x16 ] ; & INPUTS } ,
87
+ output : & :: I8x16 ,
88
+ definition : Named ( "llvm.ppc.altivec.vmaxsb" )
89
+ } ,
90
+ "_vec_maxub" => Intrinsic {
91
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U8x16 , & :: U8x16 ] ; & INPUTS } ,
92
+ output : & :: U8x16 ,
93
+ definition : Named ( "llvm.ppc.altivec.vmaxub" )
94
+ } ,
95
+ "_vec_maxsh" => Intrinsic {
96
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I16x8 , & :: I16x8 ] ; & INPUTS } ,
97
+ output : & :: I16x8 ,
98
+ definition : Named ( "llvm.ppc.altivec.vmaxsh" )
99
+ } ,
100
+ "_vec_maxuh" => Intrinsic {
101
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U16x8 , & :: U16x8 ] ; & INPUTS } ,
102
+ output : & :: U16x8 ,
103
+ definition : Named ( "llvm.ppc.altivec.vmaxuh" )
104
+ } ,
105
+ "_vec_maxsw" => Intrinsic {
106
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I32x4 , & :: I32x4 ] ; & INPUTS } ,
107
+ output : & :: I32x4 ,
108
+ definition : Named ( "llvm.ppc.altivec.vmaxsw" )
109
+ } ,
110
+ "_vec_maxuw" => Intrinsic {
111
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U32x4 , & :: U32x4 ] ; & INPUTS } ,
112
+ output : & :: U32x4 ,
113
+ definition : Named ( "llvm.ppc.altivec.vmaxuw" )
114
+ } ,
85
115
_ => return None ,
86
116
} )
87
117
}
0 commit comments