Commit a7e3f29b by Bin Cheng Committed by Bin Cheng

re PR testsuite/66720 (gcc.dg/vect/pr48052.c FAILs)


	PR tree-optimization/66720
	* gcc.dg/vect/pr48052.c: Use dg-require-effective-target
	vect_int_mult.

From-SVN: r225443
parent a07f64a6
2015-07-06 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/66720
* gcc.dg/vect/pr48052.c: Use dg-require-effective-target
vect_int_mult.
2015-07-05 Chung-Lin Tang <cltang@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
......
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */
/* { dg-require-effective-target vect_int_mult } */
int foo(int* A, int* B, unsigned start, unsigned BS)
{
int s;
int s = 0;
for (unsigned k = start; k < start + BS; k++)
{
s += A[k] * B[k];
......@@ -14,7 +14,7 @@ int foo(int* A, int* B, unsigned start, unsigned BS)
int bar(int* A, int* B, unsigned BS)
{
int s;
int s = 0;
for (unsigned k = 0; k < BS; k++)
{
s += A[k] * B[k];
......
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