File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
librustc_platform_intrinsics Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 100
100
"llvm" : " vaddcuw" ,
101
101
"ret" : " u32" ,
102
102
"args" : [" 0" , " 0" ]
103
+ },
104
+ {
105
+ "intrinsic" : " mule{1.kind}{1.data_type_short}" ,
106
+ "width" : [128 ],
107
+ "llvm" : " vmule{0.kind}{1.data_type_short}" ,
108
+ "ret" : " i(16-32)" ,
109
+ "args" : [" 0N" , " 1" ]
103
110
}
104
111
]
105
112
}
Original file line number Diff line number Diff line change @@ -212,6 +212,26 @@ pub fn find(name: &str) -> Option<Intrinsic> {
212
212
output : & :: U32x4 ,
213
213
definition : Named ( "llvm.ppc.altivec.vaddcuw" )
214
214
} ,
215
+ "_vec_mulesb" => Intrinsic {
216
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I8x16 , & :: I8x16 ] ; & INPUTS } ,
217
+ output : & :: I16x8 ,
218
+ definition : Named ( "llvm.ppc.altivec.vmulesb" )
219
+ } ,
220
+ "_vec_muleub" => Intrinsic {
221
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U8x16 , & :: U8x16 ] ; & INPUTS } ,
222
+ output : & :: U16x8 ,
223
+ definition : Named ( "llvm.ppc.altivec.vmuleub" )
224
+ } ,
225
+ "_vec_mulesh" => Intrinsic {
226
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: I16x8 , & :: I16x8 ] ; & INPUTS } ,
227
+ output : & :: I32x4 ,
228
+ definition : Named ( "llvm.ppc.altivec.vmulesh" )
229
+ } ,
230
+ "_vec_muleuh" => Intrinsic {
231
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: U16x8 , & :: U16x8 ] ; & INPUTS } ,
232
+ output : & :: U32x4 ,
233
+ definition : Named ( "llvm.ppc.altivec.vmuleuh" )
234
+ } ,
215
235
_ => return None ,
216
236
} )
217
237
}
You can’t perform that action at this time.
0 commit comments