当前位置:网站首页>Understanding the architecture type of mobile CPU
Understanding the architecture type of mobile CPU
2022-07-05 12:02:00 【Back end coder】
mobile phone CPU Understand the architecture type
Android The equipment CPU type , Different Android The equipment uses different CPU, Different CPU Support for different instruction sets
CPU Architecture type | explain |
---|---|
armeabi/mips / mips64 | The first 5 generation 、 The first 6 Generation ARM processor , Early mobile phones used more ,NDK I used to support ARMv5 (armeabi) as well as 32 Bit and 64 position MIPS, but NDK r17 No longer support |
armeabi-v7a | The first 7 Generation and above ARM, this ABI Applicable to 32 position ARM Of CPU processor . |
arm64-v8a | this ABI Applicable to ARMv8-A Of CPU, The first 8 generation 、64 position ARM processor , The current mainstream version |
x86 、x86_64 | intel CPU , Flat 、 Simulator 、64 A bit of a flat |
How to adapt in the project
It only suits armeabi-v7a, If APP Installed on mobile phones with other architectures , Such as arm64-v8a On , Can you jump ?
Can't , But the opposite will happen
because armeabi-v7a and arm64-v8a Will be downward compatible :
Fit only armeabi Of APP Can run in armeabi,x86,x86_64,armeabi-v7a,arm64-v8 Upper fitting only armeabi-v7a Can run in armeabi-v7a and arm64-v8a Fit only arm64-v8a Can run in arm64-v8a On
So how do we fit ? The following schemes are given :
Scheme 1 : Fit only armeabi
advantage : Basically fits all CPU framework ( Except for eliminated mips and mips_64)
shortcoming : Low performance , It is equivalent to the need for assistance on most mobile phones ABI Or dynamic transcoding
Option two : Fit only armeabi-v7a
Similarly, scheme I , Just sifted out some old equipment , Balance performance and compatibility
Option three : Fit only arm64-v8
advantage : Best performance
shortcoming : It can only run on arm64-v8 On , Give up some old equipment users
All three options are OK , Big factories now APP In adaptation , All three , Mostly before 2 Kind of plan . Which one to choose depends on your own considerations , Performance for compatibility arm64-v8, Trade compatibility for performance armeabi, A little balance between the two is armeabi-v7a.
For the moment , Most big factories APP Using all of these armeabi or armeabi-v7a.
边栏推荐
猜你喜欢
【上采样方式-OpenCV插值】
pytorch-权重衰退(weight decay)和丢弃法(dropout)
网络五连鞭
【无标题】
【pytorch 修改预训练模型:实测加载预训练模型与模型随机初始化差别不大】
Check the debug port information in rancher and do idea remote JVM debug
Uniapp + unicloud + Unipay realize wechat applet payment function
Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle
Idea set the number of open file windows
Splunk configuration 163 mailbox alarm
随机推荐
Is investment and finance suitable for girls? What financial products can girls buy?
Pytorch weight decay and dropout
11.(地图数据篇)OSM数据如何下载使用
ABAP table lookup program
[deploy pytoch project through onnx using tensorrt]
Redis master-slave mode
12.(地图数据篇)cesium城市建筑物贴图
splunk配置163邮箱告警
多表操作-子查询
Recyclerview paging slide
The survey shows that traditional data security tools cannot resist blackmail software attacks in 60% of cases
Redirection of redis cluster
Pytorch softmax regression
MySQL statistical skills: on duplicate key update usage
Matlab imoverlay function (burn binary mask into two-dimensional image)
liunx禁ping 详解traceroute的不同用法
Simply solve the problem that the node in the redis cluster cannot read data (error) moved
你做自动化测试为什么总是失败?
Splunk configuration 163 mailbox alarm
调查显示传统数据安全工具在60%情况下无法抵御勒索软件攻击