RFR: 8268229: Aarch64: Use Neon in intrinsics for String.equals [v3]

Wang Huang whuang at openjdk.java.net
Mon Jul 5 06:40:56 UTC 2021


On Mon, 5 Jul 2021 06:37:47 GMT, Wang Huang <whuang at openjdk.org> wrote:

>> * Why we unrolling the loop ?
>> *  It is found that these codes degrades performance 
>>  ```
>>     br(LE, B16);
>>     subs(cnt1, cnt1, wordSize);
>>     br(LE, B24);
>>     subs(cnt1, cnt1, wordSize);
>> 
>>  We unrolls the loop to remove these comparsion.
>
> * Why we unroll the loop ?
> *  It is found that these codes degrades performance 
>  ```
>     br(LE, B16);
>     subs(cnt1, cnt1, wordSize);
>     br(LE, B24);
>     subs(cnt1, cnt1, wordSize);
> 
>  We unroll the loop to remove these comparsion.

* Why we unroll the loop ?
*  It is found that these codes degrades performance 
 ```
    br(LE, B16);
    subs(cnt1, cnt1, wordSize);
    br(LE, B24);
    subs(cnt1, cnt1, wordSize);

 We unroll the loop to remove these comparsion.

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

PR: https://git.openjdk.java.net/jdk/pull/4423


More information about the hotspot-dev mailing list