Skip to content

Commit

Permalink
Forgot an "else" when choosing which SSE variant to use
Browse files Browse the repository at this point in the history
This had no effect on correctness, just performance.
  • Loading branch information
bos committed Dec 14, 2012
1 parent 68874a5 commit 2e3ebc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbits/siphash.c
Expand Up @@ -109,7 +109,7 @@ static void maybe_use_sse()

if (edx & (1 << 26))
_siphash24 = hashable_siphash24_sse2;
if (ecx & (1 << 19))
else if (ecx & (1 << 19))
_siphash24 = hashable_siphash24_sse41;
else
_siphash24 = plain_siphash24;
Expand Down

0 comments on commit 2e3ebc1

Please sign in to comment.