From 3884190f00c5817c09262fe188d623fb45ea03e6 Mon Sep 17 00:00:00 2001 From: "Naveen H.S" Date: Thu, 24 Nov 2016 09:42:36 +0000 Subject: [PATCH] fmaxmin.c: Add -fno-vect-cost-model. 2016-11-23 Naveen H.S * gcc.target/aarch64/fmaxmin.c : Add -fno-vect-cost-model. * gcc.target/aarch64/fmul_fcvt_2.c : Likewise. * gcc.target/aarch64/vect-abs-compile.c : Likewise. * gcc.target/aarch64/vect-clz.c : Likewise. * gcc.target/aarch64/vect-fcm-eq-d.c : Likewise. * gcc.target/aarch64/vect-fcm-ge-d.c : Likewise. * gcc.target/aarch64/vect-fcm-gt-d.c : Likewise. * gcc.target/aarch64/vect-fmovd-zero.c : Likewise. * gcc.target/aarch64/vect-fmovd.c : Likewise. * gcc.target/aarch64/vect-fmovf-zero.c : Likewise. * gcc.target/aarch64/vect-fmovf.c : Likewise. * gcc.target/aarch64/vect_ctz_1.c : Likewise. From-SVN: r242821 --- gcc/testsuite/ChangeLog | 15 +++++++++++++++ gcc/testsuite/gcc.target/aarch64/fmaxmin.c | 2 +- gcc/testsuite/gcc.target/aarch64/fmul_fcvt_2.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-clz.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fcm-ge-d.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fcm-gt-d.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fmovd.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect-fmovf.c | 2 +- gcc/testsuite/gcc.target/aarch64/vect_ctz_1.c | 2 +- 13 files changed, 27 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 831ca5e..fbf06ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2016-11-23 Naveen H.S + + * gcc.target/aarch64/fmaxmin.c : Add -fno-vect-cost-model. + * gcc.target/aarch64/fmul_fcvt_2.c : Likewise. + * gcc.target/aarch64/vect-abs-compile.c : Likewise. + * gcc.target/aarch64/vect-clz.c : Likewise. + * gcc.target/aarch64/vect-fcm-eq-d.c : Likewise. + * gcc.target/aarch64/vect-fcm-ge-d.c : Likewise. + * gcc.target/aarch64/vect-fcm-gt-d.c : Likewise. + * gcc.target/aarch64/vect-fmovd-zero.c : Likewise. + * gcc.target/aarch64/vect-fmovd.c : Likewise. + * gcc.target/aarch64/vect-fmovf-zero.c : Likewise. + * gcc.target/aarch64/vect-fmovf.c : Likewise. + * gcc.target/aarch64/vect_ctz_1.c : Likewise. + 2016-11-23 Peter Bergner PR target/78458 diff --git a/gcc/testsuite/gcc.target/aarch64/fmaxmin.c b/gcc/testsuite/gcc.target/aarch64/fmaxmin.c index 7654955..4447e33 100644 --- a/gcc/testsuite/gcc.target/aarch64/fmaxmin.c +++ b/gcc/testsuite/gcc.target/aarch64/fmaxmin.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -ftree-vectorize -fno-inline -save-temps" } */ +/* { dg-options "-O2 -ftree-vectorize -fno-inline -fno-vect-cost-model -save-temps" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/aarch64/fmul_fcvt_2.c b/gcc/testsuite/gcc.target/aarch64/fmul_fcvt_2.c index d8a9335..4ac3ab7 100644 --- a/gcc/testsuite/gcc.target/aarch64/fmul_fcvt_2.c +++ b/gcc/testsuite/gcc.target/aarch64/fmul_fcvt_2.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-save-temps -O2 -ftree-vectorize -fno-inline" } */ +/* { dg-options "-save-temps -O2 -ftree-vectorize -fno-inline -fno-vect-cost-model" } */ #define N 1024 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c b/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c index 27146b8..19082d7 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O3" } */ +/* { dg-options "-O3 -fno-vect-cost-model" } */ #define N 16 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-clz.c b/gcc/testsuite/gcc.target/aarch64/vect-clz.c index 4c7321f..044fa9e 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-clz.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-clz.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -save-temps -fno-inline" } */ +/* { dg-options "-O3 -save-temps -fno-inline -fno-vect-cost-model" } */ extern void abort (); diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c b/gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c index d91cca2..4640f57 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline -fno-vect-cost-model" } */ #define FTYPE double #define ITYPE long diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fcm-ge-d.c b/gcc/testsuite/gcc.target/aarch64/vect-fcm-ge-d.c index c3c4fb3..f5b6329 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fcm-ge-d.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fcm-ge-d.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline -fno-vect-cost-model" } */ #define FTYPE double #define ITYPE long diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fcm-gt-d.c b/gcc/testsuite/gcc.target/aarch64/vect-fcm-gt-d.c index 9ef5f1c..28d7ab6 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fcm-gt-d.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fcm-gt-d.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-unroll-loops --save-temps -fno-inline -fno-vect-cost-model" } */ #define FTYPE double #define ITYPE long diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c b/gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c index f8ef3ac..bfd327c 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */ #define N 32 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fmovd.c b/gcc/testsuite/gcc.target/aarch64/vect-fmovd.c index 3c6e987..53aa66c 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fmovd.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fmovd.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */ #define N 32 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c b/gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c index e75115f..8eb8a65 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */ #define N 32 diff --git a/gcc/testsuite/gcc.target/aarch64/vect-fmovf.c b/gcc/testsuite/gcc.target/aarch64/vect-fmovf.c index ef979bc..90d911c 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect-fmovf.c +++ b/gcc/testsuite/gcc.target/aarch64/vect-fmovf.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all" } */ +/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */ #define N 32 diff --git a/gcc/testsuite/gcc.target/aarch64/vect_ctz_1.c b/gcc/testsuite/gcc.target/aarch64/vect_ctz_1.c index 39cf00e..c4eaf5b 100644 --- a/gcc/testsuite/gcc.target/aarch64/vect_ctz_1.c +++ b/gcc/testsuite/gcc.target/aarch64/vect_ctz_1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -save-temps -fno-inline" } */ +/* { dg-options "-O3 -save-temps -fno-inline -fno-vect-cost-model" } */ extern void abort (); -- 2.7.4