Re: MacIntel apps behaves weirdly when compiled with -02 not -01 - Almost solved(auto-vectorization issue)
Re: MacIntel apps behaves weirdly when compiled with -02 not -01 - Almost solved(auto-vectorization issue)
- Subject: Re: MacIntel apps behaves weirdly when compiled with -02 not -01 - Almost solved(auto-vectorization issue)
- From: Arvan Pritchard <email@hidden>
- Date: Fri, 13 Jan 2006 12:40:44 +0000
On 13/01/2006 11:39, Olivier Tristan wrote:
I've figured what the problem is, it's the auto vectorization feature of
gcc 4.
When optimization are below -02 , it's not used.
If I disable the auto vectorization, my code works fine again even in -03.
I didn't use it on standard mac as I compile with gcc3 to support 10.2.8.
I really doubt that a I have a bug in my code which is only triggered
with this flag enabled, but still possible however.
Is there a know issue with xcode 2.2/macintel and auto-vectorization ?
I hit a problem (rdar://4375453) that caused an EXC_BAD_INSTRUCTION
exception, possibly related to GCC Bugzilla Bug 19716
"Segfault with -ftree-vectorize"
It was writing instructions that assumed alignment constraints that were
not met, but if you are not getting an access violation it's probably
not the same issue.
Arvan
--
Arvan Pritchard
Informatix Software International Limited
509 Coldhams Lane, Cambridge CB1 3JS, UK
email@hidden
_______________________________________________
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