Include <nmmintrin.h> for the CRC intrinsics The _mm_crc32_*() intrinsics are SSE4.2 and are declared in <nmmintrin.h>. <smmintrin.h> is the SSE4.1 header. It builds today because clang's <smmintrin.h> pulls in the CRC intrinsics as well. No change in the output: the x86_64 object built with clang 21.1.0 is byte for byte the same. Bug: 576320193 Change-Id: If517aa82df3238ab1286ceb12315c770e97ce50d
diff --git a/av1/encoder/x86/hash_sse42.c b/av1/encoder/x86/hash_sse42.c index 53df63a..1f7d318 100644 --- a/av1/encoder/x86/hash_sse42.c +++ b/av1/encoder/x86/hash_sse42.c
@@ -10,7 +10,7 @@ */ #include <stdint.h> -#include <smmintrin.h> +#include <nmmintrin.h> #include "config/aom_config.h" #include "config/av1_rtcd.h"