On Tue, 2017-05-30 at 17:26 -0500, Segher Boessenkool wrote:
> On Fri, May 26, 2017 at 10:32:54AM -0500, Steven Munroe wrote:
> > * gcc.target/powerpc/bmi2-pdep32-1.c []: Add -mcpu=power7 to
> > dg-options. Change dg-require-effective-target powerpc_vsx_ok
> > to vsx_hw.
>
> Stray "[]
On Fri, May 26, 2017 at 10:32:54AM -0500, Steven Munroe wrote:
> * gcc.target/powerpc/bmi2-pdep32-1.c []: Add -mcpu=power7 to
> dg-options. Change dg-require-effective-target powerpc_vsx_ok
> to vsx_hw.
Stray "[]"?
> --- gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c (revisi
Bill Seurer pointed out that building the BMI tests on a power8 but with
gcc built --with-cpu=power6 fails with link errors. The intrinsics
_pdep_u64/32 and _pext_u64/32 are guarded with #ifdef _ARCH_PWR7 as the
implementation uses bpermd and popcntd instructions introduced with
power7 (PowerISA-2.