Fix MODE=opt build

This commit is contained in:
Justine Tunney 2022-09-19 15:43:52 -07:00
parent 1ea01fc905
commit 0060940d84
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -63,7 +63,7 @@ noubsan local INLINE Pos insert_string_simd(deflate_state* const s,
if (s->level >= 6) val &= 0xFFFFFF; if (s->level >= 6) val &= 0xFFFFFF;
/* Compute hash from the CRC32C of |val|. */ /* Compute hash from the CRC32C of |val|. */
asm("crc32\t%1,%0" : "+r"(h) : "rm"(val)); asm("crc32l\t%1,%0" : "+r"(h) : "rm"(val));
ret = s->head[h & s->hash_mask]; ret = s->head[h & s->hash_mask];
s->head[h & s->hash_mask] = str; s->head[h & s->hash_mask] = str;