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

Reviewed-by: kvn, neliasso, thartmann
This commit is contained in:
Emanuel Peter 2022-02-21 07:05:04 +00:00 committed by Tobias Hartmann
parent 8563d86f2c
commit 4e0b81c596
2 changed files with 14 additions and 2 deletions

View File

@ -452,7 +452,7 @@ private:
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) {
@ -461,7 +461,7 @@ private:
}
void opmask_register_restore(KRegister reg) {
__ kmovql(reg, Address(rsp, _spill_offset));
__ kmov(reg, Address(rsp, _spill_offset));
_spill_offset += 8;
}

View File

@ -40,6 +40,18 @@ import java.util.List;
* 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 {