Skip to content

Commit

Permalink
overview.cpp: use SSE4.1 optim with AVX
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 10, 2024
1 parent ef167ea commit db73dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcore/overview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ inline GUInt16 ComputeIntegerRMS_4values<GUInt16, double>(double sumSquares)
/* QuadraticMeanByteSSE2OrAVX2() */
/************************************************************************/

#if defined(__SSE4_1__) || defined(USE_NEON_OPTIMIZATIONS)
#if defined(__SSE4_1__) || defined(__AVX__) || defined(USE_NEON_OPTIMIZATIONS)
#define sse2_packus_epi32 _mm_packus_epi32
#else
inline __m128i sse2_packus_epi32(__m128i a, __m128i b)
Expand Down

0 comments on commit db73dcc

Please sign in to comment.