diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-17 23:47:21 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-17 23:47:21 +0000 |
commit | 0e0971c012373e31ba0e4d8c9ab05a009cdbd17e (patch) | |
tree | 4c09b68e921301aa91303cfde6081930ace4f46a /gcc/testsuite/gcc.dg/vect/vect-20.c | |
parent | 8a9d312bef9445ca5d5f92bfb2c101793f9151ec (diff) | |
download | gcc-0e0971c012373e31ba0e4d8c9ab05a009cdbd17e.tar.gz |
* lib/target-supports.exp (check_effective_target_vect_int): New
(check_effective_target_vect_float): New
(check_effective_target_vect_double): New.
(is-effective-target): Support new effective targets keywords.
* gcc.dg/vect/vect.exp: Set target-dependent vector flags and
default action for dg-do.
* gcc.dg/vect/pr16105.c: Use new support.
* gcc.dg/vect/pr18400.c: Ditto.
* gcc.dg/vect/pr18425.c: Ditto.
* gcc.dg/vect/vect-1.c: Ditto.
* gcc.dg/vect/vect-10.c: Ditto.
* gcc.dg/vect/vect-11.c: Ditto.
* gcc.dg/vect/vect-12.c: Ditto.
* gcc.dg/vect/vect-13.c: Ditto.
* gcc.dg/vect/vect-14.c: Ditto.
* gcc.dg/vect/vect-15.c: Ditto.
* gcc.dg/vect/vect-16.c: Ditto.
* gcc.dg/vect/vect-17.c: Ditto.
* gcc.dg/vect/vect-18.c: Ditto.
* gcc.dg/vect/vect-19.c: Ditto.
* gcc.dg/vect/vect-2.c: Ditto.
* gcc.dg/vect/vect-20.c: Ditto.
* gcc.dg/vect/vect-21.c: Ditto.
* gcc.dg/vect/vect-22.c: Ditto.
* gcc.dg/vect/vect-23.c: Ditto.
* gcc.dg/vect/vect-24.c: Ditto.
* gcc.dg/vect/vect-25.c: Ditto.
* gcc.dg/vect/vect-26.c: Ditto.
* gcc.dg/vect/vect-27.c: Ditto.
* gcc.dg/vect/vect-27a.c: Ditto.
* gcc.dg/vect/vect-28.c: Ditto.
* gcc.dg/vect/vect-29.c: Ditto.
* gcc.dg/vect/vect-29a.c: Ditto.
* gcc.dg/vect/vect-3.c: Ditto.
* gcc.dg/vect/vect-30.c: Ditto.
* gcc.dg/vect/vect-31.c: Ditto.
* gcc.dg/vect/vect-32.c: Ditto.
* gcc.dg/vect/vect-33.c: Ditto.
* gcc.dg/vect/vect-34.c: Ditto.
* gcc.dg/vect/vect-35.c: Ditto.
* gcc.dg/vect/vect-36.c: Ditto.
* gcc.dg/vect/vect-37.c: Ditto.
* gcc.dg/vect/vect-38.c: Ditto.
* gcc.dg/vect/vect-4.c: Ditto.
* gcc.dg/vect/vect-40.c: Ditto.
* gcc.dg/vect/vect-41.c: Ditto.
* gcc.dg/vect/vect-42.c: Ditto.
* gcc.dg/vect/vect-43.c: Ditto.
* gcc.dg/vect/vect-44.c: Ditto.
* gcc.dg/vect/vect-45.c: Ditto.
* gcc.dg/vect/vect-46.c: Ditto.
* gcc.dg/vect/vect-47.c: Ditto.
* gcc.dg/vect/vect-48.c: Ditto.
* gcc.dg/vect/vect-48a.c: Ditto.
* gcc.dg/vect/vect-49.c: Ditto.
* gcc.dg/vect/vect-5.c: Ditto.
* gcc.dg/vect/vect-50.c: Ditto.
* gcc.dg/vect/vect-51.c: Ditto.
* gcc.dg/vect/vect-52.c: Ditto.
* gcc.dg/vect/vect-53.c: Ditto.
* gcc.dg/vect/vect-54.c: Ditto.
* gcc.dg/vect/vect-55.c: Ditto.
* gcc.dg/vect/vect-56.c: Ditto.
* gcc.dg/vect/vect-56a.c: Ditto.
* gcc.dg/vect/vect-57.c: Ditto.
* gcc.dg/vect/vect-58.c: Ditto.
* gcc.dg/vect/vect-59.c: Ditto.
* gcc.dg/vect/vect-6.c: Ditto.
* gcc.dg/vect/vect-60.c: Ditto.
* gcc.dg/vect/vect-61.c: Ditto.
* gcc.dg/vect/vect-62.c: Ditto.
* gcc.dg/vect/vect-63.c: Ditto.
* gcc.dg/vect/vect-64.c: Ditto.
* gcc.dg/vect/vect-65.c: Ditto.
* gcc.dg/vect/vect-66.c: Ditto.
* gcc.dg/vect/vect-67.c: Ditto.
* gcc.dg/vect/vect-68.c: Ditto.
* gcc.dg/vect/vect-69.c: Ditto.
* gcc.dg/vect/vect-7.c: Ditto.
* gcc.dg/vect/vect-72.c: Ditto.
* gcc.dg/vect/vect-72a.c: Ditto.
* gcc.dg/vect/vect-73.c: Ditto.
* gcc.dg/vect/vect-74.c: Ditto.
* gcc.dg/vect/vect-75.c: Ditto.
* gcc.dg/vect/vect-76.c: Ditto.
* gcc.dg/vect/vect-77.c: Ditto.
* gcc.dg/vect/vect-77a.c: Ditto.
* gcc.dg/vect/vect-78.c: Ditto.
* gcc.dg/vect/vect-79.c: Ditto.
* gcc.dg/vect/vect-8.c: Ditto.
* gcc.dg/vect/vect-80.c: Ditto.
* gcc.dg/vect/vect-82.c: Ditto.
* gcc.dg/vect/vect-82_64.c: Ditto.
* gcc.dg/vect/vect-83.c: Ditto.
* gcc.dg/vect/vect-83_64.c: Ditto.
* gcc.dg/vect/vect-9.c: Ditto.
* gcc.dg/vect/vect-all.c: Ditto.
* gcc.dg/vect/vect-none.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90831 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/vect-20.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-20.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-20.c b/gcc/testsuite/gcc.dg/vect/vect-20.c index 8cd5e73651e..1f98606557f 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-20.c @@ -1,9 +1,4 @@ -/* { dg-do run { target powerpc*-*-* } } */ -/* { dg-do run { target i?86-*-* x86_64-*-* } } */ -/* { dg-do run { target sparc*-*-* } } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec" { target powerpc*-*-* } } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -msse2" { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -mcpu=ultrasparc -mvis" { target sparc*-*-* } } */ +/* { dg-require-effective-target vect_int } */ #include <stdarg.h> #include "tree-vect.h" @@ -100,4 +95,6 @@ int main (void) return main1 (); } +/* These fail to vectorize on targets that don't have or model vector + bitwise operations. */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" {xfail i?86-*-* x86_64-*-*} } } */ |