[4/n] remove wrapv-*.c special-casing of gcc.dg/vect/ files
The following makes -fwrapv explicit. * gcc.dg/vect/vect.exp: Remove special-casing of tests named wrapv-* * gcc.dg/vect/wrapv-vect-7.c: Add dg-additional-options -fwrapv. * gcc.dg/vect/wrapv-vect-reduc-2char.c: Likewise. * gcc.dg/vect/wrapv-vect-reduc-2short.c: Likewise. * gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Likewise. * gcc.dg/vect/wrapv-vect-reduc-pattern-2c.c: Likewise.
This commit is contained in:
parent
a1381b69b9
commit
902f4ee7f1
6 changed files with 12 additions and 14 deletions
|
@ -112,6 +112,13 @@ foreach flags $VECT_ADDITIONAL_FLAGS {
|
|||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/fast-math-\[ipsvc\]*.\[cS\]]] \
|
||||
$flags $DEFAULT_VECTCFLAGS
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/wrapv-*.\[cS\]]] \
|
||||
$flags $DEFAULT_VECTCFLAGS
|
||||
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/fast-math-bb-slp-*.\[cS\]]] \
|
||||
$flags $VECT_SLP_CFLAGS
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/bb-slp*.\[cS\]]] \
|
||||
$flags $VECT_SLP_CFLAGS
|
||||
|
@ -122,20 +129,6 @@ global SAVED_DEFAULT_VECTCFLAGS
|
|||
set SAVED_DEFAULT_VECTCFLAGS $DEFAULT_VECTCFLAGS
|
||||
set SAVED_VECT_SLP_CFLAGS $VECT_SLP_CFLAGS
|
||||
|
||||
# -ffast-math SLP tests
|
||||
set VECT_SLP_CFLAGS $SAVED_VECT_SLP_CFLAGS
|
||||
lappend VECT_SLP_CFLAGS "-ffast-math"
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/fast-math-bb-slp-*.\[cS\]]] \
|
||||
"" $VECT_SLP_CFLAGS
|
||||
|
||||
# -fwrapv tests
|
||||
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
|
||||
lappend DEFAULT_VECTCFLAGS "-fwrapv"
|
||||
et-dg-runtest dg-runtest [lsort \
|
||||
[glob -nocomplain $srcdir/$subdir/wrapv-*.\[cS\]]] \
|
||||
"" $DEFAULT_VECTCFLAGS
|
||||
|
||||
# -ftrapv tests
|
||||
set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
|
||||
lappend DEFAULT_VECTCFLAGS "-ftrapv"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* { dg-additional-options "-fwrapv" } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
/* { dg-add-options bind_pic_locally } */
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* { dg-additional-options "-fwrapv" } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* { dg-additional-options "-fwrapv" } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* { dg-additional-options "-fwrapv" } */
|
||||
/* Disabling epilogues until we find a better way to deal with scans. */
|
||||
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* { dg-additional-options "-fwrapv" } */
|
||||
/* { dg-require-effective-target vect_int } */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue