--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Thanks for the tip!
So here's what I did, using your advice:
I created a shell script that runs the assembly command for each of the source files I'm interested in. One line of it looks like this, for example (I'm using Cygwin):
/cygdrive/c/android/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc -fpic -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -IC:/android/android-ndk-r5b/sources//android/cpufeatures -IC:/Android/projects/myproject/jni -DANDROID -DHAVE_NEON=1 -Wa,--noexecstack -O2 -DNDEBUG -g -IC:/android/android-ndk-r5b/platforms/android-8/arch-arm/usr/include -S C:/Android/projects/myproject/jni/myfile.c -o C:/Android/projects/myproject/jni/asm/armeabi-v7a/mylibrary/myfile.s
Now I just have to run this script after making changes to view the assembly.
It still seems a bit complicated though... I was hoping for a simple flag for ndk-build that I might have overlooked. A flag like this could be a useful feature for a future release. To get the most out of NEON, I'm finding it essential to monitor the assembly.
Best,
-c