Commit 6ffae249 authored by Mike Klein's avatar Mike Klein Committed by Commit Bot

msvc != x86

It's possible to get here while building for ARM64.

Change-Id: Icf621059f4cfdec28d71437917ebb348369e6c26
Reviewed-on: https://chromium-review.googlesource.com/c/1368105Reviewed-by: default avatarLeon Scroggins <scroggo@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614819}
parent d51ff5d6
......@@ -2274,7 +2274,7 @@ local INLINE Pos insert_string_sse(deflate_state *const s, const Pos str)
val &= 0xFFFFFF;
/* Windows clang should use inline asm */
#if defined(_MSC_VER) && !defined(__clang__)
#if defined(_MSC_VER) && !defined(__clang__) && (defined(_M_IX86) || defined(_M_X64))
h = _mm_crc32_u32(h, val);
#elif defined(__i386__) || defined(__amd64__)
__asm__ __volatile__ (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment