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

Function select

Source/astcenc_vecmathlib_rvv_n.h:567–570  ·  view source on GitHub ↗

* @brief Return lanes from @c b if @c cond is set, else @c a. */

Source from the content-addressed store, hash-verified

565 * @brief Return lanes from @c b if @c cond is set, else @c a.
566 */
567ASTCENC_SIMD_INLINE vint select(vint a, vint b, vmask cond)
568{
569 return vint(__riscv_vmerge(a.m, b.m, cond.m, vint::vl()));
570}
571
572// ============================================================================
573// vfloat operators and functions

Callers 2

haccumulateFunction · 0.70
printFunction · 0.70

Calls 2

vintClass · 0.85
vfloatClass · 0.85

Tested by

no test coverage detected