Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8281544: assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/ #299

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp
Expand Up @@ -452,7 +452,7 @@ class ZSaveLiveRegisters {

void opmask_register_save(KRegister reg) {
_spill_offset -= 8;
__ kmovql(Address(rsp, _spill_offset), reg);
__ kmov(Address(rsp, _spill_offset), reg);
}

void gp_register_restore(Register reg) {
Expand All @@ -461,7 +461,7 @@ class ZSaveLiveRegisters {
}

void opmask_register_restore(KRegister reg) {
__ kmovql(reg, Address(rsp, _spill_offset));
__ kmov(reg, Address(rsp, _spill_offset));
_spill_offset += 8;
}

Expand Down
12 changes: 12 additions & 0 deletions test/jdk/jdk/incubator/vector/VectorMaxConversionTests.java
Expand Up @@ -40,6 +40,18 @@
* VectorMaxConversionTests
*/

/*
* @test
* @bug 8281544
* @summary Test that ZGC and vectorapi with KNL work together.
* @requires vm.gc.Z
* @modules jdk.incubator.vector
* @modules java.base/jdk.internal.vm.annotation
* @run testng/othervm -XX:-TieredCompilation --add-opens jdk.incubator.vector/jdk.incubator.vector=ALL-UNNAMED
* -XX:+UnlockDiagnosticVMOptions -XX:+UseKNLSetting -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions
* VectorMaxConversionTests
*/

@Test
public class VectorMaxConversionTests extends AbstractVectorConversionTest {

Expand Down