]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Change AArch64 specific FMAX/FMIN tests into generic MAX_EXPR/MIN_EXPR tests
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 22 Aug 2018 15:12:05 +0000 (15:12 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 22 Aug 2018 15:12:05 +0000 (15:12 +0000)
gfortran now always uses MAX_EXPR/MIN_EXPR for MAX/MIN intrinsics, so the
AArch64 specific FMAX/FMIN tests are no longer valid.

2018-08-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* gfortran.dg/max_fmax_aarch64.f90: Rename to...
* gfortran.dg/max_expr.f90: ...this.
* gfortran.dg/min_fmin_aarch64.f90: Rename to...
* gfortran.dg/min_expr.f90: ...this.

From-SVN: r263778

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/max_expr.f90 [moved from gcc/testsuite/gfortran.dg/max_fmax_aarch64.f90 with 74% similarity]
gcc/testsuite/gfortran.dg/min_expr.f90 [moved from gcc/testsuite/gfortran.dg/min_fmin_aarch64.f90 with 74% similarity]

index 55312e89897356265b536e5e2766171f478da6d8..078810eeb6fc343d93b7e52b49b5ee1f90fae434 100644 (file)
@@ -1,3 +1,10 @@
+2018-08-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * gfortran.dg/max_fmax_aarch64.f90: Rename to...
+       * gfortran.dg/max_expr.f90: ...this.
+       * gfortran.dg/min_fmin_aarch64.f90: Rename to...
+       * gfortran.dg/min_expr.f90: ...this.
+
 2018-08-22  Richard Sandiford  <richard.sandiford@arm.com>
 
        PR tree-optimization/86725
similarity index 74%
rename from gcc/testsuite/gfortran.dg/max_fmax_aarch64.f90
rename to gcc/testsuite/gfortran.dg/max_expr.f90
index b818241a1f9aa7018efaf300cfecb70f413b7573..c00ad62f744ffd2b4f258b3611e6d10d3bcf95e3 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do compile { target aarch64*-*-* } }
+! { dg-do compile }
 ! { dg-options "-O2 -fdump-tree-optimized" }
 
 subroutine foo (a, b, c, d, e, f, g, h)
@@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h)
 end subroutine
 
 
-! { dg-final { scan-tree-dump-times "\.FMAX " 14 "optimized" } }
+! { dg-final { scan-tree-dump-times "MAX_EXPR " 14 "optimized" } }
similarity index 74%
rename from gcc/testsuite/gfortran.dg/min_fmin_aarch64.f90
rename to gcc/testsuite/gfortran.dg/min_expr.f90
index 009869b497df7737089971e00c01e1c29c0a3032..5f32d5073c9d96c84d931a5f8663524dbcbcb6fb 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do compile { target aarch64*-*-* } }
+! { dg-do compile }
 ! { dg-options "-O2 -fdump-tree-optimized" }
 
 subroutine foo (a, b, c, d, e, f, g, h)
@@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h)
   a = min (a, b, c, d, e, f, g, h)
 end subroutine
 
-! { dg-final { scan-tree-dump-times "\.FMIN " 14 "optimized" } }
+! { dg-final { scan-tree-dump-times "MIN_EXPR " 14 "optimized" } }