Skip to content

Commit ab00069

Browse files
committed
8370244: [PPC64] Several vector tests fail on Power8
1 parent 49f51f9 commit ab00069

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hotspot/cpu/ppc/vm_version_ppc.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ void VM_Version::initialize() {
111111
}
112112

113113
MaxVectorSize = SuperwordUseVSX ? 16 : 8;
114+
if (!SuperwordUseVSX && FLAG_IS_DEFAULT(EnableVectorSupport)) {
115+
// VectorSupport intrinsics currently have issues with MaxVectorSize < 16 (JDK-8370803).
116+
FLAG_SET_ERGO(EnableVectorSupport, false);
117+
}
114118
if (FLAG_IS_DEFAULT(AlignVector)) {
115119
FLAG_SET_ERGO(AlignVector, false);
116120
}

0 commit comments

Comments
 (0)