iPhone gcc4.2 vectorizer?
iPhone gcc4.2 vectorizer?
- Subject: iPhone gcc4.2 vectorizer?
- From: lbland <email@hidden>
- Date: Wed, 30 Jun 2010 12:40:39 -0400
hi-
I have this:
Xcode 3.2.3
compile for armv7
gcc version 4.2.1 with these flags:
-ftree-vectorize
-ftree-vectorizer-verbose=6
and this loop:
void testvec()
{
int a[128], b[128];
int i;
for(i=0; i< 100; i++)
{
a[i] = b[i] * 5;
}
and the compiler outputs:
note: vectorized 0 loops in function.
that loop seems like it should vectorize, but the compiler states different. Any hints on getting the loop to vectorize?
thanks!-
-lance
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden