+2017-05-18 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * fold-vec-div-float.c: Update dg-requires and dg-options statements.
+ * fold-vec-div-floatdouble.c: Likewise.
+ * fold-vec-logical-ands-char.c: Likewise.
+ * fold-vec-logical-ands-int.c: Likewise.
+ * fold-vec-logical-ands-short.c: Likewise.
+ * fold-vec-logical-ors-char.c: Likewise.
+ * fold-vec-logical-ors-int.c: Likewise.
+ * fold-vec-logical-ors-short.c: Likewise.
+ * fold-vec-logical-other-char.c: Likewise.
+ * fold-vec-mule-misc.c: Likewise.
+ * fold-vec-mult-float.c: Likewise.
+ * fold-vec-mult-floatdouble.c: Likewise.
+ * fold-vec-mult-int.c: Likewise.
+ * fold-vec-mult-int128-p9.c: Likewise.
+ * fold-vec-sub-floatdouble.c: Likewise.
+ * fold-vec-div-longlong.c: Update dg-requires and dg-options statements.
+ Add lp64 requirement.
+ * fold-vec-mult-int128-p8.c: Likewise.
+ * fold-vec-logical-ors-longlong.c: Fix comment typo.
+
2017-05-18 Steven Munroe <munroesj@gcc.gnu.org>
* gcc.target/powerpc/bmi-andn-1.c: Fix-up dg-options.
/* Verify that overloaded built-ins for vec_div with float
- inputs produce the right results with -maltivec. */
+ inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx" } */
#include <altivec.h>
/* Verify that overloaded built-ins for vec_div with float and
- double inputs for VSX produce the right results with -mvsx. */
+ double inputs for VSX produce the right results. */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-maltivec" } */
+/* { dg-options "-mvsx" } */
#include <altivec.h>
inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_p8vector_ok } */
-/* { dg-options "-maltivec -mpower8-vector -O3" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target lp64 } */
+/* { dg-options "-mvsx -O2" } */
#include <altivec.h>
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
* with int inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
-
vector signed char
test1_or (vector bool char x, vector signed char y)
{
* with int inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
// Codegen on power7 is such that the vec_or() tests generate more xxlor
// instructions than what is seen on power8 or newer.
-// Thus, an additional target close for the xxlor instruction check.
+// Thus, an additional target clause for the xxlor instruction check.
/* { dg-final { scan-assembler-times {\mxxlor\M} 6 { target p8vector_hw } } } */
/* { dg-final { scan-assembler-times {\mxxlor\M} 24 { target { ! p8vector_hw } } } } */
inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -O1" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx -O1" } */
#include <altivec.h>
* vec_nand) were added as part of ISA 2.07 (P8). */
/* { dg-do compile } */
-/* { dg-require-effective-target p8vector_hw } */
+/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-options "-mpower8-vector -O1" } */
#include <altivec.h>
/* PR target/79941 */
/* { dg-do run } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-mvsx -O2 -save-temps" } */
+/* { dg-require-effective-target powerpc_altivec_ok } */
+/* { dg-options "-maltivec -O2 -save-temps" } */
#include <altivec.h>
inputs produce the right results. */
/* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -mvsx" } */
+/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-options "-mvsx -O2" } */
#include <altivec.h>
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-maltivec -mvsx" } */
+/* { dg-options "-mvsx" } */
#include <altivec.h>
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
-/* { dg-options "-maltivec -mvsx -mpower8-vector" } */
+/* { dg-options "-mpower8-vector" } */
#include <altivec.h>
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-require-effective-target int128 } */
-/* { dg-options "-maltivec -mvsx -mpower8-vector" } */
+/* { dg-require-effective-target lp64 } */
+/* { dg-options "-mpower8-vector" } */
/* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */
#include "altivec.h"
/* { dg-require-effective-target powerpc_float128_hw_ok } */
/* { dg-require-effective-target int128 } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
-/* { dg-options "-maltivec -mvsx -mcpu=power9 -O2" } */
+/* { dg-options "-mcpu=power9 -O2" } */
/* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */
#include "altivec.h"
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_vsx_ok } */
-/* { dg-options "-maltivec -mvsx" } */
+/* { dg-options "-mvsx" } */
#include <altivec.h>