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

Function lsr

Source/astcenc_vecmathlib_sve_8.h:433–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431 * @brief Logical shift right.
432 */
433template <int s> ASTCENC_SIMD_INLINE vint8 lsr(vint8 a)
434{
435 svuint32_8_t r = svreinterpret_u32_s32(a.m);
436 r = svlsr_n_u32_x(svptrue_b32(), r, s);
437 return vint8(svreinterpret_s32_u32(r));
438}
439
440/**
441 * @brief Return the min vector of two vectors.

Callers

nothing calls this directly

Calls 1

vint8Class · 0.70

Tested by

no test coverage detected