From 93099a4afccff96fc29176baba745f687cee1a8f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 31 May 2019 03:53:39 -0600 Subject: [PATCH] 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 Signed-off-by: Jan Beulich Acked-by: Julien Grall --- xen/arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index 581de67b6b..585b57f023 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -12,6 +12,7 @@ config ARM_32 config ARM_64 def_bool y depends on 64BIT + select HAS_FAST_MULTIPLY config ARM def_bool y -- 2.30.2