From bbe741d0e2c6d5a7247a2a724699f7ba20cb6ad9 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 3 Nov 2015 09:34:42 +0100 Subject: [PATCH] mvc1.c: Move to ... * gcc.dg/mvc1.c: Move to ... * gcc.target/i386/mvc1.c: ... here. Require ifunc. * gcc.dg/mvc2.c: Move to ... * gcc.target/i386/mvc2.c: ... here. * gcc.dg/mvc3.c: Move to ... * gcc.target/i386/mvc3.c: ... here. * gcc.dg/mvc4.c: Move to ... * gcc.target/i386/mvc4.c: ... here. Require ifunc. * gcc.dg/mvc5.c: Move to ... * gcc.target/i386/mvc5.c: ... here. * gcc.dg/mvc6.c: Move to ... * gcc.target/i386/mvc6.c: ... here. * gcc.dg/mvc7.c: Move to ... * gcc.target/i386/mvc7.c: ... here. * g++.dg/ext/mvc1.C: Require ifunc. From-SVN: r229697 --- gcc/testsuite/ChangeLog | 19 +++++++++++++++++++ gcc/testsuite/g++.dg/ext/mvc1.C | 1 + .../{gcc.dg => gcc.target/i386}/mvc1.c | 3 ++- .../{gcc.dg => gcc.target/i386}/mvc2.c | 2 +- .../{gcc.dg => gcc.target/i386}/mvc3.c | 2 +- .../{gcc.dg => gcc.target/i386}/mvc4.c | 3 ++- .../{gcc.dg => gcc.target/i386}/mvc5.c | 2 +- .../{gcc.dg => gcc.target/i386}/mvc6.c | 2 +- .../{gcc.dg => gcc.target/i386}/mvc7.c | 2 +- 9 files changed, 29 insertions(+), 7 deletions(-) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc1.c (83%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc2.c (58%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc3.c (74%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc4.c (82%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc5.c (82%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc6.c (85%) rename gcc/testsuite/{gcc.dg => gcc.target/i386}/mvc7.c (76%) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74a0c1aa0b3..444d4b79f27 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,22 @@ +2015-11-03 Uros Bizjak + + * gcc.dg/mvc1.c: Move to ... + * gcc.target/i386/mvc1.c: ... here. Require ifunc. + * gcc.dg/mvc2.c: Move to ... + * gcc.target/i386/mvc2.c: ... here. + * gcc.dg/mvc3.c: Move to ... + * gcc.target/i386/mvc3.c: ... here. + * gcc.dg/mvc4.c: Move to ... + * gcc.target/i386/mvc4.c: ... here. Require ifunc. + * gcc.dg/mvc5.c: Move to ... + * gcc.target/i386/mvc5.c: ... here. + * gcc.dg/mvc6.c: Move to ... + * gcc.target/i386/mvc6.c: ... here. + * gcc.dg/mvc7.c: Move to ... + * gcc.target/i386/mvc7.c: ... here. + + * g++.dg/ext/mvc1.C: Require ifunc. + 2015-11-02 Alexandre Oliva PR tree-optimization/68083 diff --git a/gcc/testsuite/g++.dg/ext/mvc1.C b/gcc/testsuite/g++.dg/ext/mvc1.C index fbf90116694..ff37238a4e0 100644 --- a/gcc/testsuite/g++.dg/ext/mvc1.C +++ b/gcc/testsuite/g++.dg/ext/mvc1.C @@ -1,4 +1,5 @@ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-ifunc "" } */ __attribute__((target_clones("avx","arch=slm","arch=core-avx2","default"))) int diff --git a/gcc/testsuite/gcc.dg/mvc1.c b/gcc/testsuite/gcc.target/i386/mvc1.c similarity index 83% rename from gcc/testsuite/gcc.dg/mvc1.c rename to gcc/testsuite/gcc.target/i386/mvc1.c index 8e02721c91e..752b3af7469 100644 --- a/gcc/testsuite/gcc.dg/mvc1.c +++ b/gcc/testsuite/gcc.target/i386/mvc1.c @@ -1,4 +1,5 @@ -/* { dg-do run { target i?86-*-* x86_64-*-* } } */ +/* { dg-do run } */ +/* { dg-require-ifunc "" } */ __attribute__((target_clones("avx","arch=slm","arch=core-avx2","default"))) int diff --git a/gcc/testsuite/gcc.dg/mvc2.c b/gcc/testsuite/gcc.target/i386/mvc2.c similarity index 58% rename from gcc/testsuite/gcc.dg/mvc2.c rename to gcc/testsuite/gcc.target/i386/mvc2.c index af0c6f777a0..9635ec83fac 100644 --- a/gcc/testsuite/gcc.dg/mvc2.c +++ b/gcc/testsuite/gcc.target/i386/mvc2.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ __attribute__((target_clones("avx","arch=slm","arch=core-avx2"))) int foo (); diff --git a/gcc/testsuite/gcc.dg/mvc3.c b/gcc/testsuite/gcc.target/i386/mvc3.c similarity index 74% rename from gcc/testsuite/gcc.dg/mvc3.c rename to gcc/testsuite/gcc.target/i386/mvc3.c index 3af3e35b4ec..f940cdbbf55 100644 --- a/gcc/testsuite/gcc.dg/mvc3.c +++ b/gcc/testsuite/gcc.target/i386/mvc3.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ __attribute__((target_clones("avx","arch=slm","arch=core-avx2"))) int foo (); /* { dg-error "default target was not set" } */ diff --git a/gcc/testsuite/gcc.dg/mvc4.c b/gcc/testsuite/gcc.target/i386/mvc4.c similarity index 82% rename from gcc/testsuite/gcc.dg/mvc4.c rename to gcc/testsuite/gcc.target/i386/mvc4.c index 48ec9a163ee..91293c34cca 100644 --- a/gcc/testsuite/gcc.dg/mvc4.c +++ b/gcc/testsuite/gcc.target/i386/mvc4.c @@ -1,4 +1,5 @@ -/* { dg-do run { target i?86-*-* x86_64-*-* } } */ +/* { dg-do run } */ +/* { dg-require-ifunc "" } */ __attribute__((target_clones("default","avx","default"))) int diff --git a/gcc/testsuite/gcc.dg/mvc5.c b/gcc/testsuite/gcc.target/i386/mvc5.c similarity index 82% rename from gcc/testsuite/gcc.dg/mvc5.c rename to gcc/testsuite/gcc.target/i386/mvc5.c index 89001e571ae..0b1981d4ad6 100644 --- a/gcc/testsuite/gcc.dg/mvc5.c +++ b/gcc/testsuite/gcc.target/i386/mvc5.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-options "-fno-inline" } */ /* { dg-final { scan-assembler-times "foo.ifunc" 6 } } */ diff --git a/gcc/testsuite/gcc.dg/mvc6.c b/gcc/testsuite/gcc.target/i386/mvc6.c similarity index 85% rename from gcc/testsuite/gcc.dg/mvc6.c rename to gcc/testsuite/gcc.target/i386/mvc6.c index 16219851398..d584f573328 100644 --- a/gcc/testsuite/gcc.dg/mvc6.c +++ b/gcc/testsuite/gcc.target/i386/mvc6.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-options "-O3" } */ /* { dg-final { scan-assembler "vpshufb" } } */ /* { dg-final { scan-assembler "punpcklbw" } } */ diff --git a/gcc/testsuite/gcc.dg/mvc7.c b/gcc/testsuite/gcc.target/i386/mvc7.c similarity index 76% rename from gcc/testsuite/gcc.dg/mvc7.c rename to gcc/testsuite/gcc.target/i386/mvc7.c index d61d78e4036..efc4b69aa49 100644 --- a/gcc/testsuite/gcc.dg/mvc7.c +++ b/gcc/testsuite/gcc.target/i386/mvc7.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-final { scan-assembler-times "foo.ifunc" 4 } } */ __attribute__((target_clones("avx","default","arch=slm","arch=core-avx2"))) -- 2.30.2