NDK 그룹에 이런글이 올라왔다.

Snapdragon S4 Pro (Nexus 4) very slow


I have a c++ application that I've ported to Android, that uses mostly Integer instructions (and small about of Floating Point).

It is compiled using the r8c NDK (GCC 4.6), and it runs basically as expected on Android with one exception:  Devices using the Snapdragon S4 Pro SoC (ie. Nexus 4).

The speed of the application scales perfectly with the CPU & clock speed on just about every other Android device (ie. Qualcomm MSM 8255 < Tegra 2 < Tegra 3); however, on the Snapdragon S4 Pro SoC (Stock Nexus 4), my application performs about 30% slower than the lowly 1Ghz Cortex-A8 based MSM 8255.  The app is compiled using armeabi-v7a instructions.  I'm at a loss as to why the Snapdragon S4 Pro performs so poorly?

Here is my Application.mk:
APP_ABI := armeabi-v7a
APP_STL := stlport_static
APP_CPPFLAGS += -O3 -fomit-frame-pointer
APP_PLATFORM := android-4
APP_OPTIM := release

Are there any GCC settings for the Qualcomm Snapdragon series that should be enabled/disabled?

'Android > NDK' 카테고리의 다른 글

libcurl for android external  (0) 2013.06.19
Snapdragon S4 Pro (Nexus 4) very slow  (0) 2013.01.03
JNI를 통해서 Device ID 구하기  (0) 2012.09.20
libjnigraphics.so 원 소스 orignal source  (0) 2011.12.13
Posted by Real_G