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

Function operator~

Source/astcenc_vecmathlib_avx2_8.h:291–294  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

289 * @brief Overload: mask invert (not).
290 */
291ASTCENC_SIMD_INLINE vmask8 operator~(vmask8 a)
292{
293 return vmask8(_mm256_xor_si256(_mm256_castps_si256(a.m), _mm256_set1_epi32(-1)));
294}
295
296/**
297 * @brief Return an 8-bit mask code indicating mask status.

Callers

nothing calls this directly

Calls 2

vmask8Class · 0.70
vint8Class · 0.70

Tested by

no test coverage detected