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

Function min

Source/astcenc_vecmathlib_rvv_n.h:475–478  ·  view source on GitHub ↗

* @brief Return the min vector of two vectors. */

Source from the content-addressed store, hash-verified

473 * @brief Return the min vector of two vectors.
474 */
475ASTCENC_SIMD_INLINE vint min(vint a, vint b)
476{
477 return vint(__riscv_vmin(a.m, b.m, vint::vl()));
478}
479
480/**
481 * @brief Return the max vector of two vectors.

Callers 1

clampFunction · 0.70

Calls 2

vintClass · 0.85
vfloatClass · 0.85

Tested by

no test coverage detected