File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
librustc_platform_intrinsics Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 255
255
"ret" : " f32" ,
256
256
"args" : [" 0" ]
257
257
},
258
+ {
259
+ "intrinsic" : " trunc" ,
260
+ "width" : [128 ],
261
+ "llvm" : " vrfiz" ,
262
+ "ret" : " f32" ,
263
+ "args" : [" 0" ]
264
+ },
258
265
{
259
266
"intrinsic" : " loge" ,
260
267
"width" : [128 ],
Original file line number Diff line number Diff line change @@ -422,6 +422,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
422
422
output : & :: F32x4 ,
423
423
definition : Named ( "llvm.ppc.altivec.vrfin" )
424
424
} ,
425
+ "_vec_trunc" => Intrinsic {
426
+ inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: F32x4 ] ; & INPUTS } ,
427
+ output : & :: F32x4 ,
428
+ definition : Named ( "llvm.ppc.altivec.vrfiz" )
429
+ } ,
425
430
"_vec_loge" => Intrinsic {
426
431
inputs : { static INPUTS : [ & ' static Type ; 1 ] = [ & :: F32x4 ] ; & INPUTS } ,
427
432
output : & :: F32x4 ,
You can’t perform that action at this time.
0 commit comments