Forums - LLVM 3.5 is slower in the NDK sample?

1 post / 0 new
LLVM 3.5 is slower in the NDK sample?
dannyYang
Join Date: 21 May 14
Posts: 1
Posted: Wed, 2014-11-05 02:12

I am building a app form NDK Samples (hello-neon)

I am using eclipse to build using NDK.

I have downloaded llvm 3.5 and put it in toolchains folder in ANDROID NDK folder.

Application.mk is as below:

NDK_TOOLCHAIN_VERSION :=snapdragonclang3.5
APP_ABI := armeabi-v7a
NDK_VERSION=r9d
APP_PLATFORM := android-18
APP_STL := gnustl_static
 
It is slower than I change to NDK_TOOLCHAIN_VERSION :=4.8
 
snapdragonclang3.5 is also slower than c version.
 
I test this on HTC M8 (Qualcomm® Snapdragon™ 801)
 
Any Suggestions? 
 
Thank you.
 

 

  • 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.