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

Function min

Source/astcenc_vecmathlib_avx2_8.h:449–452  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

447 * @brief Return the min vector of two vectors.
448 */
449ASTCENC_SIMD_INLINE vint8 min(vint8 a, vint8 b)
450{
451 return vint8(_mm256_min_epi32(a.m, b.m));
452}
453
454/**
455 * @brief Return the max vector of two vectors.

Callers

nothing calls this directly

Calls 2

vint8Class · 0.70
vfloat8Class · 0.70

Tested by

no test coverage detected