[11] RFR(S) 8206265: assert in TestOptionsWithRanges on aarch64

Andrew Haley aph at redhat.com
Fri Jul 6 12:34:50 UTC 2018

On 07/05/2018 06:09 PM, Boris Ulasevich wrote:
> A new instruction cmp(rscratch, Rn, imm) alias is introduced to use it 
> when immediate value can not fit in 12 bit. I believe it's cleaner than 
> using subs.

Maybe so, yes.  So we can delete all but the byte form of cmp(reg, imm), poison
the other forms, and add cmp(reg, reg, imm).  Works for me.

> Alternatively, if someone believes this looks risky for 11 I can propose 
> to just limit SoftwarePrefetchHintDistance. It seems unreasonable to 
> prefetch more than a few cache lines ahead anyway.

That's best for 11.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-dev mailing list