Replaced shift and add sequence with single multiply in hash function 80/32780/3
authorAndrew Cox <andrew.cox@partner.samsung.com>
Tue, 23 Dec 2014 19:35:16 +0000 (19:35 +0000)
committerAndrew Cox <andrew.cox@partner.samsung.com>
Wed, 7 Jan 2015 10:06:08 +0000 (10:06 +0000)
commit43c28815b34ba666d007c346c11753ed485496d0
tree16df36219f5a3a6138699dc5f4cfe3fe37c02420
parente43796c0a53ca45f8aead9e9cb14ec68b753aff5
Replaced shift and add sequence with single multiply in hash function

Archaic optimisation to think a sequence of instructions with
pipeline-stalling dependencies beats a single imul.
Compilers can still make the substitution with a shift and add if they
want to for a particular platform.

Change-Id: I313a5f98eae665f0fabd266fee09c078547be2ec
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
dali/internal/common/dali-hash.cpp