[aarch64-port-dev ] [10] RFR: 8187472 - AARCH64: array_equals intrinsic doesn't use prefetch for large arrays

Andrew Haley aph at redhat.com
Fri Nov 10 14:28:23 UTC 2017

On 10/11/17 14:19, Dmitrij Pochepko wrote:

> please take a look at merged simd/non-simd version.

+    if (UseSIMDForArrayEquals) {
+      __ ld1(v0, v1, v2, v3, __ T2D, Address(__ post(a1, 64)));
+      __ ld1(v4, v5, v6, v7, __ T2D, Address(__ post(a2, 64)));

Is this post-increment correct?  It should be a multiple of wordSize.

Also, the indentation in generate_large_array_equals is wrong.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-compiler-dev mailing list