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

Function asr

Source/astcenc_vecmathlib_none_4.h:599–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597 * @brief Arithmetic shift right.
598 */
599template <int s> ASTCENC_SIMD_INLINE vint4 asr(vint4 a)
600{
601 return vint4(a.m[0] >> s,
602 a.m[1] >> s,
603 a.m[2] >> s,
604 a.m[3] >> s);
605}
606
607/**
608 * @brief Return the min vector of two vectors.

Callers

nothing calls this directly

Calls 1

vint4Class · 0.70

Tested by

no test coverage detected