X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fbt_matchfinder.h;h=4fe754c95c3e7f181460ad01bd3b41646bd7a384;hp=536ead6a3930c9a430b39e09e7bd4843b2781502;hb=de58d5f57732df8129fbfd71d46ae5968ac59646;hpb=2fed42ae0eee69e6352425c29ca2b12af99f8992 diff --git a/include/wimlib/bt_matchfinder.h b/include/wimlib/bt_matchfinder.h index 536ead6a..4fe754c9 100644 --- a/include/wimlib/bt_matchfinder.h +++ b/include/wimlib/bt_matchfinder.h @@ -178,7 +178,7 @@ bt_matchfinder_get_matches(struct bt_matchfinder * const restrict mf, *next_hash = bt_matchfinder_hash_3_bytes(in_next + 1); cur_node = mf->hash_tab[hash]; mf->hash_tab[hash] = in_next - in_begin; - prefetch(&mf->hash_tab[*next_hash]); + prefetchw(&mf->hash_tab[*next_hash]); pending_lt_ptr = bt_left_child(mf, in_next - in_begin); pending_gt_ptr = bt_right_child(mf, in_next - in_begin); @@ -285,7 +285,7 @@ bt_matchfinder_skip_position(struct bt_matchfinder * const restrict mf, *next_hash = bt_matchfinder_hash_3_bytes(in_next + 1); cur_node = mf->hash_tab[hash]; mf->hash_tab[hash] = in_next - in_begin; - prefetch(&mf->hash_tab[*next_hash]); + prefetchw(&mf->hash_tab[*next_hash]); depth_remaining = max_search_depth; pending_lt_ptr = bt_left_child(mf, in_next - in_begin);