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