From ca72ad5cf7c7426dce44a7d5c5b6512649562712 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Wed, 5 Jun 2019 01:38:35 +0200 Subject: [PATCH] rs6000: Update direct-move* testcases 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. 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. From-SVN: r271940 --- gcc/testsuite/ChangeLog | 9 +++++++++ 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 - 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a359d12d0f5..ac3e176a8f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2019-06-04 Segher Boessenkool + + * 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. + 2019-06-04 Segher Boessenkool * gcc.target/powerpc/direct-move-float1.c: Use "wa" instead of "ww" diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c b/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c index 0c00a59d183..13f01921869 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 dae7e857d12..23e3423ead7 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 14ba21eac99..63ab59167c8 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 e24f7fa9819..666b2921fdc 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 1de15d15ab2..fa9d6606242 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 8618a5513e2..b813ad4e2f6 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" -- 2.30.2