Skip to content

Commit 8a9d77d

Browse files
author
Fei Gao
committed
8320622: [TEST] Improve coverage of compiler/loopopts/superword/TestMulAddS2I.java on different platforms
Reviewed-by: epeter, kvn
1 parent 3d511ff commit 8a9d77d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/hotspot/jtreg/compiler/loopopts/superword/TestMulAddS2I.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/**
2525
* @test
26-
* @bug 8310886 8325252
26+
* @bug 8310886 8325252 8320622
2727
* @summary Test MulAddS2I vectorization.
2828
* @library /test/lib /
2929
* @run driver compiler.loopopts.superword.TestMulAddS2I
@@ -68,12 +68,8 @@ public class TestMulAddS2I {
6868

6969

7070
public static void main(String[] args) {
71-
if (Platform.isX64() || Platform.isX86()) {
72-
TestFramework.runWithFlags("-XX:+UseUnalignedLoadStores");
73-
TestFramework.runWithFlags("-XX:-UseUnalignedLoadStores");
74-
} else {
75-
TestFramework.run();
76-
}
71+
TestFramework.runWithFlags("-XX:+AlignVector");
72+
TestFramework.runWithFlags("-XX:-AlignVector");
7773
}
7874

7975
@Run(test = {"testa", "testb", "testc", "testd", "teste", "testf", "testg", "testh"})

0 commit comments

Comments
 (0)