pr33426-ivdep.cc: Use dg-options.
2013-10-25 Tobias Burnus <burnus@net-b.de> * g++.dg/vect/pr33426-ivdep.cc: Use dg-options. * gfortran.dg/vect/vect-do-concurrent-1.f90: Ditto. * testsuite/gcc.dg/vect/vect-ivdep-1.c: Ditto. From-SVN: r204074
This commit is contained in:
parent
42917d01c0
commit
f5d368b68d
4 changed files with 15 additions and 9 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-10-25 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* g++.dg/vect/pr33426-ivdep.cc: Use dg-options.
|
||||
* gfortran.dg/vect/vect-do-concurrent-1.f90: Ditto.
|
||||
* testsuite/gcc.dg/vect/vect-ivdep-1.c: Ditto.
|
||||
|
||||
2013-10-25 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||
|
||||
* gcc.dg/wmul-1.c: New test.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target vect_float } */
|
||||
/* { dg-options "-O3 -fopt-info-vec-optimized" } */
|
||||
/* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
|
||||
|
||||
/* PR other/33426 */
|
||||
/* Testing whether #pragma ivdep is working. */
|
||||
|
@ -14,6 +14,6 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) {
|
|||
}
|
||||
|
||||
/* { dg-message "loop vectorized" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus "version" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus "alias" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus " version" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus " alias" "" { target *-*-* } 0 } */
|
||||
/* { dg-final { cleanup-tree-dump "vect" } } */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target vect_float } */
|
||||
/* { dg-options "-O3 -fopt-info-vec-optimized" } */
|
||||
/* { dg-additional-options "-O3 -fopt-info-vec-optimized" } */
|
||||
|
||||
/* PR other/33426 */
|
||||
/* Testing whether #pragma ivdep is working. */
|
||||
|
@ -14,6 +14,6 @@ void foo(int n, int *a, int *b, int *c, int *d, int *e) {
|
|||
}
|
||||
|
||||
/* { dg-message "loop vectorized" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus "version" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus "alias" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus " version" "" { target *-*-* } 0 } */
|
||||
/* { dg-bogus " alias" "" { target *-*-* } 0 } */
|
||||
/* { dg-final { cleanup-tree-dump "vect" } } */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
! { dg-do compile }
|
||||
! { dg-require-effective-target vect_float }
|
||||
! { dg-options "-O3 -fopt-info-vec-optimized" }
|
||||
! { dg-additional-options "-O3 -fopt-info-vec-optimized" }
|
||||
|
||||
subroutine test(n, a, b, c)
|
||||
integer, value :: n
|
||||
|
@ -12,6 +12,6 @@ subroutine test(n, a, b, c)
|
|||
end subroutine test
|
||||
|
||||
! { dg-message "loop vectorized" "" { target *-*-* } 0 }
|
||||
! { dg-bogus "version" "" { target *-*-* } 0 }
|
||||
! { dg-bogus "alias" "" { target *-*-* } 0 }
|
||||
! { dg-bogus " version" "" { target *-*-* } 0 }
|
||||
! { dg-bogus " alias" "" { target *-*-* } 0 }
|
||||
! { dg-final { cleanup-tree-dump "vect" } }
|
||||
|
|
Loading…
Add table
Reference in a new issue