[aarch64-port-dev ] RFR: 8129426: aarch64: add support for PopCount in C2

Edward Nevill edward.nevill at gmail.com
Mon Jun 22 14:59:42 UTC 2015

On Mon, 2015-06-22 at 15:04 +0100, Andrew Haley wrote:
> On 06/22/2015 02:23 PM, Edward Nevill wrote:
> > Aarch64 currently does not support the PopCountI and PopCountL nodes in aarch64.ad
> > 
> > Please review and if OK I will push,
> Shouldn't mov in the IregI case be movw?  And iRegI be iRegIorL2I?

No. It needs 0s in the top 32 bits.

The reason is that the following CNT instruction is only available in 8B or 16B forms.

It was iRegIorL2I before, I changed it to IregI because of this problem.


More information about the hotspot-dev mailing list