@@ -247,7 +247,7 @@ inline namespace detail
247
247
template <bool Variadic = false , bool Translate = true >
248
248
KLN_INLINE void KLN_VEC_CALL swMM (__m128 const * in,
249
249
__m128 const & b,
250
- __m128 const * c,
250
+ [[maybe_unused]] __m128 const * c,
251
251
__m128* out,
252
252
size_t count = 0 ) noexcept
253
253
{
@@ -330,9 +330,10 @@ inline namespace detail
330
330
tmp6 = _mm_mul_ps (tmp6, scale);
331
331
332
332
// Translation
333
- __m128 tmp7; // scaled by a and added to p2
334
- __m128 tmp8; // scaled by (a0, a3, a1, a2) and added to p2
335
- __m128 tmp9; // scaled by (a0, a2, a3, a1) and added to p2
333
+ [[maybe_unused]] __m128 tmp7; // scaled by a and added to p2
334
+ [[maybe_unused]] __m128 tmp8; // scaled by (a0, a3, a1, a2), added to p2
335
+ [[maybe_unused]] __m128 tmp9; // scaled by (a0, a2, a3, a1), added to p2
336
+
336
337
if constexpr (Translate)
337
338
{
338
339
__m128 czero = KLN_SWIZZLE (*c, 0 , 0 , 0 , 0 );
@@ -408,7 +409,7 @@ inline namespace detail
408
409
template <bool Variadic = false , bool Translate = true >
409
410
KLN_INLINE void KLN_VEC_CALL sw012 (__m128 const * a,
410
411
__m128 const & b,
411
- __m128 const * c,
412
+ [[maybe_unused]] __m128 const * c,
412
413
__m128* out,
413
414
size_t count = 0 )
414
415
{
@@ -477,7 +478,7 @@ inline namespace detail
477
478
// 2a3(b0 c3 + b1 c2 + b3 c0 - b2 c1)
478
479
// by decomposing into four vectors, factoring out the a components
479
480
480
- __m128 tmp4;
481
+ [[maybe_unused]] __m128 tmp4;
481
482
if constexpr (Translate)
482
483
{
483
484
tmp4 = _mm_mul_ps (KLN_SWIZZLE (b, 0 , 0 , 0 , 0 ), *c);
@@ -535,7 +536,7 @@ inline namespace detail
535
536
template <bool Variadic = false , bool Translate = true >
536
537
KLN_INLINE void KLN_VEC_CALL sw312 (__m128 const * a,
537
538
__m128 const & b,
538
- __m128 const * c,
539
+ [[maybe_unused]] __m128 const * c,
539
540
__m128* out,
540
541
size_t count = 0 ) noexcept
541
542
{
0 commit comments