diff --git a/test/hotspot/jtreg/compiler/vectorapi/VectorGatherScatterTest.java b/test/hotspot/jtreg/compiler/vectorapi/VectorGatherScatterTest.java index 9b6a1f3e8a7..fe2becc6d7a 100644 --- a/test/hotspot/jtreg/compiler/vectorapi/VectorGatherScatterTest.java +++ b/test/hotspot/jtreg/compiler/vectorapi/VectorGatherScatterTest.java @@ -42,7 +42,7 @@ import jdk.test.lib.Utils; * @bug 8288397 * @key randomness * @library /test/lib / - * @requires vm.cpu.features ~= ".*sve.*" + * @requires vm.cpu.features ~= ".*sve.*" & (vm.opt.MaxVectorSize == "null" | vm.opt.MaxVectorSize >= 16) * @summary AArch64: Fix register issues in SVE backend match rules * @modules jdk.incubator.vector *