X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Flzms_compress.c;h=e811a87658bda5eea3db465bf5c446f068a6229e;hb=7bc9a01d5260f39f5d8c14a5478e3eada7d08ddd;hp=099a9dbf3c8ac1c8fb629b561b0e2de2450c3287;hpb=c24f1c029572b67c7023aa06a7c24a46cf938367;p=wimlib diff --git a/src/lzms_compress.c b/src/lzms_compress.c index 099a9dbf..e811a876 100644 --- a/src/lzms_compress.c +++ b/src/lzms_compress.c @@ -249,7 +249,7 @@ struct lzms_optimum_node { * * Note: this adaptive state structure also does not include the * probability entries or current Huffman codewords. Those aren't - * maintained per-position and are only updated occassionally. + * maintained per-position and are only updated occasionally. */ struct lzms_adaptive_state state; } _aligned_attribute(64); @@ -1248,7 +1248,7 @@ lzms_delta_matchfinder_skip_bytes(struct lzms_compressor *c, c->delta_hash_table[hash] = (power << DELTA_SOURCE_POWER_SHIFT) | pos; c->next_delta_hashes[power] = next_hash; - prefetch(&c->delta_hash_table[next_hash]); + prefetchw(&c->delta_hash_table[next_hash]); } } while (in_next++, pos++, --count); } @@ -1726,7 +1726,7 @@ begin: c->delta_hash_table[hash] = (power << DELTA_SOURCE_POWER_SHIFT) | pos; c->next_delta_hashes[power] = next_hash; - prefetch(&c->delta_hash_table[next_hash]); + prefetchw(&c->delta_hash_table[next_hash]); if (power != cur_match >> DELTA_SOURCE_POWER_SHIFT) continue;