Skip to content

Commit

Permalink
8320622: [TEST] Improve coverage of compiler/loopopts/superword/TestM…
Browse files Browse the repository at this point in the history
…ulAddS2I.java on different platforms

It would be worthwhile to improve the test coverage on all platforms by
applying another common VM flag.
  • Loading branch information
fg1417 committed May 20, 2024
1 parent fa3e94d commit 942d67d
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"})
Expand Down

0 comments on commit 942d67d

Please sign in to comment.