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

Function hmax_s

Source/astcenc_vecmathlib_rvv_n.h:517–520  ·  view source on GitHub ↗

* @brief Return the horizontal maximum of a vector. */

Source from the content-addressed store, hash-verified

515 * @brief Return the horizontal maximum of a vector.
516 */
517ASTCENC_SIMD_INLINE int hmax_s(vint a)
518{
519 return __riscv_vmv_x(__riscv_vredmax(a.m, a.m, vint::vl()));
520}
521
522/**
523 * @brief Generate a vint from a size_t.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected