From 2456f752e32664bbfb802e019b15e9096ead0901 Mon Sep 17 00:00:00 2001 From: Austin Donisan Date: Fri, 2 Feb 2024 04:04:55 +0000 Subject: [PATCH] remove unecessary xor --- 1brc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/1brc.c b/1brc.c index 93dc634..9eb72b7 100644 --- a/1brc.c +++ b/1brc.c @@ -918,7 +918,6 @@ __attribute__((always_inline)) inline __m256i hash_cities(__m256i a, __m256i b, __m256i acegbdfh = (__m256i) _mm256_shuffle_ps((__m256)acbd, (__m256)egfh, 0x88); __m256i hash = _mm256_madd_epi16(acegbdfh, acegbdfh); - hash = _mm256_xor_si256(hash, acegbdfh); __m256i hash_mask = _mm256_set1_epi32(HASH_SHORT_MASK); return _mm256_and_si256(hash, hash_mask); }