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

Wang Huang whuang at openjdk.java.net
Thu Jun 17 01:58:13 UTC 2021


On Thu, 10 Jun 2021 05:57:35 GMT, Dong Bo <dongbo at openjdk.org> wrote:

>> ... or maybe do the OR in the vector unit?
>
> I guess it can be done with:
> 
> umaxv(v1, T4S, v0);
> mov(tmp1, v1, T4S, 0);
> cbnz(tmp1, DONE0);

I have tested @dgbo 's suggestion and found that the performance degradation happened by using `umaxv`.

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

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


More information about the hotspot-dev mailing list