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

Function any

Source/astcenc_vecmathlib_rvv_n.h:333–336  ·  view source on GitHub ↗

* @brief True if any lanes are enabled, false otherwise. */

Source from the content-addressed store, hash-verified

331 * @brief True if any lanes are enabled, false otherwise.
332 */
333ASTCENC_SIMD_INLINE bool any(vmask a)
334{
335 return __riscv_vfirst(a.m, vmask::vl()) >= 0;
336}
337
338/**
339 * @brief True if all lanes are enabled, false otherwise.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected