This fixes some testcases that the last fifteen or so patches broke. In all these cases we no longer need to set VSX_REG_ATTR: the default value of "wa" is correct.
2019-06-04 Segher Boessenkool <seg...@kernel.crashing.org> gcc/testsuite/ * gcc.target/powerpc/direct-move-double1.c (VSX_REG_ATTR): Delete. * gcc.target/powerpc/direct-move-double2.c: Ditto. * gcc.target/powerpc/direct-move-float1.c: Ditto. * gcc.target/powerpc/direct-move-float2.c: Ditto. * gcc.target/powerpc/direct-move-vint1.c: Ditto. * gcc.target/powerpc/direct-move-vint2.c: Ditto. --- gcc/testsuite/gcc.target/powerpc/direct-move-double1.c | 1 - gcc/testsuite/gcc.target/powerpc/direct-move-double2.c | 1 - gcc/testsuite/gcc.target/powerpc/direct-move-float1.c | 1 - gcc/testsuite/gcc.target/powerpc/direct-move-float2.c | 1 - gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c | 1 - gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c | 1 - 6 files changed, 6 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c index 0c00a59..13f0192 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c @@ -11,6 +11,5 @@ #define TYPE double #define IS_FLOAT 1 #define NO_ALTIVEC 1 -#define VSX_REG_ATTR "ws" #include "direct-move.h" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c index dae7e85..23e3423 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-double2.c @@ -10,6 +10,5 @@ #define IS_FLOAT 1 #define NO_ALTIVEC 1 #define DO_MAIN -#define VSX_REG_ATTR "ws" #include "direct-move.h" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c index 14ba21e..63ab591 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float1.c @@ -13,6 +13,5 @@ #define TYPE float #define IS_FLOAT 1 #define NO_ALTIVEC 1 -#define VSX_REG_ATTR "wa" #include "direct-move.h" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c index e24f7fa..666b292 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c @@ -10,6 +10,5 @@ #define IS_FLOAT 1 #define NO_ALTIVEC 1 #define DO_MAIN -#define VSX_REG_ATTR "ww" #include "direct-move.h" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c index 1de15d1..fa9d660 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint1.c @@ -9,6 +9,5 @@ /* Check code generation for direct move for vector types. */ #define TYPE vector int -#define VSX_REG_ATTR "wa" #include "direct-move.h" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c index 8618a55..b813ad4 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c +++ b/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c @@ -8,6 +8,5 @@ #define TYPE vector int #define DO_MAIN -#define VSX_REG_ATTR "wa" #include "direct-move.h" -- 1.8.3.1