Skip to content

Commit 525b20f

Browse files
committed
8279676: Dubious YMM register clearing in x86_64 arraycopy stubs
Reviewed-by: kvn, vlivanov, neliasso
1 parent 4f0b650 commit 525b20f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/hotspot/cpu/x86/stubGenerator_x86_64.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,11 +1221,6 @@ class StubGenerator: public StubCodeGenerator {
12211221
}
12221222
__ addptr(qword_count, 4);
12231223
__ BIND(L_end);
1224-
if (UseAVX >= 2) {
1225-
// clean upper bits of YMM registers
1226-
__ vpxor(xmm0, xmm0);
1227-
__ vpxor(xmm1, xmm1);
1228-
}
12291224
} else {
12301225
// Copy 32-bytes per iteration
12311226
__ BIND(L_loop);
@@ -1299,11 +1294,6 @@ class StubGenerator: public StubCodeGenerator {
12991294
}
13001295
__ subptr(qword_count, 4);
13011296
__ BIND(L_end);
1302-
if (UseAVX >= 2) {
1303-
// clean upper bits of YMM registers
1304-
__ vpxor(xmm0, xmm0);
1305-
__ vpxor(xmm1, xmm1);
1306-
}
13071297
} else {
13081298
// Copy 32-bytes per iteration
13091299
__ BIND(L_loop);

0 commit comments

Comments
 (0)