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

Function lsr

Source/astcenc_vecmathlib_rvv_n.h:465–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463 * @brief Logical shift right.
464 */
465template <int s> ASTCENC_SIMD_INLINE vint lsr(vint a)
466{
467 vuint32_t r = __riscv_vreinterpret_u32m1(a.m);
468 r = __riscv_vsrl(r, s, vint::vl());
469 return vint(__riscv_vreinterpret_i32m1(r));
470}
471
472/**
473 * @brief Return the min vector of two vectors.

Callers

nothing calls this directly

Calls 1

vintClass · 0.85

Tested by

no test coverage detected