• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhone gcc4.2 vectorizer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Strange exception failure with LLVM & Xcode 3.2.3; debugging C++ typeinfo checks
  • Next by Date: Re: Xcode drives kernel_task insane
  • Previous by thread: Strange exception failure with LLVM & Xcode 3.2.3; debugging C++ typeinfo checks
  • Next by thread: Re: gdb crash
  • Index(es):
    • Date
    • Thread