when compiling --with-cpu=power6.
2017-05-31 Steven Munroe <munroesj@gcc.gnu.org>
* gcc.target/powerpc/bmi2-pdep32-1.c: Add -mcpu=power7 to
dg-options. Change dg-require-effective-target powerpc_vsx_ok
to vsx_hw. Add dg-skip-if directive to disable this test if
-mcpu overridden.
* gcc.target/powerpc/bmi2-pdep64-1.c: Likewise.
* gcc.target/powerpc/bmi2-pext32-1.c: Likewise.
* gcc.target/powerpc/bmi2-pext64-1.c: Likewise.
* gcc.target/powerpc/bmi2-pext64-1a.c: Add -mcpu=power7
to dg-option. Add dg-skip-if directive to disable this test
for darwin. Add dg-skip-if directive to disable this test if
-mcpu overridden.
From-SVN: r248766
+2017-05-31 Steven Munroe <munroesj@gcc.gnu.org>
+
+ * gcc.target/powerpc/bmi2-pdep32-1.c: Add -mcpu=power7 to
+ dg-options. Change dg-require-effective-target powerpc_vsx_ok
+ to vsx_hw. Add dg-skip-if directive to disable this test if
+ -mcpu overridden.
+ * gcc.target/powerpc/bmi2-pdep64-1.c: Likewise.
+ * gcc.target/powerpc/bmi2-pext32-1.c: Likewise.
+ * gcc.target/powerpc/bmi2-pext64-1.c: Likewise.
+ * gcc.target/powerpc/bmi2-pext64-1a.c: Add -mcpu=power7
+ to dg-option. Add dg-skip-if directive to disable this test
+ for darwin. Add dg-skip-if directive to disable this test if
+ -mcpu overridden.
+
2017-05-31 Sebastian Peryt <sebastian.peryt@intel.com>
* gcc.target/i386/avx512f-vmaxsd-1.c (_mm_mask_max_sd)
/* { dg-do run } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mcpu=power7" } */
/* { dg-require-effective-target lp64 } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target vsx_hw } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
#define NO_WARN_X86_INTRINSICS 1
#include <x86intrin.h>
/* { dg-do run } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mcpu=power7" } */
/* { dg-require-effective-target lp64 } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target vsx_hw } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
#define NO_WARN_X86_INTRINSICS 1
#include <x86intrin.h>
/* { dg-do run } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mcpu=power7" } */
/* { dg-require-effective-target lp64 } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target vsx_hw } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
#define NO_WARN_X86_INTRINSICS 1
#include <x86intrin.h>
/* { dg-do run } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mcpu=power7" } */
/* { dg-require-effective-target lp64 } */
-/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-require-effective-target vsx_hw } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
#define NO_WARN_X86_INTRINSICS 1
#include <x86intrin.h>
/* { dg-do compile } */
-/* { dg-options "-O3" } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
+/* { dg-options "-O3 -mcpu=power7" } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target powerpc_vsx_ok } */
+/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
#define NO_WARN_X86_INTRINSICS 1
#include <x86intrin.h>