From 234c8a48483a74892a0e6c49d1e100ad42fbdde4 Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Tue, 21 May 2024 17:41:40 +0100 Subject: [PATCH] Fix comment typos in AVX2 header (#467) --- Source/astcenc_vecmathlib_avx2_8.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/astcenc_vecmathlib_avx2_8.h b/Source/astcenc_vecmathlib_avx2_8.h index 3ca25e35e..69b9c98c8 100644 --- a/Source/astcenc_vecmathlib_avx2_8.h +++ b/Source/astcenc_vecmathlib_avx2_8.h @@ -54,7 +54,7 @@ struct vfloat8 ASTCENC_SIMD_INLINE vfloat8() = default; /** - * @brief Construct from 4 values loaded from an unaligned address. + * @brief Construct from 8 values loaded from an unaligned address. * * Consider using loada() which is better with vectors if data is aligned * to vector length. @@ -183,7 +183,7 @@ struct vint8 /** * @brief Construct from 1 scalar value replicated across all lanes. * - * Consider using vfloat4::zero() for constexpr zeros. + * Consider using vfloat8::zero() for constexpr zeros. */ ASTCENC_SIMD_INLINE explicit vint8(int a) { @@ -606,7 +606,7 @@ ASTCENC_SIMD_INLINE vint8 select(vint8 a, vint8 b, vmask8 cond) } // ============================================================================ -// vfloat4 operators and functions +// vfloat8 operators and functions // ============================================================================ /**