Add vec_any_out
This commit is contained in:
parent
b27fcf7ba3
commit
416fb2e11b
1 changed files with 8 additions and 0 deletions
|
|
@ -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::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue