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!
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