]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
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)
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

index 581de67b6b374bae25502c6308f4d7b281ad9696..585b57f023865c46f3376b5c54b42dde9e5e996c 100644 (file)
@@ -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