Arm64: further speed-up to hweight{32,64}()
authorJan Beulich <JBeulich@suse.com>
Fri, 31 May 2019 09:53:39 +0000 (03:53 -0600)
committerJulien Grall <julien.grall@arm.com>
Thu, 6 Jun 2019 15:25:15 +0000 (16:25 +0100)
commit93099a4afccff96fc29176baba745f687cee1a8f
tree2bd5ed640f5190eb46c3602958bc36dd49fc1c76
parentb20079da97915019ca67c23f44bf45e99eb619d7
Arm64: further speed-up to hweight{32,64}()

According to Linux commit e75bef2a4f ("arm64: Select
ARCH_HAS_FAST_MULTIPLIER") this is a further improvement over the
variant using only bitwise operations on at least some hardware, and no
worse on other.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/Kconfig