MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / operator~

Function operator~

Source/astcenc_vecmathlib_sse_4.h:422–425  ·  view source on GitHub ↗

* @brief Overload: mask invert (not). */

Source from the content-addressed store, hash-verified

420 * @brief Overload: mask invert (not).
421 */
422ASTCENC_SIMD_INLINE vmask4 operator~(vmask4 a)
423{
424 return vmask4(_mm_xor_si128(_mm_castps_si128(a.m), _mm_set1_epi32(-1)));
425}
426
427/**
428 * @brief Return a 4-bit mask code indicating mask status.

Callers

nothing calls this directly

Calls 2

vmask4Class · 0.70
vint4Class · 0.70

Tested by

no test coverage detected