Commit 36834fe3 by Michael Meissner Committed by Michael Meissner

pr48258-2.c: Simplfy the acceptance conditions to verify the reduction code is vectorized.

2012-11-02  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
	conditions to verify the reduction code is vectorized.

From-SVN: r193107
parent 24551b9c
2012-11-02 Michael Meissner <meissner@linux.vnet.ibm.com> 2012-11-02 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
conditions to verify the reduction code is vectorized.
* gcc.target/powerpc/pr46728-1.c: Pass -fno-ident to eliminate * gcc.target/powerpc/pr46728-1.c: Pass -fno-ident to eliminate
failures in case 'pow', such as 'powerpc' is used in the compiler failures in case 'pow', such as 'powerpc' is used in the compiler
version name. version name.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math -fno-unroll-loops" } */ /* { dg-options "-O3 -mcpu=power7 -mabi=altivec -ffast-math" } */
/* { dg-final { scan-assembler-times "xvadddp" 1 } } */ /* { dg-final { scan-assembler "xvadddp" } } */
/* { dg-final { scan-assembler-times "xvmindp" 1 } } */ /* { dg-final { scan-assembler "xvmindp" } } */
/* { dg-final { scan-assembler-times "xvmaxdp" 1 } } */ /* { dg-final { scan-assembler "xvmaxdp" } } */
/* { dg-final { scan-assembler-times "xsadddp" 1 } } */
/* { dg-final { scan-assembler-times "xsmindp" 1 } } */
/* { dg-final { scan-assembler-times "xsmaxdp" 1 } } */
/* { dg-final { scan-assembler-not "xxsldwi" } } */
/* { dg-final { scan-assembler-not "stvx" } } */
/* { dg-final { scan-assembler-not "stxvd2x" } } */
/* { dg-final { scan-assembler-not "stxvw4x" } } */
#include <stddef.h> #include <stddef.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment