Forums - About Optimization Level

1 post / 0 new
About Optimization Level
pvrtisrp
Join Date: 28 Sep 13
Posts: 47
Posted: Wed, 2013-10-09 06:23

Hello everyone,

I need some hints to use this compiler. I use gcc 4.8 and clang3.3 to build my code with -Ofast level, and get the same and correct result.

If I use this snapdragon LLVM compiler 3.3.1 with -O1 & -O2 still can get correct result, but if I use -O3 or -Ofast will get totally wrong result.

I turn on the warning message suggested by user guide when porting code from gcc to this compiler. I did not get any warning.

Could anyone help me or give me some suggestions to know how to debug it?

Thanks a lot!!!

Cathy

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.