Skip to content

Commit a357860

Browse files
committed
8333729: C2 SuperWord: remove some @requires usages in test/hotspot/jtreg/compiler/loopopts/superword
Reviewed-by: chagedorn, kvn
1 parent fa600dc commit a357860

22 files changed

+76
-68
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@
2424

2525
/**
2626
* @test
27-
* @requires vm.compiler2.enabled
2827
* @bug 8238438
2928
* @summary Tests to select the memory state of the last load in a load pack in SuperWord::co_locate_pack.
3029
*
3130
* @run main/othervm -Xbatch -XX:CompileCommand=compileonly,compiler.loopopts.superword.CoLocatePackMemoryState::test
32-
* -XX:LoopMaxUnroll=16 compiler.loopopts.superword.CoLocatePackMemoryState
31+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopMaxUnroll=16 compiler.loopopts.superword.CoLocatePackMemoryState
3332
*/
3433

3534
package compiler.loopopts.superword;

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @test
2626
* @bug 8240248
2727
* @summary Add C2 x86 Superword support for scalar logical reduction optimizations : long test
28-
* @requires vm.bits == "64"
2928
* @library /test/lib /
3029
* @run driver compiler.loopopts.superword.RedTest_long
3130
*/
@@ -137,6 +136,7 @@ public static void reductionInit2(
137136
failOn = {IRNode.ADD_REDUCTION_VL})
138137
@IR(applyIfCPUFeature = {"avx2", "true"},
139138
applyIfAnd = {"SuperWordReductions", "true", "LoopMaxUnroll", ">= 8"},
139+
applyIfPlatform = {"64-bit", "true"},
140140
counts = {IRNode.ADD_REDUCTION_VL, ">= 1", IRNode.ADD_REDUCTION_VL, "<= 2"}) // one for main-loop, one for vector-post-loop
141141
public static long sumReductionImplement(
142142
long[] a,
@@ -154,6 +154,7 @@ public static long sumReductionImplement(
154154
failOn = {IRNode.OR_REDUCTION_V})
155155
@IR(applyIfCPUFeature = {"avx2", "true"},
156156
applyIfAnd = {"SuperWordReductions", "true", "LoopMaxUnroll", ">= 8"},
157+
applyIfPlatform = {"64-bit", "true"},
157158
counts = {IRNode.OR_REDUCTION_V, ">= 1", IRNode.OR_REDUCTION_V, "<= 2"}) // one for main-loop, one for vector-post-loop
158159
public static long orReductionImplement(
159160
long[] a,
@@ -171,6 +172,7 @@ public static long orReductionImplement(
171172
failOn = {IRNode.AND_REDUCTION_V})
172173
@IR(applyIfCPUFeature = {"avx2", "true"},
173174
applyIfAnd = {"SuperWordReductions", "true", "LoopMaxUnroll", ">= 8"},
175+
applyIfPlatform = {"64-bit", "true"},
174176
counts = {IRNode.AND_REDUCTION_V, ">= 1", IRNode.AND_REDUCTION_V, "<= 2"}) // one for main-loop, one for vector-post-loop
175177
public static long andReductionImplement(
176178
long[] a,
@@ -188,6 +190,7 @@ public static long andReductionImplement(
188190
failOn = {IRNode.XOR_REDUCTION_V})
189191
@IR(applyIfCPUFeature = {"avx2", "true"},
190192
applyIfAnd = {"SuperWordReductions", "true", "LoopMaxUnroll", ">= 8"},
193+
applyIfPlatform = {"64-bit", "true"},
191194
counts = {IRNode.XOR_REDUCTION_V, ">= 1", IRNode.XOR_REDUCTION_V, "<= 2"}) // one for main-loop, one for vector-post-loop
192195
public static long xorReductionImplement(
193196
long[] a,
@@ -205,6 +208,7 @@ public static long xorReductionImplement(
205208
failOn = {IRNode.MUL_REDUCTION_VL})
206209
@IR(applyIfCPUFeature = {"avx512dq", "true"},
207210
applyIfAnd = {"SuperWordReductions", "true", "LoopMaxUnroll", ">= 8"},
211+
applyIfPlatform = {"64-bit", "true"},
208212
counts = {IRNode.MUL_REDUCTION_VL, ">= 1", IRNode.MUL_REDUCTION_VL, "<= 2"}) // one for main-loop, one for vector-post-loop
209213
public static long mulReductionImplement(
210214
long[] a,

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@
2525
* @test
2626
* @bug 8074981 8302652
2727
* @summary Test SuperWord Reduction Perf.
28-
* @requires vm.compiler2.enabled
29-
* @requires vm.simpleArch == "x86" | vm.simpleArch == "x64" | vm.simpleArch == "aarch64" | vm.simpleArch == "riscv64"
3028
* @library /test/lib /
31-
* @run main/othervm -Xbatch -XX:LoopUnrollLimit=250
29+
* @run main/othervm -Xbatch
3230
* -XX:CompileCommand=exclude,compiler.loopopts.superword.ReductionPerf::main
31+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=250
3332
* compiler.loopopts.superword.ReductionPerf
3433
*/
3534

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
* @summary Test AlignVector with various loop init, stride, scale, invar, etc.
4040
* @modules java.base/jdk.internal.misc
4141
* @library /test/lib /
42-
* @requires vm.compiler2.enabled
4342
* @run driver compiler.loopopts.superword.TestAlignVector NoAlignVector
4443
*/
4544

@@ -49,7 +48,6 @@
4948
* @summary Test AlignVector with various loop init, stride, scale, invar, etc.
5049
* @modules java.base/jdk.internal.misc
5150
* @library /test/lib /
52-
* @requires vm.compiler2.enabled
5351
* @run driver compiler.loopopts.superword.TestAlignVector AlignVector
5452
*/
5553

@@ -59,7 +57,6 @@
5957
* @summary Test AlignVector with various loop init, stride, scale, invar, etc.
6058
* @modules java.base/jdk.internal.misc
6159
* @library /test/lib /
62-
* @requires vm.compiler2.enabled
6360
* @run driver compiler.loopopts.superword.TestAlignVector VerifyAlignVector
6461
*/
6562

@@ -96,7 +93,7 @@ interface TestFunction {
9693
public static void main(String[] args) {
9794
TestFramework framework = new TestFramework(TestAlignVector.class);
9895
framework.addFlags("--add-modules", "java.base", "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED",
99-
"-XX:LoopUnrollLimit=250");
96+
"-XX:+IgnoreUnrecognizedVMOptions", "-XX:LoopUnrollLimit=250");
10097

10198
switch (args[0]) {
10299
case "NoAlignVector" -> { framework.addFlags("-XX:-AlignVector"); }

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

-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* @summary Fuzzing loops with different (random) init, limit, stride, scale etc. Do not force alignment.
2828
* @modules java.base/jdk.internal.misc
2929
* @library /test/lib
30-
* @requires vm.compiler2.enabled
3130
* @key randomness
3231
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions
3332
* -XX:LoopUnrollLimit=250
@@ -41,7 +40,6 @@
4140
* @summary Fuzzing loops with different (random) init, limit, stride, scale etc. Verify AlignVector.
4241
* @modules java.base/jdk.internal.misc
4342
* @library /test/lib
44-
* @requires vm.compiler2.enabled
4543
* @key randomness
4644
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions
4745
* -XX:+AlignVector -XX:+VerifyAlignVector
@@ -56,8 +54,6 @@
5654
* @summary Fuzzing loops with different (random) init, limit, stride, scale etc. Verify AlignVector.
5755
* @modules java.base/jdk.internal.misc
5856
* @library /test/lib
59-
* @requires vm.compiler2.enabled
60-
* @requires vm.bits == 64
6157
* @key randomness
6258
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions
6359
* -XX:+AlignVector -XX:+VerifyAlignVector
@@ -73,7 +69,6 @@
7369
* @summary Fuzzing loops with different (random) init, limit, stride, scale etc. Verify AlignVector.
7470
* @modules java.base/jdk.internal.misc
7571
* @library /test/lib
76-
* @requires vm.compiler2.enabled
7772
* @key randomness
7873
* @run main/bootclasspath/othervm -XX:+IgnoreUnrecognizedVMOptions
7974
* -XX:+AlignVector -XX:+VerifyAlignVector

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

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* @bug 8298935
2828
* @summary Writing forward on array creates cyclic dependency
2929
* which leads to wrong result, when ignored.
30-
* @requires vm.compiler2.enabled
3130
* @library /test/lib /
3231
* @run driver TestCyclicDependency
3332
*/

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* and various MaxVectorSize values, and +- AlignVector.
2828
*
2929
* Note: this test is auto-generated. Please modify / generate with script:
30-
* https://bugs.openjdk.org/browse/JDK-8310190
30+
* https://bugs.openjdk.org/browse/JDK-8333729
3131
*
3232
* Types: int, long, short, char, byte, float, double
3333
* Offsets: 0, -1, 1, -2, 2, -3, 3, -4, 4, -7, 7, -8, 8, -14, 14, -16, 16, -18, 18, -20, 20, -31, 31, -32, 32, -63, 63, -64, 64, -65, 65, -128, 128, -129, 129, -192, 192
@@ -113,7 +113,6 @@
113113
* @test id=vanilla-A
114114
* @bug 8298935 8308606 8310308 8312570 8310190
115115
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
116-
* @requires vm.compiler2.enabled
117116
* @library /test/lib /
118117
* @run driver compiler.loopopts.superword.TestDependencyOffsets vanilla-A
119118
*/
@@ -122,7 +121,6 @@
122121
* @test id=vanilla-U
123122
* @bug 8298935 8308606 8310308 8312570 8310190
124123
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
125-
* @requires vm.compiler2.enabled
126124
* @library /test/lib /
127125
* @run driver compiler.loopopts.superword.TestDependencyOffsets vanilla-U
128126
*/
@@ -1285,7 +1283,7 @@ public static void main(String args[]) {
12851283
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestDependencyOffsets::init",
12861284
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestDependencyOffsets::test*",
12871285
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestDependencyOffsets::verify",
1288-
"-XX:LoopUnrollLimit=250");
1286+
"-XX:+IgnoreUnrecognizedVMOptions", "-XX:LoopUnrollLimit=250");
12891287

12901288
if (args.length != 1) {
12911289
throw new RuntimeException("Test requires exactly one argument!");

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

+14-6
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* @summary Test reduction vectorizations that are enabled by performing SLP
2828
* reduction analysis on unrolled loops.
2929
* @library /test/lib /
30-
* @requires vm.bits == 64
3130
* @run driver compiler.loopopts.superword.TestGeneralizedReductions
3231
*/
3332

@@ -42,7 +41,7 @@ public class TestGeneralizedReductions {
4241

4342
public static void main(String[] args) throws Exception {
4443
// Fix maximum number of unrolls for test stability.
45-
TestFramework.runWithFlags("-XX:LoopMaxUnroll=16");
44+
TestFramework.runWithFlags("-XX:+IgnoreUnrecognizedVMOptions", "-XX:LoopMaxUnroll=16");
4645
}
4746

4847
@Run(test = {"testReductionOnGlobalAccumulator",
@@ -82,7 +81,9 @@ private static void initArray(long[] array) {
8281
}
8382

8483
@Test
85-
@IR(applyIfCPUFeature = {"avx2", "true"}, applyIf = {"SuperWordReductions", "true"},
84+
@IR(applyIfCPUFeature = {"avx2", "true"},
85+
applyIf = {"SuperWordReductions", "true"},
86+
applyIfPlatform = {"64-bit", "true"},
8687
counts = {IRNode.ADD_REDUCTION_VI, ">= 1"})
8788
private static long testReductionOnGlobalAccumulator(long[] array) {
8889
acc = 0;
@@ -93,7 +94,9 @@ private static long testReductionOnGlobalAccumulator(long[] array) {
9394
}
9495

9596
@Test
96-
@IR(applyIfCPUFeature = {"avx2", "true"}, applyIf = {"SuperWordReductions", "true"},
97+
@IR(applyIfCPUFeature = {"avx2", "true"},
98+
applyIf = {"SuperWordReductions", "true"},
99+
applyIfPlatform = {"64-bit", "true"},
97100
counts = {IRNode.ADD_REDUCTION_VI, ">= 1"})
98101
private static long testReductionOnPartiallyUnrolledLoop(long[] array) {
99102
int sum = 0;
@@ -105,7 +108,9 @@ private static long testReductionOnPartiallyUnrolledLoop(long[] array) {
105108
}
106109

107110
@Test
108-
@IR(applyIfCPUFeature = {"avx2", "true"}, applyIf = {"SuperWordReductions", "true"},
111+
@IR(applyIfCPUFeature = {"avx2", "true"},
112+
applyIf = {"SuperWordReductions", "true"},
113+
applyIfPlatform = {"64-bit", "true"},
109114
counts = {IRNode.ADD_REDUCTION_VI, ">= 1"})
110115
private static long testReductionOnLargePartiallyUnrolledLoop(long[] array) {
111116
int sum = 0;
@@ -128,7 +133,9 @@ private static long testReductionOnLargePartiallyUnrolledLoop(long[] array) {
128133
// If this limitation is overcome in the future, the test case should be
129134
// turned into a positive one.
130135
@Test
131-
@IR(applyIfCPUFeature = {"avx2", "true"}, applyIf = {"SuperWordReductions", "true"},
136+
@IR(applyIfCPUFeature = {"avx2", "true"},
137+
applyIf = {"SuperWordReductions", "true"},
138+
applyIfPlatform = {"64-bit", "true"},
132139
failOn = {IRNode.ADD_REDUCTION_VI})
133140
private static long testReductionOnPartiallyUnrolledLoopWithSwappedInputs(long[] array) {
134141
int sum = 0;
@@ -142,6 +149,7 @@ private static long testReductionOnPartiallyUnrolledLoopWithSwappedInputs(long[]
142149
@Test
143150
@IR(applyIfCPUFeature = {"avx2", "true"},
144151
applyIfAnd = {"SuperWordReductions", "true","UsePopCountInstruction", "true"},
152+
applyIfPlatform = {"64-bit", "true"},
145153
counts = {IRNode.ADD_REDUCTION_VI, ">= 1",
146154
IRNode.POPCOUNT_VL, ">= 1"})
147155
@IR(applyIfPlatform = {"riscv64", "true"},

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

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
* @bug 8304042
2828
* @summary Test some examples with independent packs with cyclic dependency
2929
* between the packs.
30-
* @requires vm.bits == 64
31-
* @requires vm.compiler2.enabled
3230
* @modules java.base/jdk.internal.misc
3331
* @library /test/lib /
3432
* @run driver compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency
@@ -78,7 +76,7 @@ public static void main(String args[]) {
7876
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*",
7977
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify",
8078
"-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init",
81-
"-XX:LoopUnrollLimit=1000");
79+
"-XX:+IgnoreUnrecognizedVMOptions", "-XX:LoopUnrollLimit=1000");
8280
}
8381

8482
TestIndependentPacksWithCyclicDependency() {
@@ -120,6 +118,7 @@ public void runTest0() {
120118

121119
@Test
122120
@IR(counts = {IRNode.ADD_VI, "> 0", IRNode.MUL_VF, "> 0"},
121+
applyIfPlatform = {"64-bit", "true"},
123122
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
124123
static void test0(int[] dataIa, int[] dataIb, float[] dataFa, float[] dataFb) {
125124
for (int i = 0; i < RANGE; i+=2) {
@@ -144,6 +143,7 @@ public void runTest1() {
144143

145144
@Test
146145
@IR(counts = {IRNode.ADD_VI, "> 0", IRNode.MUL_VF, "> 0", IRNode.VECTOR_CAST_F2I, "> 0", IRNode.VECTOR_CAST_I2F, "> 0"},
146+
applyIfPlatform = {"64-bit", "true"},
147147
applyIfCPUFeatureOr = {"avx2", "true", "asimd", "true"})
148148
static void test1(int[] dataIa, int[] dataIb, float[] dataFa, float[] dataFb) {
149149
for (int i = 0; i < RANGE; i+=2) {
@@ -167,6 +167,7 @@ public void runTest2() {
167167

168168
@Test
169169
@IR(counts = {IRNode.ADD_VI, "> 0", IRNode.MUL_VI, "> 0"},
170+
applyIfPlatform = {"64-bit", "true"},
170171
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
171172
static void test2(int[] dataIa, int[] dataIb, float[] dataFa, float[] dataFb) {
172173
for (int i = 0; i < RANGE; i+=2) {
@@ -191,6 +192,7 @@ public void runTest3() {
191192

192193
@Test
193194
@IR(counts = {IRNode.ADD_VI, "> 0", IRNode.MUL_VF, "> 0"},
195+
applyIfPlatform = {"64-bit", "true"},
194196
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
195197
static void test3(int[] dataIa, int[] dataIb, float[] dataFa, float[] dataFb) {
196198
for (int i = 0; i < RANGE; i+=2) {
@@ -267,6 +269,7 @@ public void runTest6() {
267269

268270
@Test
269271
@IR(counts = {IRNode.ADD_VI, "> 0", IRNode.MUL_VI, "> 0", IRNode.ADD_VF, "> 0"},
272+
applyIfPlatform = {"64-bit", "true"},
270273
applyIfCPUFeatureOr = {"sse4.1", "true", "asimd", "true"})
271274
static void test6(int[] dataIa, int[] dataIb, float[] dataFa, float[] dataFb,
272275
long[] dataLa, long[] dataLb) {

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@
2828
* @summary Test some examples with independent packs with cyclic dependency
2929
* between the packs.
3030
* Before fix, this hit: "assert(!is_visited) failed: visit only once"
31-
* @requires vm.compiler2.enabled
3231
* @modules java.base/jdk.internal.misc
3332
* @library /test/lib /
34-
* @run main/othervm -XX:LoopUnrollLimit=250
35-
* -XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency2::test
33+
* @run main/othervm -XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency2::test
34+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=250
3635
* compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency2
3736
*/
3837

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
* @test
2828
* @bug 8327978
2929
* @summary Test compile time for large compilation, where SuperWord takes especially much time.
30-
* @requires vm.compiler2.enabled
31-
* @run main/othervm/timeout=30 -XX:LoopUnrollLimit=1000 -Xbatch
30+
* @run main/othervm/timeout=30 -Xbatch
3231
* -XX:CompileCommand=compileonly,compiler.loopopts.superword.TestLargeCompilation::test*
32+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=1000
3333
* compiler.loopopts.superword.TestLargeCompilation
3434
*/
3535

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
* @bug 8328938
3636
* @modules java.base/jdk.internal.misc
3737
* @library /test/lib /
38-
* @requires vm.compiler2.enabled
39-
* @run main/othervm -XX:+AlignVector compiler.loopopts.superword.TestLargeScaleAndStride
38+
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlignVector compiler.loopopts.superword.TestLargeScaleAndStride
4039
*/
4140

4241
package compiler.loopopts.superword;

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@
2424

2525
/**
2626
* @test
27-
* @requires vm.compiler2.enabled
2827
* @bug 8316679 8316594
2928
* @summary In SuperWord::output, LoadVector can be moved before StoreVector, but only if it is proven to be safe.
3029
* @key randomness
3130
* @modules java.base/jdk.internal.misc
3231
* @library /test/lib
3332
* @run main/othervm -XX:CompileCommand=compileonly,compiler.loopopts.superword.TestMovingLoadBeforeStore::test*
34-
* -Xbatch -XX:LoopUnrollLimit=100
35-
* -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM
3633
* --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
34+
* -Xbatch
35+
* -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM
36+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=100
3737
* compiler.loopopts.superword.TestMovingLoadBeforeStore
3838
*/
3939

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public class TestMulAddS2I {
7575

7676

7777
public static void main(String[] args) {
78-
TestFramework.runWithFlags("-XX:+AlignVector");
79-
TestFramework.runWithFlags("-XX:-AlignVector");
78+
TestFramework.runWithFlags("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AlignVector");
79+
TestFramework.runWithFlags("-XX:+IgnoreUnrecognizedVMOptions", "-XX:-AlignVector");
8080
}
8181

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

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
* @library /test/lib
3030
* @comment The test is run with -XX:LoopUnrollLimit=32 to prevent unrolling
3131
* from fully replacing vectorization.
32-
* @run main/othervm -Xbatch -XX:LoopUnrollLimit=32
33-
* compiler.loopopts.superword.TestPeeledReductionNode
32+
* @run main/othervm -Xbatch
33+
* -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=32
34+
* compiler.loopopts.superword.TestPeeledReductionNode
3435
*/
3536
package compiler.loopopts.superword;
3637

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

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
/**
2626
* @test
27-
* @requires vm.compiler2.enabled
2827
* @bug 8240281
2928
* @summary Test which needs to select the memory state of the first load in a load pack in SuperWord::co_locate_pack.
3029
*

0 commit comments

Comments
 (0)