File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
librustc_platform_intrinsics Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 4
4
"llvm_prefix" : " llvm.ppc.altivec." ,
5
5
"number_info" : {
6
6
"unsigned" : {},
7
- "signed" : {}
7
+ "signed" : {},
8
+ "float" : {}
8
9
},
9
10
"width_info" : {
10
11
"128" : { "width" : " " }
23
24
"llvm" : " vmhraddshs" ,
24
25
"ret" : " s16" ,
25
26
"args" : [" 0" , " 0" , " 0" ]
27
+ },
28
+ {
29
+ "intrinsic" : " cmpb" ,
30
+ "width" : [128 ],
31
+ "llvm" : " vcmpbfp" ,
32
+ "ret" : " s32" ,
33
+ "args" : [" f32" , " f32" ]
26
34
}
27
35
]
28
36
}
Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
32
32
output : & :: I16x8 ,
33
33
definition : Named ( "llvm.ppc.altivec.vmhraddshs" )
34
34
} ,
35
+ "_vec_cmpb" => Intrinsic {
36
+ inputs : { static INPUTS : [ & ' static Type ; 2 ] = [ & :: F32x4 , & :: F32x4 ] ; & INPUTS } ,
37
+ output : & :: I32x4 ,
38
+ definition : Named ( "llvm.ppc.altivec.vcmpbfp" )
39
+ } ,
35
40
_ => return None ,
36
41
} )
37
42
}
You can’t perform that action at this time.
0 commit comments