RFR: 8349686: [s390x] C1: Improve Class.isInstance intrinsic [v10]

Amit Kumar amitkumar at openjdk.org
Wed Mar 19 10:17:57 UTC 2025


On Wed, 19 Mar 2025 09:07:11 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

>> Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update src/hotspot/cpu/s390/c1_Runtime1_s390.cpp
>>   
>>   Co-authored-by: Andrew Haley <aph-open at littlepinkcloud.com>
>
> src/hotspot/cpu/s390/c1_Runtime1_s390.cpp line 603:
> 
>> 601:       Register temp0 = Z_ARG4, temp1 = Z_ARG5, temp2 = Z_R10, temp3 = Z_R11;
>> 602: 
>> 603:       __ z_lg(klass, Address(Z_ARG1, java_lang_Class::klass_offset()));
> 
> You could combine this with the LTGR below into a LTG. The clear_reg() call will preserve CC.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23535#discussion_r2002955505


More information about the hotspot-dev mailing list