From fcd2766617291ad6cf72a0583363bd3c8f8e8165 Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Thu, 13 Oct 2016 11:07:36 +0000 Subject: [PATCH] l_fma_float_1.c: Revise test. gcc/testsuite * gcc.target/i386/l_fma_float_1.c: Revise test. * gcc.target/i386/l_fma_float_2.c: Ditto. * gcc.target/i386/l_fma_float_3.c: Ditto. * gcc.target/i386/l_fma_float_4.c: Ditto. * gcc.target/i386/l_fma_float_5.c: Ditto. * gcc.target/i386/l_fma_float_6.c: Ditto. * gcc.target/i386/l_fma_double_1.c: Ditto. * gcc.target/i386/l_fma_double_2.c: Ditto. * gcc.target/i386/l_fma_double_3.c: Ditto. * gcc.target/i386/l_fma_double_4.c: Ditto. * gcc.target/i386/l_fma_double_5.c: Ditto. * gcc.target/i386/l_fma_double_6.c: Ditto. From-SVN: r241101 --- gcc/testsuite/ChangeLog | 15 +++++++++++++++ gcc/testsuite/gcc.target/i386/l_fma_double_1.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_double_2.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_double_3.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_double_4.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_double_5.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_double_6.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_1.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_2.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_3.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_4.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_5.c | 8 ++++---- gcc/testsuite/gcc.target/i386/l_fma_float_6.c | 8 ++++---- 13 files changed, 63 insertions(+), 48 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 46124620857..c6c67ba6c69 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2016-10-13 Bin Cheng + + * gcc.target/i386/l_fma_float_1.c: Revise test. + * gcc.target/i386/l_fma_float_2.c: Ditto. + * gcc.target/i386/l_fma_float_3.c: Ditto. + * gcc.target/i386/l_fma_float_4.c: Ditto. + * gcc.target/i386/l_fma_float_5.c: Ditto. + * gcc.target/i386/l_fma_float_6.c: Ditto. + * gcc.target/i386/l_fma_double_1.c: Ditto. + * gcc.target/i386/l_fma_double_2.c: Ditto. + * gcc.target/i386/l_fma_double_3.c: Ditto. + * gcc.target/i386/l_fma_double_4.c: Ditto. + * gcc.target/i386/l_fma_double_5.c: Ditto. + * gcc.target/i386/l_fma_double_6.c: Ditto. + 2016-10-13 Bin Cheng * gfortran.dg/vect/fast-math-mgrid-resid.f: New test string. diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_1.c b/gcc/testsuite/gcc.target/i386/l_fma_double_1.c index 94e512b9602..ea90a35b505 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_1.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_1.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_2.c b/gcc/testsuite/gcc.target/i386/l_fma_double_2.c index ffceab48f48..d604d57858d 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_2.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_2.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_3.c b/gcc/testsuite/gcc.target/i386/l_fma_double_3.c index cdb4d33bee4..d1ac6a55efe 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_3.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_3.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_4.c b/gcc/testsuite/gcc.target/i386/l_fma_double_4.c index dda487e9804..58cd2722cd9 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_4.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_4.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_5.c b/gcc/testsuite/gcc.target/i386/l_fma_double_5.c index 98909aeeb84..6005a18d0d7 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_5.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_5.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_6.c b/gcc/testsuite/gcc.target/i386/l_fma_double_6.c index 538065a3102..3289baae0a7 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_6.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_6.c @@ -13,7 +13,7 @@ typedef double adouble __attribute__((aligned(sizeof (double)))); /* { dg-final { scan-assembler-times "vfmsub\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+pd" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+pd" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 56 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 56 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+sd" 88 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+sd" 88 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_1.c b/gcc/testsuite/gcc.target/i386/l_fma_float_1.c index ff109817d5d..8ecf81cef0a 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_1.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_1.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_2.c b/gcc/testsuite/gcc.target/i386/l_fma_float_2.c index 38c6b528304..a0cb9c7e350 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_2.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_2.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_3.c b/gcc/testsuite/gcc.target/i386/l_fma_float_3.c index 177ba352262..9045ce4abe5 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_3.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_3.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_4.c b/gcc/testsuite/gcc.target/i386/l_fma_float_4.c index 8ee68d1af1c..3a552119cb0 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_4.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_4.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_5.c b/gcc/testsuite/gcc.target/i386/l_fma_float_5.c index 23288d0da8e..6e5cbead2dd 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_5.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_5.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_6.c b/gcc/testsuite/gcc.target/i386/l_fma_float_6.c index 07a5fbae317..bf4edcf85d0 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_6.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_6.c @@ -12,7 +12,7 @@ /* { dg-final { scan-assembler-times "vfmsub\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmadd\[123\]+ps" 8 } } */ /* { dg-final { scan-assembler-times "vfnmsub\[123\]+ps" 8 } } */ -/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 120 } } */ -/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 120 } } */ +/* { dg-final { scan-assembler-times "vfmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfmsub\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmadd\[123\]+ss" 184 } } */ +/* { dg-final { scan-assembler-times "vfnmsub\[123\]+ss" 184 } } */ -- 2.30.2