From 942d67d4e94d1e16217c9e1ab93e0f86ea7803c0 Mon Sep 17 00:00:00 2001 From: Fei Gao Date: Thu, 16 May 2024 15:08:41 +0000 Subject: [PATCH] 8320622: [TEST] Improve coverage of compiler/loopopts/superword/TestMulAddS2I.java on different platforms It would be worthwhile to improve the test coverage on all platforms by applying another common VM flag. --- .../compiler/loopopts/superword/TestMulAddS2I.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java b/test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java index c65da58b28597..4521d43804b86 100644 --- a/test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java +++ b/test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java @@ -23,7 +23,7 @@ /** * @test - * @bug 8310886 8325252 + * @bug 8310886 8325252 8320622 * @summary Test MulAddS2I vectorization. * @library /test/lib / * @run driver compiler.loopopts.superword.TestMulAddS2I @@ -68,12 +68,8 @@ public class TestMulAddS2I { public static void main(String[] args) { - if (Platform.isX64() || Platform.isX86()) { - TestFramework.runWithFlags("-XX:+UseUnalignedLoadStores"); - TestFramework.runWithFlags("-XX:-UseUnalignedLoadStores"); - } else { - TestFramework.run(); - } + TestFramework.runWithFlags("-XX:+AlignVector"); + TestFramework.runWithFlags("-XX:-AlignVector"); } @Run(test = {"testa", "testb", "testc", "testd", "teste", "testf", "testg", "testh"})