From: Dale Weiler Date: Sat, 14 Dec 2013 20:07:04 +0000 (-0500) Subject: Fix some stuff X-Git-Tag: xonotic-v0.8.0~30 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=31e13e6e6469dbc460f18a38e31495b0f39bfcec;p=xonotic%2Fgmqcc.git Fix some stuff --- diff --git a/hash.c b/hash.c index 5043962..276817e 100644 --- a/hash.c +++ b/hash.c @@ -252,7 +252,7 @@ static GMQCC_FORCEINLINE uint32_t hash_native_result(uint32_t hash, uint32_t car return hash; } -static GMQCC_FORCEINLINE uint32_t hash_native(const void *GMQCC_RESTRICT key, size_t length) { +static GMQCC_FORCEINLINE GMQCC_USED uint32_t hash_native(const void *GMQCC_RESTRICT key, size_t length) { uint32_t hash = HASH_SEED; uint32_t carry = 0; @@ -389,7 +389,7 @@ static uint32_t hash_entry(const void *GMQCC_RESTRICT key, size_t length) { } return (GMQCC_LIKELY(sse)) - ? hash_sse(key, length); + ? hash_sse(key, length) : hash_native(key, length); /* * Same as above but this time host compiler was defined with SSE support.