Re: [PATCH][AArch64] Use popcount_hwi instead of homebrew version

2015-08-19 Thread James Greenhalgh
On Wed, Aug 19, 2015 at 04:02:41PM +0100, Kyrill Tkachov wrote: > Hi all, > > I noticed we have a hand-crafted "bit_count" function in the aarch64 backend > that implements the popcount operation. > We already have a midend popcount_hwi function operating on HOST_WIDE_INTs > which seems to be ex

[PATCH][AArch64] Use popcount_hwi instead of homebrew version

2015-08-19 Thread Kyrill Tkachov
Hi all, I noticed we have a hand-crafted "bit_count" function in the aarch64 backend that implements the popcount operation. We already have a midend popcount_hwi function operating on HOST_WIDE_INTs which seems to be exactly what we need. This patch removes the aarch64-specific version and up