We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e7af9 commit 666e1e5Copy full SHA for 666e1e5
crates/core_arch/src/powerpc/altivec.rs
@@ -2349,6 +2349,22 @@ where
2349
a.vec_any_ne(b)
2350
}
2351
2352
+/// All Elements Not Greater Than or Equal
2353
+#[inline]
2354
+#[target_feature(enable = "altivec")]
2355
+#[cfg_attr(test, assert_instr("vcmpgefp."))]
2356
+pub unsafe fn vec_all_nge(a: vector_float, b: vector_float) -> bool {
2357
+ vcmpgefp_p(0, a, b) != 0
2358
+}
2359
+
2360
+/// All Elements Not Greater Than
2361
2362
2363
+#[cfg_attr(test, assert_instr("vcmpgtfp."))]
2364
+pub unsafe fn vec_all_ngt(a: vector_float, b: vector_float) -> bool {
2365
+ vcmpgtfp_p(0, a, b) != 0
2366
2367
2368
#[cfg(target_endian = "big")]
2369
mod endian {
2370
use super::*;
0 commit comments