Condition code not set after CAS on aarch64

Roman Kennke rkennke at redhat.com
Wed Nov 16 14:04:45 UTC 2016


Am Freitag, den 28.10.2016, 13:35 +0200 schrieb Roland Westrelin:
> http://cr.openjdk.java.net/~roland/shenandoah/aarch64-cas-cc/webrev.0
> 0/
> 
> Instructions that set the condition code got dropped...

The condition code gets set in
MacroAssembler::cmpxchg_oop_shenandoah() already. Setting it
afterwards using cset might actually be harmful because I am not sure
that the condition flags are correct.

I'd revert the whole changeset:
http://cr.openjdk.java.net/~roland/shenandoah/aarch64-cas-cc/webrev.00/

Ok to revert?

Roman


More information about the shenandoah-dev mailing list