* @brief Return a float rounded to the nearest integer value. */
| 738 | * @brief Return a float rounded to the nearest integer value. |
| 739 | */ |
| 740 | ASTCENC_SIMD_INLINE vfloat8 round(vfloat8 a) |
| 741 | { |
| 742 | return vfloat8(svrintn_f32_x(svptrue_b32(), a.m)); |
| 743 | } |
| 744 | |
| 745 | /** |
| 746 | * @brief Return the horizontal minimum of a vector. |