Condition code not set after CAS on aarch64

Andrew Haley aph at redhat.com
Wed Nov 16 16:20:28 UTC 2016


On 16/11/16 16:13, Roman Kennke wrote:
> Am Mittwoch, den 16.11.2016, 16:09 +0000 schrieb Andrew Haley:
>> On 16/11/16 15:59, Roman Kennke wrote:
>>>
>>> Yes. And we set that register in cmpxchg_oop_shenandoah(). The
>>> condition code might be foobar after the loop.
> 
> The code you're referring to is old. Here:
> 
> http://hg.openjdk.java.net/shenandoah/jdk9/hotspot/file/40ecb3f31575/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp#l2200

Oh, I see.  Why do you do that?  The condition flags should be fine.

Andrew.


More information about the shenandoah-dev mailing list