From f75da2235ab7e33927729fa060ec4d86fdb0240f Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Wed, 17 Aug 2022 10:30:18 +0000 Subject: [PATCH] 8292395: [testbug] VectorGatherScatterTest.java fails on SVE with -XX:MaxVectorSize=8 after JDK-8288397 Reviewed-by: chagedorn, thartmann --- .../jtreg/compiler/vectorapi/VectorGatherScatterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *