close

對照以前學長做的INTEL SSE2
發現自己手邊有的ARM NEON相關文件太少

所以開始積極收集
所以~一樣
把收到感覺可用的資料先丟這邊好方便以後查找

http://codemaemo.appforce.org/2010/06/arm-neon-instructions/

http://pixhawk.ethz.ch/wiki/omap/neon/memory_hazards


該注意的一件事情 ANDROID Emulator並不支援模擬ARMv7
以下是節錄自我看到的一個討論區:

Q:


I am little bit confused.
I am using Android 2.2/SDK r6/NDK r4.

The General notes of
Android NDK, Revision 4 (May 2010) http://developer.android.com/sdk/ndk/index.html
states :

Adds a new Android-specific ABI for ARM-based CPU architectures, armeabi-v7a. The new ABI extends the existing armeabi ABI to include these CPU instruction set extensions:

  • Thumb-2 instructions

I was thinking that the emulator of  SDK r6 is supposed to emulate armeabi-v7a.
Do you know that is there any plan to emulate armeabi-v7a in the emulator in the near future ?


A:


No, it does not emulate ARMv7 at the moment (there is a subtle bug we've been chasing for several months that prevent this to work reliably).
 We plan to support this as soon as we can, but note that this will require a new kernel / system image though.
So for now, emulator == armeabi, and that's it.  Thanks and regards.

事實證明真是如此,我將sample裡的hello-neon丟到模擬器,指定要用armeabi-v7a裡的.so來當library ( 在Application.mk裡,改APP_ABI := armeabi-v7a),結果在emulator安裝apk時會失敗,後來不信邪安裝到i9000竟然成功了
看來模擬是真沒支援

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 angledark0123 的頭像
    angledark0123

    CONY的世界

    angledark0123 發表在 痞客邦 留言(0) 人氣()