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

Function mask

Source/astcenc_vecmathlib_rvv_n.h:322–325  ·  view source on GitHub ↗

* @brief Return a N-bit mask code indicating mask status. * * bit0 = lane 0 */

Source from the content-addressed store, hash-verified

320 * bit0 = lane 0
321 */
322ASTCENC_SIMD_INLINE uint64_t mask(vmask a)
323{
324 return __riscv_vmv_x(__riscv_vreinterpret_u64m1(a.m)) & (~(uint64_t)0 >> (64-vmask::vl()));
325}
326#else
327/* only used for in the current unit-tests */
328#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected