costmodel-vect-iv-9.c: Add noinline attribute to main1().
* gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c: Add noinline attribute to main1(). * gcc.dg/vect/costmodel/spu/costmodel-vect-33.c: Increase the loop bound in order to make it worth to vectorize the loop. * gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Likewise. From-SVN: r137342
This commit is contained in:
parent
7a6942ad82
commit
966308b352
@ -1,3 +1,11 @@
|
||||
2008-07-02 Ira Rosen <irar@il.ibm.com>
|
||||
|
||||
* gcc.dg/vect/costmodel/spu/costmodel-vect-iv-9.c: Add noinline
|
||||
attribute to main1().
|
||||
* gcc.dg/vect/costmodel/spu/costmodel-vect-33.c: Increase the loop
|
||||
bound in order to make it worth to vectorize the loop.
|
||||
* gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Likewise.
|
||||
|
||||
2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/36676
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <stdarg.h>
|
||||
#include "../../tree-vect.h"
|
||||
|
||||
#define N 16
|
||||
#define N 17
|
||||
struct test {
|
||||
char ca[N];
|
||||
};
|
||||
|
@ -3,20 +3,20 @@
|
||||
#include <stdarg.h>
|
||||
#include "../../tree-vect.h"
|
||||
|
||||
#define N 8
|
||||
#define N 16
|
||||
#define OFF 4
|
||||
|
||||
/* Check handling of accesses for which the "initial condition" -
|
||||
the expression that represents the first location accessed - is
|
||||
more involved than just an ssa_name. */
|
||||
|
||||
int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10};
|
||||
int ib[N+OFF] __attribute__ ((__aligned__(16))) = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 0, 1, 3, 5, 7, 11, 13, 17};
|
||||
|
||||
int main1 (int *pib)
|
||||
{
|
||||
int i;
|
||||
int ia[N+OFF];
|
||||
int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10};
|
||||
int ic[N+OFF] = {0, 1, 3, 5, 7, 11, 13, 17, 0, 2, 6, 10, 0, 1, 3, 5, 7, 11, 13, 17};
|
||||
|
||||
for (i = OFF; i < N; i++)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define N 26
|
||||
int a[N];
|
||||
|
||||
int main1 (int X)
|
||||
__attribute__ ((noinline)) int main1 (int X)
|
||||
{
|
||||
int s = X;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user