On Tue, 25 Aug 2026 03:11:05 GMT, Amit Kumar <[email protected]> wrote:

>> Harshit Dhiman has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   add some more comments
>
> src/hotspot/cpu/s390/gc/z/z_s390.ad line 189:
> 
>> 187: 
>> 188:     __ z_csg($oldval_temp$$Register, $newval_temp$$Register, mem_addr);
>> 189:     if (VM_Version::has_LoadStoreConditional()) {
> 
> Although this check doesn't make that much sense, because I don't know if 
> anyone is using z13 machine at all. But still if you want to put a check then 
> please note that we need `has_LoadStoreConditional2` for `z_locghi`. 
> 
> Suggestion:
> 
>     if (VM_Version::has_LoadStoreConditional2()) {

wait why don't you use `MacroAssembler::load_on_condition_imm_64` ? I think 
that's what you want to achieve here, right ?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31984#discussion_r3849266584

Reply via email to