[aarch64-port-dev ] RFR(XS): 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value

Andrew Haley aph at redhat.com
Mon Oct 1 13:28:57 UTC 2018


On 10/01/2018 02:18 PM, Andrew Haley wrote:
> It'd be better with a switch, but you get the idea.

Ahh, not quite, because rscratch1 might be result. So we'd have
to handle the result == noreg case separately. But we could still
do it.

-- 
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-compiler-dev mailing list