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

Function select

Source/astcenc_vecmathlib_sve_8.h:534–537  ·  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

532 * @brief Return lanes from @c b if @c cond is set, else @c a.
533 */
534ASTCENC_SIMD_INLINE vint8 select(vint8 a, vint8 b, vmask8 cond)
535{
536 return vint8(svsel_s32(cond.m, b.m, a.m));
537}
538
539// ============================================================================
540// vfloat8 operators and functions

Callers 15

atanFunction · 0.70
atan2Function · 0.70
powFunction · 0.70
unorm16_to_sf16Function · 0.70
lns_to_sf16Function · 0.70
float_to_lnsFunction · 0.70
haccumulateFunction · 0.70
printFunction · 0.70
merge_endpointsFunction · 0.70

Calls 2

vint8Class · 0.70
vfloat8Class · 0.70

Tested by 1

TESTFunction · 0.40