< prev index next >
test/compiler/loopopts/superword/TestReductionWithLoopVariantUse.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,36 ****
/*
* @test
* @bug 8080976
* @summary Loop variant use in reduction should prevent vectorization
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestReductionWithLoopVariantUse
! *
*/
public class TestReductionWithLoopVariantUse {
static int m(int[] array) {
int c = 0;
for (int i = 0; i < 256; i++) {
c += array[i];
--- 23,38 ----
/*
* @test
* @bug 8080976
* @summary Loop variant use in reduction should prevent vectorization
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
! * compiler.loopopts.superword.TestReductionWithLoopVariantUse
*/
+ package compiler.loopopts.superword;
+
public class TestReductionWithLoopVariantUse {
static int m(int[] array) {
int c = 0;
for (int i = 0; i < 256; i++) {
c += array[i];
< prev index next >