Skip to content

Commit

Permalink
minor format tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
austindonisan committed Feb 9, 2024
1 parent 4623d7a commit dd5c7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1brc.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ __attribute__((aligned(4096))) void process_chunk(const void * const restrict ba
// scale+offset hashs in the store/load to avoid register intermediates
// long instead of int to advoid unecessary sign extends
long hash0 = insert_city(&hash, _mm256_extract_epi32(city_hashes, 0), maskedCity0);
__m128i vals0 = _mm_load_si128(hash.p.hashedStorage + hash0*4 + 0*16);
__m128i vals0 = _mm_load_si128(hash.p.hashedStorage + 4*hash0 + 16*0);

long hash4 = insert_city(&hash, _mm256_extract_epi32(city_hashes, 2), maskedCity4);
__m128i vals4 = _mm_load_si128(hash.p.hashedStorage + 4*hash4 + 16*4);
Expand Down

0 comments on commit dd5c7da

Please sign in to comment.