summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-03 05:24:08 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-03 05:24:08 +0000
commite1e3944758567303042726f87a25bf01e369dea1 (patch)
tree10114132af635929addd6f80325683b4a5947f9a /gcc/testsuite/gcc.dg
parent42cb9f7ba99a1104e90b180456133739a85914e1 (diff)
downloadgcc-e1e3944758567303042726f87a25bf01e369dea1.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104888 138bc75d-0d04-0410-961f-82ee72b054a4
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 83f311aa266..a7e238f2271 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 e8b8bc6befc..75070166aae 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" } } */