aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorUros Bizjak <uros@kss-loka.si>2005-10-03 07:24:08 +0200
committerUros Bizjak <uros@gcc.gnu.org>2005-10-03 07:24:08 +0200
commit41a182c62d6314c2c3c138ebe358da485691f1b7 (patch)
tree10114132af635929addd6f80325683b4a5947f9a /gcc/testsuite/gcc.dg
parent8e52dd26e3a3f576dad58100401775330219f7f5 (diff)
downloadgcc-41a182c62d6314c2c3c138ebe358da485691f1b7.zip
gcc-41a182c62d6314c2c3c138ebe358da485691f1b7.tar.gz
gcc-41a182c62d6314c2c3c138ebe358da485691f1b7.tar.bz2
target-supports.exp (check_effective_target_vect_shift): Implement with result caching.
* lib/target-supports.exp (check_effective_target_vect_shift): Implement with result caching. Add i?86, x86_64 and ia64 targets. (check_effective_target_vect_condition): Fix copy-n-pasto. * gcc.dg/vect/pr22480.c : Enable for effective-target vect_shift. * gcc.dg/vect/vect-shift-1.c: Remove XFAIL for i?86 and x86_64 targets. From-SVN: r104888
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rwxr-xr-xgcc/testsuite/gcc.dg/vect/pr22480.c2
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-shift-1.c7
2 files changed, 2 insertions, 7 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/pr22480.c b/gcc/testsuite/gcc.dg/vect/pr22480.c
index 83f311a..a7e238f 100755
--- a/gcc/testsuite/gcc.dg/vect/pr22480.c
+++ b/gcc/testsuite/gcc.dg/vect/pr22480.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-require-effective-target vect_int } */
+/* { dg-require-effective-target vect_shift } */
void
test_1 (void)
diff --git a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c
index e8b8bc6..7507016 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-shift-1.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-shift-1.c
@@ -3,9 +3,6 @@
#include <stdarg.h>
#include <signal.h>
-#define N 16
-#define MAX 42
-
extern void abort(void);
int main ()
@@ -23,7 +20,5 @@ int main ()
return 0;
}
-
-
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail i?86-*-* x86_64-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */