I am developing Android x86 based frameweork for Intel Atom Processor. I have implemented the entire framework, but I am facing problems with the SIMD implementation for my code. When I run the basic C code, it gives a considerable performance same on the emulator as well as the hardware, however, when I enable the intrinsics option for the code, there is no actual gain but a negligible loss in performance. I have run my code on Intel i7 processor, there is approximately 200% gain. I certainly take into consideration the frequency & number of cores that a PC and a tablet utilizes but still there should be some gain when I enable SIMD code on the Android framework.
Possible problems which I have analyzed so far:
1) Local C flags(can anyone suggest suitable C flags for Intel Atom Processor).
2) Is it advisable to use .so file instead of the source code in the framework.
3) Suitable NDK for Intel Atom, I am using 4.8.
4) Optimization level should be set to O2 or O3.
If there are any other reasons that may hinder the performance, please let me know.
Thank you in advance.
↧
Intel Intrinsics Performance Degrade on Android Framework
↧