android - Multiple APK for different ARM CPUs -
i developing app, heavily uses native code , require performance. gcc compiler can optimize code different types of processors: cortex-a9, cortex-a7, cortex-a15, et cetera. armv7 processors don't have neon instructions or implement partially. anyway, gcc knows it.
i want maximum performance on every device. when build application idiv support, application instantly crashes, example, on tegra 2. compiling cortex-a15 gives great perfomance boost, compiled code can't run on cortex-a9.
so there way publish multiple apks not cpu abi, cpu model?
unfortunately can't finer granularity cpu abi.
what can checking cpu features @ runtime using cpufeatures
ndk, , load right library or codepath.
Comments
Post a Comment