File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
crates/core_arch/src/powerpc Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -2365,6 +2365,22 @@ pub unsafe fn vec_all_ngt(a: vector_float, b: vector_float) -> bool {
23652365 vcmpgtfp_p ( 0 , a, b) != 0
23662366}
23672367
2368+ /// All Elements Not Less Than or Equal
2369+ #[ inline]
2370+ #[ target_feature( enable = "altivec" ) ]
2371+ #[ cfg_attr( test, assert_instr( "vcmpgefp." ) ) ]
2372+ pub unsafe fn vec_all_nle ( a : vector_float , b : vector_float ) -> bool {
2373+ vcmpgefp_p ( 0 , b, a) != 0
2374+ }
2375+
2376+ /// All Elements Not Less Than
2377+ #[ inline]
2378+ #[ target_feature( enable = "altivec" ) ]
2379+ #[ cfg_attr( test, assert_instr( "vcmpgtfp." ) ) ]
2380+ pub unsafe fn vec_all_nlt ( a : vector_float , b : vector_float ) -> bool {
2381+ vcmpgtfp_p ( 0 , b, a) != 0
2382+ }
2383+
23682384#[ cfg( target_endian = "big" ) ]
23692385mod endian {
23702386 use super :: * ;
You can’t perform that action at this time.
0 commit comments