]> git.proxmox.com Git - mirror_ovs.git/commit
hash: Enable hash_bytes128 optimization for aarch64.
authorYanqin Wei <Yanqin.Wei@arm.com>
Wed, 27 Feb 2019 09:44:06 +0000 (17:44 +0800)
committerBen Pfaff <blp@ovn.org>
Wed, 27 Feb 2019 18:22:52 +0000 (10:22 -0800)
commitd74c920219e3df88a9f535d7e3d2df279463a048
tree6b2d2af29bfe9beb2c400eae116a4cda26e23b23
parentec9895b210f6206cfa7ae2fa665b0192e7e0f184
hash: Enable hash_bytes128 optimization for aarch64.

"hash_bytes128" has two versions for 64 bits and 32 bits system. This
should be common optimization for their respective platforms. But 64 bits
version was only enabled in x86-64. This patch enable it for aarch64
platform.
Micro benchmarking test was run in two kinds of arm platform. It was
observed that 50% performance improvement in thunderX2 and 40% improvement
in TaiShan(Cortex-A72).

Signed-off-by: Yanqin Wei <Yanqin.Wei@arm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/hash.c