Add vec_any_out

This commit is contained in:
Luca Barbato 2023-04-08 17:17:14 +00:00 committed by Amanieu d'Antras
parent b27fcf7ba3
commit 416fb2e11b

View file

@ -2437,6 +2437,14 @@ pub unsafe fn vec_any_numeric(a: vector_float) -> bool {
vcmpgefp_p(1, a, a) != 0
}
/// Any Element Out of Bounds
#[inline]
#[target_feature(enable = "altivec")]
#[cfg_attr(test, assert_instr("vcmpeqfp."))]
pub unsafe fn vec_any_out(a: vector_float) -> bool {
vcmpeqfp_p(1, a, a) != 0
}
#[cfg(target_endian = "big")]
mod endian {
use super::*;