Skip to content

Commit bf467a7

Browse files
committed
backport 3e04da1b6aa93c917603911255129928d003fa83
1 parent 2f48fbf commit bf467a7

13 files changed

Lines changed: 56 additions & 10 deletions

test/hotspot/jtreg/compiler/c2/TestMinMaxSubword.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
/*
3232
* @test
3333
* @bug 8294816
34+
* @key randomness
3435
* @summary Test Math.min/max vectorization miscompilation for integer subwords
3536
* @library /test/lib /
3637
* @requires vm.compiler2.enabled

test/hotspot/jtreg/compiler/c2/irTests/TestMulNodeIdealization.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,7 @@
3131
/*
3232
* @test
3333
* @bug 8291336
34+
* @key randomness
3435
* @summary Test that transformation of multiply-by-2 is appropriately turned into additions.
3536
* @library /test/lib /
3637
* @requires vm.compiler2.enabled

test/hotspot/jtreg/compiler/c2/irTests/TestShiftAndMask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
/*
3232
* @test
3333
* @bug 8277850 8278949 8285793
34+
* @key randomness
3435
* @summary C2: optimize mask checks in counted loops
3536
* @library /test/lib /
3637
* @run driver compiler.c2.irTests.TestShiftAndMask

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
/**
2525
* @test
2626
* @bug 8302673
27+
* @key randomness
2728
* @summary [SuperWord] MaxReduction and MinReduction should vectorize for int
2829
* @library /test/lib /
2930
* @run driver compiler.loopopts.superword.MinMaxRed_Int

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @bug 8074981 8302652
27+
* @key randomness
2728
* @summary Test SuperWord Reduction Perf.
2829
* @library /test/lib /
2930
* @run main/othervm -Xbatch

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
/*
9393
* @test id=vanilla-A
9494
* @bug 8298935 8310308 8312570
95+
* @key randomness
9596
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
9697
* @library /test/lib /
9798
* @run driver compiler.loopopts.superword.TestDependencyOffsets vanilla-A
@@ -100,6 +101,7 @@
100101
/*
101102
* @test id=vanilla-U
102103
* @bug 8298935 8310308 8312570
104+
* @key randomness
103105
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
104106
* @library /test/lib /
105107
* @run driver compiler.loopopts.superword.TestDependencyOffsets vanilla-U
@@ -108,6 +110,7 @@
108110
/*
109111
* @test id=sse4-v016-A
110112
* @bug 8298935 8310308 8312570
113+
* @key randomness
111114
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
112115
* @requires vm.compiler2.enabled
113116
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -119,6 +122,7 @@
119122
/*
120123
* @test id=sse4-v016-U
121124
* @bug 8298935 8310308 8312570
125+
* @key randomness
122126
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
123127
* @requires vm.compiler2.enabled
124128
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -130,6 +134,7 @@
130134
/*
131135
* @test id=sse4-v008-A
132136
* @bug 8298935 8310308 8312570
137+
* @key randomness
133138
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
134139
* @requires vm.compiler2.enabled
135140
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -141,6 +146,7 @@
141146
/*
142147
* @test id=sse4-v008-U
143148
* @bug 8298935 8310308 8312570
149+
* @key randomness
144150
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
145151
* @requires vm.compiler2.enabled
146152
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -162,6 +168,7 @@
162168

163169
/*
164170
* @test id=sse4-v004-U
171+
* @key randomness
165172
* @bug 8298935 8310308 8312570
166173
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
167174
* @requires vm.compiler2.enabled
@@ -174,6 +181,7 @@
174181
/*
175182
* @test id=sse4-v002-A
176183
* @bug 8298935 8310308 8312570
184+
* @key randomness
177185
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
178186
* @requires vm.compiler2.enabled
179187
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -185,6 +193,7 @@
185193
/*
186194
* @test id=sse4-v002-U
187195
* @bug 8298935 8310308 8312570
196+
* @key randomness
188197
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
189198
* @requires vm.compiler2.enabled
190199
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -195,6 +204,7 @@
195204

196205
/*
197206
* @test id=avx1-v032-A
207+
* @key randomness
198208
* @bug 8298935 8310308 8312570
199209
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
200210
* @requires vm.compiler2.enabled
@@ -207,6 +217,7 @@
207217
/*
208218
* @test id=avx1-v032-U
209219
* @bug 8298935 8310308 8312570
220+
* @key randomness
210221
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
211222
* @requires vm.compiler2.enabled
212223
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -218,6 +229,7 @@
218229
/*
219230
* @test id=avx1-v016-A
220231
* @bug 8298935 8310308 8312570
232+
* @key randomness
221233
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
222234
* @requires vm.compiler2.enabled
223235
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -229,6 +241,7 @@
229241
/*
230242
* @test id=avx1-v016-U
231243
* @bug 8298935 8310308 8312570
244+
* @key randomness
232245
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
233246
* @requires vm.compiler2.enabled
234247
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -240,6 +253,7 @@
240253
/*
241254
* @test id=avx2-v032-A
242255
* @bug 8298935 8310308 8312570
256+
* @key randomness
243257
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
244258
* @requires vm.compiler2.enabled
245259
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -251,6 +265,7 @@
251265
/*
252266
* @test id=avx2-v032-U
253267
* @bug 8298935 8310308 8312570
268+
* @key randomness
254269
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
255270
* @requires vm.compiler2.enabled
256271
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -262,6 +277,7 @@
262277
/*
263278
* @test id=avx2-v016-A
264279
* @bug 8298935 8310308 8312570
280+
* @key randomness
265281
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
266282
* @requires vm.compiler2.enabled
267283
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -273,6 +289,7 @@
273289
/*
274290
* @test id=avx2-v016-U
275291
* @bug 8298935 8310308 8312570
292+
* @key randomness
276293
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
277294
* @requires vm.compiler2.enabled
278295
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -284,6 +301,7 @@
284301
/*
285302
* @test id=avx512-v064-A
286303
* @bug 8298935 8310308 8312570
304+
* @key randomness
287305
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
288306
* @requires vm.compiler2.enabled
289307
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -295,6 +313,7 @@
295313
/*
296314
* @test id=avx512-v064-U
297315
* @bug 8298935 8310308 8312570
316+
* @key randomness
298317
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
299318
* @requires vm.compiler2.enabled
300319
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -306,6 +325,7 @@
306325
/*
307326
* @test id=avx512-v032-A
308327
* @bug 8298935 8310308 8312570
328+
* @key randomness
309329
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
310330
* @requires vm.compiler2.enabled
311331
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -317,6 +337,7 @@
317337
/*
318338
* @test id=avx512-v032-U
319339
* @bug 8298935 8310308 8312570
340+
* @key randomness
320341
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
321342
* @requires vm.compiler2.enabled
322343
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -328,6 +349,7 @@
328349
/*
329350
* @test id=avx512bw-v064-A
330351
* @bug 8298935 8310308 8312570
352+
* @key randomness
331353
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
332354
* @requires vm.compiler2.enabled
333355
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -339,6 +361,7 @@
339361
/*
340362
* @test id=avx512bw-v064-U
341363
* @bug 8298935 8310308 8312570
364+
* @key randomness
342365
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
343366
* @requires vm.compiler2.enabled
344367
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -350,6 +373,7 @@
350373
/*
351374
* @test id=avx512bw-v032-A
352375
* @bug 8298935 8310308 8312570
376+
* @key randomness
353377
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
354378
* @requires vm.compiler2.enabled
355379
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -361,6 +385,7 @@
361385
/*
362386
* @test id=avx512bw-v032-U
363387
* @bug 8298935 8310308 8312570
388+
* @key randomness
364389
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
365390
* @requires vm.compiler2.enabled
366391
* @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64")
@@ -372,6 +397,7 @@
372397
/*
373398
* @test id=vec-v064-A
374399
* @bug 8298935 8310308 8312570
400+
* @key randomness
375401
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
376402
* @requires vm.compiler2.enabled
377403
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -382,6 +408,7 @@
382408
/*
383409
* @test id=vec-v064-U
384410
* @bug 8298935 8310308 8312570
411+
* @key randomness
385412
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
386413
* @requires vm.compiler2.enabled
387414
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -392,6 +419,7 @@
392419
/*
393420
* @test id=vec-v032-A
394421
* @bug 8298935 8310308 8312570
422+
* @key randomness
395423
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
396424
* @requires vm.compiler2.enabled
397425
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -402,6 +430,7 @@
402430
/*
403431
* @test id=vec-v032-U
404432
* @bug 8298935 8310308 8312570
433+
* @key randomness
405434
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
406435
* @requires vm.compiler2.enabled
407436
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -412,6 +441,7 @@
412441
/*
413442
* @test id=vec-v016-A
414443
* @bug 8298935 8310308 8312570
444+
* @key randomness
415445
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
416446
* @requires vm.compiler2.enabled
417447
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -422,6 +452,7 @@
422452
/*
423453
* @test id=vec-v016-U
424454
* @bug 8298935 8310308 8312570
455+
* @key randomness
425456
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
426457
* @requires vm.compiler2.enabled
427458
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -432,6 +463,7 @@
432463
/*
433464
* @test id=vec-v008-A
434465
* @bug 8298935 8310308 8312570
466+
* @key randomness
435467
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
436468
* @requires vm.compiler2.enabled
437469
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -442,6 +474,7 @@
442474
/*
443475
* @test id=vec-v008-U
444476
* @bug 8298935 8310308 8312570
477+
* @key randomness
445478
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
446479
* @requires vm.compiler2.enabled
447480
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -452,6 +485,7 @@
452485
/*
453486
* @test id=vec-v004-A
454487
* @bug 8298935 8310308 8312570
488+
* @key randomness
455489
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
456490
* @requires vm.compiler2.enabled
457491
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")
@@ -462,6 +496,7 @@
462496
/*
463497
* @test id=vec-v004-U
464498
* @bug 8298935 8310308 8312570
499+
* @key randomness
465500
* @summary Test SuperWord: vector size, offsets, dependencies, alignment.
466501
* @requires vm.compiler2.enabled
467502
* @requires (os.arch!="x86" & os.arch!="i386" & os.arch!="amd64" & os.arch!="x86_64")

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
/*
3535
* @test id=byte-array
3636
* @bug 8329273
37+
* @key randomness
3738
* @summary Test vectorization of loops over MemorySegment
3839
* @library /test/lib /
3940
* @compile --enable-preview -source ${jdk.version} TestMemorySegment.java

test/hotspot/jtreg/compiler/vectorapi/Test8278948.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -33,6 +33,7 @@
3333
/*
3434
* @test
3535
* @bug 8278948
36+
* @key randomness
3637
* @summary Intermediate integer promotion vector length encoding is calculated incorrectly on x86
3738
* @modules jdk.incubator.vector
3839
* @library /test/lib

test/hotspot/jtreg/compiler/vectorapi/TestVectorCompressExpandBits.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
/**
3939
* @test
4040
* @bug 8301012
41+
* @key randomness
4142
* @library /test/lib /
4243
* @requires os.arch == "aarch64" & vm.cpu.features ~= ".*sve2.*" & vm.cpu.features ~= ".*svebitperm.*"
4344
* @summary [vectorapi]: Intrinsify CompressBitsV/ExpandBitsV and add the AArch64 SVE backend implementation

test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
/*
3131
* @test
3232
* @bug 8288107
33+
* @key randomness
3334
* @summary Auto-vectorization enhancement for integer Math.max/Math.min operations
3435
* @library /test/lib /
3536
* @requires vm.compiler2.enabled

0 commit comments

Comments
 (0)