Forums - About Snapdragon 800 series

2 posts / 0 new
Last post
About Snapdragon 800 series
pvrtisrp
Join Date: 28 Sep 13
Posts: 47
Posted: Mon, 2013-09-30 20:33
Hello everyone,
 
I am a beginner to use this compiler. I want to use it to replace GCC 4.8 in NDK.
 
I have some questions:
 
If I want to optimize for Krait 400 CPU, should I set 
 
-mcpu=krait4 ?
 
Would it automatically set neon & vfp?
 
Thank you very much!

 

  • Up0
  • Down0
Raja Moderator
Join Date: 17 Apr 13
Posts: 42
Posted: Tue, 2013-10-01 12:25

 

To compile for Krait4/Snapdraon 800 series, please use -mcpu=krait2. This option covers all variants of Krait cores. This option would not automatically set neon but will set vfp. To compile with Neon support, please specify -mfpu=neon on the command line

Thanks for your question and interest in Snapdragon LLVM

  • Up0
  • Down0
or Register

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.