core::intrinsics::simd

Function simd_eq

Source
pub unsafe extern "rust-intrinsic" fn simd_eq<T, U>(x: T, y: T) -> U
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Tests elementwise equality of two vectors.

T must be a vector of floating-point primitive types.

U must be a vector of integers with the same number of elements and element size as T.

Returns 0 for false and !0 for true.