Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8256488: [aarch64] Use ldpq/stpq instead of ld4/st4 for small copies …
…in StubGenerator::copy_memory

Reviewed-by: simonis
  • Loading branch information
eastig authored and simonis committed Nov 26, 2020
1 parent a93841a commit 6e0062236c836b261cde5792963fb9de3068b8f7
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
@@ -1152,9 +1152,11 @@ class StubGenerator: public StubCodeGenerator {
// (96 bytes if SIMD because we do 32 byes per instruction)
__ bind(copy80);
if (UseSIMDForMemoryOps) {
__ ld4(v0, v1, v2, v3, __ T16B, Address(s, 0));
__ ldpq(v0, v1, Address(s, 0));
__ ldpq(v2, v3, Address(s, 32));
__ ldpq(v4, v5, Address(send, -32));
__ st4(v0, v1, v2, v3, __ T16B, Address(d, 0));
__ stpq(v0, v1, Address(d, 0));
__ stpq(v2, v3, Address(d, 32));
__ stpq(v4, v5, Address(dend, -32));
} else {
__ ldp(t0, t1, Address(s, 0));

0 comments on commit 6e00622

Please sign in to comment.