| 597 | * @brief Arithmetic shift right. |
| 598 | */ |
| 599 | template <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. |